Learn R Programming

rwunderground (version 0.1.8)

as.numeric.nonempty: as.numeric with special handling for length 0 (NULL) objects

Description

as.numeric with special handling for length 0 (NULL) objects

Usage

# S3 method for nonempty
as.numeric(x)

Arguments

x

the object to cast as numeric

Value

value of type double