GenerateUnivariate {IDmeasurer}R Documentation

Generate dataset with a single individual identity trait

Description

This functions generates a dataset with desired parameters (number of individuals and number of observations per individual, mean of the parameter, individuality).

Usage

GenerateUnivariate(nindivs, nobs, betweenM, individuality)

Arguments

nindivs

Indicates how many individuals should be in dataset

nobs

Indicates how many observations per individual should be in dataset

betweenM

Indicates the mean value of the trait.

individuality

Indicates the ratio of between to within individual variation.

Value

Data frame with two columns. Identity codes are in the first column and the trait values are in the second column.

See Also

Other Operations with datasets: GenerateMultivariate

Examples

GenerateUnivariate(nindivs=10, nobs=10, betweenM=1000, individuality=2)


[Package IDmeasurer version 1.0.0 Index]