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