output_tables: Define and extract 'MxModel' output tables.

View source: R/model_misc.R

def_output_tablesR Documentation

Define and extract MxModel output tables.

Description

The functions to define and extract the output tables for MxModels. The names of the output tables are stored as the output_tables option of an MxModel object.

Usage

def_output_tables(model, output_tables = character(0))

output_tables(model) <- value

get_output_tables(model, tables = character(0), CIs = TRUE)

output_tables(model)

Arguments

model

MxModel object.

output_tables, value

character vector, the names of the output tables defined inside the model as MxAlgebra.

Value

def_output_tables returns an MxModel (`output_tables<-` is an alias).

output_table returns character vector of the names of the output tables.

get_output_tables returns the list of the evaluated output tables. If the model output includes confidence intervals, it append the intervals. Each table is either data.frame or mlth.data.frame.


IvanVoronin/TwinAnalysis documentation built on July 24, 2024, 9:36 p.m.