CheckVarNames: Variable Name Check

Description Usage Arguments Details Value Note Author(s) References Examples

View source: R/CheckVarNames.R

Description

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

Usage

1
CheckVarNames(InitialData)

Arguments

InitialData

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

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.

Value

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

Note

This function is used as a helper function for formatting data when Initialize is run. Initialize should always be run 1st before performing variable selection with this package

Author(s)

William Terry

References

No references

Examples

1
2
InitD=Simulate()
CheckVarNames(InitD)

PathSelectMP documentation built on May 2, 2019, 3:15 a.m.