getNumerics.Arguments {R.utils}R Documentation

Coerces to a numeric vector and validates

Description

Coerces to a numeric vector and validates.

Usage

Arguments$getNumerics(x, range=NULL, asMode="numeric", 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 diallowed 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.

Author(s)

Henrik Bengtsson http://www.braju.com/R/

See Also

For more information see Arguments.


[Package R.utils version 0.5.5 Index]