ident_M_type | R Documentation |
This function identifies the mediator's type according to the model
if the user does not directly specify it.
The type of mediator could be 'continuous'
, 'binary'
or 'ordinal'
.
This is an internal function, automatically called by the function FormalEstmed
.
ident_M_type (M, data)
M |
a character variable of the mediator's name. |
data |
a dataframe used in the analysis. |
This function returns a character as the mediator's type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.