Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getMultilineSection

Extract a multiline section from Mplus output


Description

New approach to multiline section: retain spaces and look for next line that has identical indentation.

Usage

getMultilineSection(
  header,
  outfiletext,
  filename,
  allowMultiple = FALSE,
  allowSpace = TRUE,
  ignore.case = FALSE
)

Arguments

header

Header section

outfiletext

Output file text

filename

The name of the file

allowMultiple

Logical indicating whether to allow multiple sections. Defaults to FALSE.

allowSpace

Logical indicating whether to allow spaces. Defaults to TRUE.

ignore.case

Logical whether or not to ignore the case. Defaults to FALSE.

Value

A list of sections

Examples

# make me!!!

MplusAutomation

An R Package for Facilitating Large-Scale Latent Variable Analyses in Mplus

v0.8
LGPL-3
Authors
Michael Hallquist [aut, cre], Joshua Wiley [aut], Caspar van Lissa [ctb], Daniel Morillo [ctb]
Initial release
2020-09-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.