as_tbl_graph.lavaan: Method for importing lavaan output to tbl_graph

Description Usage Arguments Value Author(s) Examples

View source: R/tidylavaan.R

Description

Method for importing lavaan output to tbl_graph

Usage

1
2
3
## S3 method for class 'lavaan'
as_tbl_graph(object, standardize = TRUE,
  include_var = FALSE, ...)

Arguments

object

a lavaan object, returned from lavaan's sem/cfa functions.

standardize

should the edge coeffciants be standerdized. curretnyl only 'TRUE' is supported.

include_var

should the variances be included?

...

args passed to standardizedSolution or parameterEstimates

Value

a tbl_graph object that can further be processed with tidygraph, and plotted with ggraph.

Author(s)

Mattan S. Ben-Shachar

Examples

1
see README

mattansb/tidylavaan documentation built on March 8, 2020, 9:32 a.m.