swirl
swirl copied to clipboard
Simulation: T is not recognised as TRUE by swirl
Entered command wasn't recognised as correct due to T shorthand:
flips <- sample(c(0,1), 100, replace = T, prob = c(0.3, 0.7))
After changing to fully spelled TRUE, the comand was accepted as correct.