parse_beta {pompom}R Documentation

Parse the beta from model fit object

Description

Parse the beta from model fit object

Usage

parse_beta(var.number, model.fit, lag.order, matrix = F)

Arguments

var.number

number of variables in the time series

model.fit

model fit object generated by lavaan

lag.order

lag order of the model to be fit

matrix

output beta in matrix format or estimates format, default value is FALSE (as estimates)

Value

beta

Examples



data(usemmodelfit)
beta.matrix <- parse_beta(var.number = 3,
                         model.fit = usemmodelfit,
                         lag.order = 1,
                         matrix = TRUE)
beta.matrix



[Package pompom version 0.2.1 Index]