chmNewCovariate: Create a new Covariate for adding to an NGCHM auxilary...

Description Usage Arguments Value See Also

View source: R/functions.R

Description

This function creates a new Covariate suitable for a covariate bar or attaching to an NGCHM auxilary dataset.

Usage

1
2
chmNewCovariate(fullname, values, value.properties = NULL, type = NULL,
  covabbv = NULL)

Arguments

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

Value

An object of class ngchmCovariate.

See Also

ngchmCovariate-class

chmAddCovariate

chmNewColorMap


bmbroom/NGCHMR documentation built on Aug. 8, 2017, 5:17 p.m.