RcssGetCompulsoryClass {Rcssplot} | R Documentation |
Get current state of compulsory Rcssclass
Description
Fetches the value of the RcssCompulsoryClass object defined in parent environments.
Usage
RcssGetCompulsoryClass(Rcssclass = NULL)
Arguments
Rcssclass |
character vector, set of additional compulsory classes. When NULL, function returns the current set of compulsory classes defined in parent environments. When non-NULL, functions returns the concatentation of the current set and new set. |
Examples
# retrieve the current compulsory class
class.null <- RcssGetCompulsoryClass()
# augment the current compulsory class with more labels
class.A <- RcssGetCompulsoryClass("A")
class.A
class.B <- RcssGetCompulsoryClass("B")
class.B
# when the object RcssCompulsoryClass is set, this augments a vector
RcssCompulsoryClass <- c("X", "Y")
class.XYZ <- RcssGetCompulsoryClass("Z")
class.XYZ
[Package Rcssplot version 1.0.0 Index]