Description Usage Arguments Value Examples
View source: R/CorrelatedDataSimulationFunction.R
This function simulates a population of deer males where reproductive success is correlated with body size
1 2 3 4 5 6 | CorrelatedDataSimulationFunction(
N = 100,
CorrelationCoefficient = 0.83,
MaleMeanBodyWeight = 125,
MaleReproductiveSuccess = 3
)
|
N |
the number of individuals in the simulated population |
CorrelationCoefficient |
the correlation value of the two variables |
MaleMeanBodyWeight |
mean body weight of males in the population |
MaleReproductiveSuccess |
mean male reproductice success |
a dataframe
1 2 | CorrelatedDataSimulationFunction(N=5,CorrelationCoefficient= 0.45,
MaleMeanBodyWeight = 125,MaleReproductiveSuccess = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.