Learn R Programming

PathSelectMP (version 1.1)

CheckVarNames: Variable Name Check

Description

Variable Names must begin with a capital letter and can contain only letters and numbers

Usage

CheckVarNames(InitialData)

Arguments

InitialData

Dataframe of data to be used in path analysis with names of variables

Value

"Success" or "CheckFailed" depending on the names of variables in input dataframe

Details

This is a helper function that returns an error if variable names do not begin with a capital letter and contain only letters and number. This format may be changed in future versions.

References

No references

Examples

Run this code
# NOT RUN {
InitD=Simulate()
CheckVarNames(InitD)

# }

Run the code above in your browser using DataLab