coeffs_tab: Extract table of results

Description Usage Arguments Examples

View source: R/coeffs_tab.R

Description

Extract table of results from fitted lavaan object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
coeffs_tab(
  object,
  label_effect = NULL,
  lhs_effect = NULL,
  rhs_effect = NULL,
  indirect_effect = NULL,
  one_sided = FALSE,
  as_text = FALSE,
  std_type = "std.all"
)

Arguments

object

fitted lavaan object

Examples

1
2
3
4
5
6
7
8
9
library(lavaan)
model <- 'y_1 =~ y1 + y2 + y3 + y4
y_2 =~ y5 + y6 + y7 + y8
x =~ x1 + x2 + x3
y_1 ~ a*x
y_2 ~ b*x
'
fit <- cfa(model, PoliticalDemocracy)
coeffs_tab(fit)

dienlin/td documentation built on June 15, 2021, 6:44 a.m.