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

The `class`

`"atomicVector"`

is a
*virtual* class containing all atomic vector classes of base **R**,
as also implicitly defined via `is.atomic`

.

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

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.

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"`

.

Martin Maechler

`is.atomic`

, `integer`

, `numeric`

,
`complex`

, etc.

1 | ```
showClass("atomicVector")
``` |

```
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.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.