View source: R/dataSimulation.R
simDat4 | R Documentation |
Simulate body mass measurements for n peregrine falcons from a normal distribution with population mean = 'mean' and population sd = 'sd'
simDat4(n = 10, mean = 600, sd = 30)
n |
The sample size |
mean |
Population mean |
sd |
Population standard deviation |
A list of simulated data and parameters.
n |
Sample size |
mean |
Population mean |
sd |
Population SD |
y |
Simulated peregrine mass measurements |
Marc Kéry
str(dat <- simDat4()) # Implicit default arguments
str(dat <- simDat4(n = 10^6)) # More than the world population of peregrines
str(dat <- simDat4(n = 10, mean = 900, sd = 40)) # Simulate 10 female peregrines
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.