atomicVector-class: Virtual Class "atomicVector" of Atomic Vectors

Description Objects from the Class Methods Extends Author(s) See Also Examples

Description

The class "atomicVector" is a virtual class containing all atomic vector classes of base R, as also implicitly defined via is.atomic.

Objects from the Class

A virtual Class: No objects may be created from it.

Methods

In the Matrix package, the "atomicVector" is used in signatures where typically “old-style” "matrix" objects can be used and can be substituted by simple vectors.

Extends

The atomic classes "logical", "integer", "double", "numeric", "complex", "raw" and "character" are extended directly. Note that "numeric" already contains "integer" and "double", but we want all of them to be direct subclasses of "atomicVector".

Author(s)

Martin Maechler

See Also

is.atomic, integer, numeric, complex, etc.

Examples

1
showClass("atomicVector")

Example output

Loading required package: gmp

Attaching package: 'gmp'

The following objects are masked from 'package:base':

    %*%, apply, crossprod, matrix, tcrossprod

C code of R package 'Rmpfr': GMP using 64 bits per limb


Attaching package: 'Rmpfr'

The following objects are masked from 'package:stats':

    dbinom, dnorm, dpois, pnorm

The following objects are masked from 'package:base':

    cbind, pmax, pmin, rbind

Virtual Class "atomicVector" [package "Rmpfr"]

No Slots, prototype of class "logical"

Extends: 
Class "array_or_vector", directly
Class "Mnumber", by class "array_or_vector", distance 2

Known Subclasses: 
Class "logical", directly
Class "integer", directly
Class "numeric", directly
Class "complex", directly
Class "raw", directly
Class "character", directly
Class "factor", by class "integer", distance 2
Class "signature", by class "character", distance 2
Class "className", by class "character", distance 2
Class "ObjectsWithPackage", by class "character", distance 2
Class "factor", by class "numeric", distance 3

Rmpfr documentation built on Aug. 19, 2018, 3 a.m.