Learn R Programming

Rnightlights (version 0.1.5)

validStat: Check if a statistic given is valid

Description

Check if a statistic given is valid

Usage

validStat(nlStat)

Arguments

nlStat

the statistic to check

Value

TRUE/FALSE

Examples

Run this code
# NOT RUN {
Rnightlights:::validStat("sum")
 #returns TRUE
 
Rnightlights:::validStat("unknownFunction")
 #returns FALSE

# }

Run the code above in your browser using DataLab