Learn R Programming

umx (version 1.9.1)

umx_has_square_brackets: Check if a label contains square brackets

Description

Helper function to check if a label has square brackets, e.g. "A[1,1]"

Usage

umx_has_square_brackets(input)

Arguments

input

The label to check for square brackets (string input)

Value

- boolean

References

- http://www.github.com/tbates/umx

See Also

Other Test: umx_check_OS, umx_check_model, umx_check_names, umx_check_parallel, umx_check, umx_has_CIs, umx_has_been_run, umx_has_means, umx_is_MxData, umx_is_MxMatrix, umx_is_MxModel, umx_is_RAM, umx_is_cov, umx_is_endogenous, umx_is_exogenous, umx_is_ordered

Examples

Run this code
# NOT RUN {
umx_has_square_brackets("[hello]")
umx_has_square_brackets("goodbye")
# }

Run the code above in your browser using DataLab