prepare_sample: Compute the paths coefficients for analayses of moderated...

Description Usage Arguments Value References

View source: R/prepare_sample.R

Description

Compute the paths coefficients for analayses of moderated mediations.

Usage

1
prepare_sample(sample, md_imputation, md_method, size)

Arguments

sample

Tibble. Table containing the data.

md_imputation

Character. Kind of imputation ("multiple","single","deletion")

md_method

Character. Method for the imputation of missing data ("pmm", "mean", "sample", "deletion").

size

Integer. Size of the sample for each draw. If NA, use the sample size.

Value

A tibble gathering the regression coefficients for each draw.

References

Arne Henningsen and Jeff D. Hamann (2007). systemfit: A Package for Estimating Systems of Simultaneous Equations in R. Journal of Statistical Software 23(4), 1-40. http://www.jstatsoft.org/v23/i04/.


NicolasJBM/modestim documentation built on Aug. 26, 2019, 5:29 a.m.