annotated_vector-class: S4 Class Union for Annotated Vectors

Description Details Slots

Description

This is a collection of classes that extend basic data types (currently vector_annotation-object.

Details

We currently support six different classes of annotated vectors: annotated_numeric, annotated_integer, annotated_character, annotated_logical, annotated_factor.

These can be extended to named vectors (via names(x)). The corresponding classes are annotated_named_numeric, annotated_named_integer, annotated_named_character, annotated_named_logical, annotated_named_factor.

Ordered factors, raw and complex vectors are not supported, yet.

Slots

.Data

Depending on the data type that the class extends, the original values.

names

A character vector of value names, if supplied.

label

Length-one character. This one must always be a copy of slot "label" in slot "annotation". Don't you ever manipulate this one by hand. It is only included for nice printing in RStudio.

annotation

A vector_annotation-class object, containing all meta-data of the vector.


mariusbarth/annotate4 documentation built on May 7, 2019, 3:14 p.m.