eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

212
active users

#rstats

76 posts67 participants5 posts today

Bleeding edge update for the #tidyverse purrr package. We've been working to make #rstats parallel maps even more seamless.

Introducing our shiniest new adverb: `in_parallel()`. Just wrap your function with it to take advantage of blazing fast parallel processing via mirai.

Utilise multiple cores on your own machine or distribute workloads across the network.

Please help us by testing it out! Install the pkg dev version via:

pak::pak("tidyverse/purrr")

purrr.tidyverse.org/dev/

purrr.tidyverse.orgFunctional Programming ToolsA complete and consistent functional programming toolkit for R.
Continued thread

Twilight support!

One of my favorite things is finding a methods paper (here, atmospheric rendering), implementing it, thinking to myself "Man, it would be nice if the method supported XYZ!", and then finding that the paper implementing XYZ was released fairly recently. Truly surfing the crest of human knowledge!

#RStats dev diary:

Writing a little tool to help me make graphviz "dot" diagrams.

This is so I can make pretty pictures to visualise deeply nested R objects - even those with possibly circular references.

Test code outputs an edge for every consecutive word pair in the nursery rhyme "Mary had a little lamb"

Hey #rstats fam, I am in over my head!

I am working on this package (codeberg.org/drdcarpenter/UTre) that has functions that take a tree species as a string and a number and returns a prediction.

At the moment, it is not vectorised, such that providing three trees and three numbers, it returns a prediction for each tree species for each number. E.g. if I provide three species and a height for each, I will get three height predictions for each species.

Which is not desirable, but I am stuck!

Summary card of repository drdcarpenter/UTreeAllometrics
Codeberg.orgUTreeAllometricsSingle-parameter allometric equations for UK urban trees