rhrCheckNumber: rhrCheckNumber

Description Usage Arguments Details

View source: R/rhrCheckNumber.R

Description

Validate numeric input

Usage

1
2
rhrCheckNumber(val, arg, length = 1, from = NA, to = NA,
  canHaveNA = FALSE, fun = as.character(as.list(match.call())[[1]]))

Arguments

val

numeric vector

arg

character, name of argument

length

max length

from

lower boundary

to

upper boundary

canHaveNA

logical, can the vector contain NA's?

fun

name of the function

Details

Takes a numeric input and validates it with regard to length, range and missing values


jmsigner/rhr documentation built on June 26, 2020, 8:59 a.m.