View source: R/helper_summarize.R
calculateEffects | R Documentation |
The direct effects are equal to the estimated coefficients. The total effect
equals (I-B)^-1Gamma. The indirect effect equals the difference between
the total effect and the indirect effect. In addition, the variance accounted
for (VAF) is calculated. The VAF is defined as the ratio of a variables
indirect effect to its total effect. Helper for generic functions summarize()
and assess()
.
calculateEffects( .object = NULL, .output_type = c("data.frame", "matrix") )
.object |
An R object of class cSEMResults resulting from a call to |
.output_type |
Character string. The type of output to return. One of "complete" or "structured". See the Value section for details. Defaults to "complete". |
A matrix or a data frame of effects.
assess()
, summarize()
cSEMResults
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.