Arguments$getNumerics

0th

Percentile

Coerces to a numeric vector and validates

Coerces to a numeric vector and validates.

Keywords
methods, internal, IO
Usage
## Static method (use this):
## Arguments$getNumerics(x, range=NULL, asMode=NULL, disallow=NULL, ..., .name=NULL)

## Don't use the below: # S3 method for Arguments getNumerics(static, x, range=NULL, asMode=NULL, disallow=NULL, ..., .name=NULL)

Arguments
x

A vector.

range

Two numerics for the allowed ranged. If NULL, range is not checked.

asMode

A character specifying the mode to coerce to.

disallow

A character vector specifying disallowed value sets, i.e. "NA", "NaN", and/or "Inf".

...

Arguments passed to @method "getVector".

.name

A character string for name used in error messages.

Value

Returns a numeric vector.

See Also

For more information see Arguments.

Aliases
  • Arguments$getNumerics
  • getNumerics.Arguments
  • Arguments.getNumerics
  • getNumerics,Arguments-method
  • Arguments.getNumeric
  • getNumeric.Arguments
  • getNumeric,Arguments-method
Documentation reproduced from package R.utils, version 2.8.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.