Description Usage Arguments Value See Also Examples
This functions generates a dataset with desired parameters (number of
individuals and number of observations per individual, number of variables
and covariance between variables, individuality). Unlike for the function
GenerateUnivariate
, trait means are not customizable and are always set to 0.
1 | GenerateMultivariate(nindivs, nobs, nvars, covar, individuality)
|
nindivs |
Indicates how many individuals should be in dataset |
nobs |
Indicates how many observations per individual should be in dataset |
nvars |
Indicates how many trait variables should be in dataset. |
covar |
Indicates covariance between variables in dataset. covar=0 for uncorrelated variables; covar=1 for fully correlated variables |
individuality |
Indicates the ratio of between to within individual variation in each trait variable. |
Data frame with the identity codes in the first column and trait variables in subsequent columns. Number of rows and columns depends on the parameters used to generate dataset.
Other Operations with datasets: GenerateUnivariate
1 | id1 <- GenerateMultivariate(nindivs=10, nobs=10, nvars=2, covar=0, individuality=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.