numbers-class {essentials}R Documentation

Class "numbers"

Description

An umbrella formal class encompassing all objects interpretable as numbers. This includes integer, double and complex.

Extends

This class extends both "numeric" and "complex", directly.

Methods

coerce

A method is defined to coerce an arbitrary object to a numbers vector by calling as.numbers. The object is returned as is if it already extends class "numeric" or "complex".


[Package essentials version 0.1.0 Index]