Check the length of an input value
Usage
checkIt(x, lng, type = "numeric", fixit = TRUE)
Arguments
- x
a numeric model object
- lng
a numeric model object
- type
a character string specifying required typeof
- fixit
a logical value, if TRUE force length to lng