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

# S3 method for semEff
print(x, ...)

Arguments

x

An object of class "semEff".

...

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

Value

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

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.