Learn R Programming

EMbC (version 2.0.4)

chkp: Check labeling profile

Description

Plots the labeling profile of a binClst_instance against a control variable (e.g. environmental information) depicted as background coloured bars.

Usage

chkp(obj, ...)

# S4 method for binClst chkp(obj, ctrlLbls = NULL, ctrlClrs = NULL, ctrlLgnd = NULL, lims = NULL)

Arguments

obj

A binClst_instance.

...

Parameters ctrLbls, ctrlClrs, ctrlLgnd and lims are optional.

ctrlLbls

A numeric vector with the control labels or a string specifying one of 'height', 'azimuth' or 'both' solar covariates. By default, for a binClstPath_instance it is set to the solar height covariate, regardless it has been used or not for the clustering.

ctrlClrs

A vector of colors to depict the control labeling. At least one colour should be specified for each different control label. By default white/grey colours are used for the default control labels.

ctrlLgnd

A vector of strings identifying the labels for the legend of the plot. They are automatically generated for the solar covariates.

lims

A numeric vector with lower and upper bounds to limit the plot.

Examples

Run this code
# -- apply EMbC to \code{expth} --
mybcp <- stbc(expth)
# -- plot the labeling profile against 'both' solar covariates --
chkp(mybcp,ctrlLbls='both',ctrlClrs=RColorBrewer::brewer.pal(8,'Oranges')[1:4])

Run the code above in your browser using DataLab