mlts_model_paths: Create Path Diagrams from mlts model object
Description
Deprecated. Please use mlts_paths.
Usage
mlts_model_paths(
model,
file = NULL,
add_png = FALSE,
keep_tex = FALSE,
ts = NULL,
covariates = NULL,
outcomes = NULL
)
Value
An RMarkdown file that is automatically rendered to a pdf document.
Arguments
- model
A model built with mlts_model.
- 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 TRUE to transform created PDF to .png file
using pdftools::pdf_convert.
- keep_tex
Logical. Should the TeX file be kept (additional to the
Rmd file)? Defaults to FALSE.
- 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.
Examples
Run this code# \donttest{
# 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)
# }
Run the code above in your browser using DataLab