print.semEff: Print '"semEff"' Objects

Description Usage Arguments Details Value

View source: R/semEff-fun.R

Description

A print() method for an object of class "semEff".

Usage

1
2
## S3 method for class 'semEff'
print(x, ...)

Arguments

x

An object of class "semEff".

...

Further arguments passed to or from other methods. Not currently used.

Details

This print method returns a summary table for the SEM variables, giving their status as exogenous or endogenous and as predictor, mediator and/or response. It also gives the number of direct vs. indirect paths leading to each variable, and the number of correlated errors (if applicable).

Printing of summary tables uses a custom version of print.data.frame(), facilitating correct rendering of unicode characters by bypassing format.data.frame() (bug details, workaround adapted from here). Row names (numbers) are also suppressed by default.

Value

A summary table for the SEM variables (data frame).


semEff documentation built on Oct. 12, 2021, 5:06 p.m.