chkp | R Documentation |
Plots the labeling profile of a binClst_instance against a control variable (e.g. environmental information) depicted as background coloured bars.
chkp(obj, ...)
## S4 method for signature 'binClst'
chkp(obj, ctrlLbls = NULL, ctrlClrs = NULL, ctrlLgnd = NULL, lims = NULL)
obj |
A binClst_instance. |
... |
Parameters |
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. |
# -- 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])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.