powered by
This function calculates the Poisson distribution probability.
poisson_(k = NULL, lam = NULL, learn = FALSE, interactive = FALSE)
The Poisson probability (for non-interactive mode)
Optional number of occurrences (not needed for interactive mode)
Optional expected value lambda (not needed for interactive mode)
Logical, if TRUE shows step-by-step explanation
Logical, if TRUE enables interactive practice mode
lam <- 2 k <- 3 # Simple calculation poisson_(k, lam) # Learning mode poisson_(k, lam, learn = TRUE) # Interactive mode if(interactive()){ poisson_(interactive = TRUE) }
Run the code above in your browser using DataLab