Learn R Programming

VIGoR (version 1.1.5)

Z: An example of fixed effects (explanatory variables)

Description

An example of fixed effects for 500 samples. The effect consists of three levels, "A", "B", and "C.

Arguments

Details

Compared with the mean of "A", the mean of "B" is 3 lower and the mean of "C" is 3 higher.

See Also

Y, X

Examples

Run this code
data(sampledata)
dim(Z) #500 samples and 1 effect
unique(Z) #"A", "B", and "C"

Run the code above in your browser using DataLab