retrieve_modval: Retrieve values of the moderators necessary for analyses of...

Description Usage Arguments Value See Also

View source: R/retrieve_modval.R

Description

Retrieve values of the moderators necessary for analyses of moderated mediations.

Usage

1
retrieve_modval(sample, moderators, types, allval)

Arguments

sample

Tibble. Table containing the data.

moderators

Character vector. vector speciying which variables moderate the relationships.

types

Character vector. Whether the corresponding moderator is "discrete" (actually binary) or "continuous".

allval

Logical. Whether all values of the moderating variables should be retrieved (TRUE) or just two representative values.

Value

A tibble gathering the requested values for the moderators.

See Also

analyze_path


NicolasJBM/modlR documentation built on May 14, 2021, 1:52 p.m.