Chris Black
infotroph@toot.cat
<p>Carbon cycle science, soil models, <a href="https://toot.cat/tags/RStats" class="mention hashtag" rel="tag">#<span>RStats</span></a>, dadposting, food, cats, equity, active transit</p>
Posts
-
Post #2047462
Kindergartner has demanded I make an “envelope with pockets” to send two letters at once to their cousin. Apparently having the pages touch each other in one compartment will simply not do.
-
Post #2047461
My only topical take for today is that “undoing a 600% increase is an 85.7% decrease” being arithmetically true does not stop it from being a great example of why to avoid percentages if you want to be understood.
-
Post #2047460
OK #RStats, can I conditionally use an imported function if it&#39;s available without check complaining in cases it isn’t? My use case: styling with `element_geom` if user has a new enough ggplot2, skipping it if not Conditioning on package version appears to _run_ correctly for all ggplot versions… ``` if (packageVersion(“ggplot2”) &gt;= “4.0.0” ) { foo &lt;- ggplot2::theme(…, geom = ggplot2::element_geom(…), …) } else { foo &lt;- ggplot2::theme(…, …) }} ``` …but runnin...
-
Post #2047459
Today in inevitably turning into one’s parents: Wander around the house singing half-verses of John Prine songs ✅
-
Post #2047458
Had a long, baffling back-and-forth with my 5yo that opened with a demand to print out my entire Git history on paper and ended with them happily playing restaurant using a one-page printout of a decade-old Taco Bell menu, thereby reminding us all that negotiation only works if all parties understand what they want.
-
Post #2047457
P sure this farmers’ market vendor just inaugurated the customer ahead of me as a regular: “Nah, it’s fine, bring an extra $3 next week. You’ll remember, I won’t.”