Check Variable Name Validity
varIsValid.Rd
Checks the validity of a given variable name for a certain type of ECAC hockey data
Arguments
- variableName
name of Variable to check
- type
type of variable to check ('team', 'skaters', 'goalies', or' game')
Examples
varIsValid(variableName="Goals", type="skaters") # TRUE
#> Error in varIsValid(variableName = "Goals", type = "skaters"): could not find function "varIsValid"
varIsValid(varaibleName="Assists", type="goalies") # FALSE
#> Error in varIsValid(varaibleName = "Assists", type = "goalies"): could not find function "varIsValid"