computeExperimental: Compute Experimental CMSE Elements

Description Usage Arguments Value

View source: R/CMSE.R

Description

Computes c.experimental and a.experimental values for the CMSE computation.

Usage

1
2
3
4
5
6
7
computeExperimental(
  dataset,
  intervention,
  posttest,
  outcomes,
  covariates = NULL
)

Arguments

dataset

the actual data as a data frame or mxDataStatic object

intervention

character string containing the name of the intervention column

posttest

character string containing the name of the posttest outcome

outcomes

character vector including names of all additional outcomes

covariates

character vector including the names of all covariates to be included

Value

a list containing elements: - '$a' contains the experimentally-determined effect of the intervention on posttest - '$c' contains a named list of all outcomes; each outcome contains the experimentally-determined effect of the intervention on that outcome


trbrick/CMSE documentation built on March 17, 2021, 4:15 a.m.