R simulations
GOAL: simulate data for testing.
Simulation of throwing a dice 4 times:
sample(1:6, 4, replace = TRUE)
Replaced = TRUE insert the data after each launch.You can set up the probability of each event.Es. throw a coin 100 times with 30% tails probabili...
massyfigini.hashnode.dev2 min read