chmNewCovariate | R Documentation |
This function creates a new Covariate suitable for a covariate bar or attaching to an NGCHM auxilary dataset.
chmNewCovariate( fullname, values, value.properties = NULL, type = NULL, covabbv = NULL )
fullname |
The full (human readable) name of the covariate. |
values |
A named vector of values (character, logical, or numeric). |
value.properties |
An ngchmColormap mapping values to properties. |
type |
The string "discrete" or the string "continuous". (Defaults to continuous for numeric values, to discrete otherwise.) |
covabbv |
The short R-compatible identifier used to identify the covariate (derived from fullname if not specified). |
An object of class ngchmCovariate.
ngchmCovariate
chmAddCovariate()
chmNewColorMap()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.