mlts_model_paths {mlts} | R Documentation |
Create Path Diagrams from mlts model object
Description
Create Path Diagrams from mlts model object
Usage
mlts_model_paths(
model,
file = NULL,
add_png = FALSE,
keep_tex = FALSE,
ts = NULL,
covariates = NULL,
outcomes = NULL
)
Arguments
model |
A model built with |
file |
An optional string containing the name of the file and file path. Has to end with .pdf file format. |
add_png |
Logical. Set to |
keep_tex |
Logical. Should the TeX file be kept (additional to the
Rmd file)? Defaults to |
ts |
To be included in future releases. An optional character vector containing the names of the time-series variables or indicators. |
covariates |
To be included in future releases. An optional character vector containing the names of the between-level covariates. |
outcomes |
To be included in future releases. An optional character vector containing the names of the between-level outcomes. |
Value
An RMarkdown file that is automatically rendered to a pdf document.
Examples
# build a simple vector-autoregressive mlts model with two time-series variables
var_model <- mlts_model(q = 2)
# create a pathmodel from the specified model
mlts_model_paths(model = var_model)