Join Nostr
2024-12-19 20:06:01 UTC
in reply to

Olivier Leroy on Nostr: can we have the "pedantic_coin" package (just one function): coin <- function() { if ...

can we have the "pedantic_coin" package (just one function):

coin <- function() {
if (rbinom(1 ,1, .5) == 0) "head" else "tails"
}