cfd.example.data {cfdecomp} | R Documentation |
Example Data for the cfdecomp package
Description
A dataframe with artificially generated data, intended to be used in a demonstration of the functions in this package.
Usage
cfd.example.data
Format
a dataframe with 6 columns, which are:
- SES
a factor variable with 3 levels, denoting three groups to be compared. SES stands for socio-economic status.
- age
a continuous variable going from 40 to 65. Age could stand for age in years.
- med.gauss
a mediator that is a continuous variable and normally distributed.
- med.binom
a mediator that is binomial.
- med.pois
a mediator that is a count variable and poisson distributed.
- out.gauss
an outcome that is a continuous variable and normally distributed.
- id
a variable with cluster id information
[Package cfdecomp version 0.4.0 Index]