getMultilineSection: Extract a multiline section from Mplus output

View source: R/utilityFunctions.R

getMultilineSectionR Documentation

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 documentation built on May 29, 2024, 5:29 a.m.