cfd.example.data: Example Data for the cfdecomp package

Description Usage Format

Description

A dataframe with artificially generated data, intended to be used in a demonstration of the functions in this package.

Usage

1

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


cfdecomp documentation built on May 2, 2020, 1:06 a.m.