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
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.