Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 signature '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

# -- 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])

EMbC

Expectation-Maximization Binary Clustering

v2.0.3
GPL-3 | file LICENSE
Authors
Joan Garriga, John R.B. Palmer, Aitana Oltra, Frederic Bartumeus
Initial release
2019-12-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.