Learn R Programming

MplusAutomation (version 1.1.1)

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
)

Value

A list of sections

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.

Examples

Run this code
# make me!!!

Run the code above in your browser using DataLab