Learn R Programming

ordr (version 0.1.1)

annotation: Annotate factors of 'tbl_ord' objects

Description

These functions annotate the matrix factors of tbl_ords with additional variables, and retrieve these annotations.

The unexported annotation_*() and set_annotation_*() functions assign and retrieve values of the "*_annotation" attributes of x, which must have the same number of rows as get_*(x).

Arguments

annot

A data.frame having the same number of rows as get_*(x).

See Also

augmentation methods that must interface with annotation.