powered by
Random data that can be used for unit-testing or teaching
create_data_esoteric(obs = 1000, add_id = FALSE, seed = 123)
A dataset as tibble
Number of observations
Add an id-variable to data?
Seed for randomization
Variables in dataset:
id = Identifier
starsign = random starsign
chinese = random chinese zodiac
moon = random moon phase
blood = random blood type
fingers_crossed = random fingers crossed (1 = yes, 0 = no)
success = random success (1 = yes, 0 = no)
create_data_esoteric(obs = 100)
Run the code above in your browser using DataLab