Description Usage Arguments Examples
Fetches the value of the RcssCompulsoryClass object defined in parent environments.
1 | RcssGetCompulsoryClass(Rcssclass = NULL)
|
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. |
1 2 3 4 5 6 7 8 9 10 11 12 13 | # 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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.