RcssGetPropertyValueOrDefault {Rcssplot} | R Documentation |
Extract a value for an Rcss property
Description
If the requested property is defined within an Rcss object, this function will return the associated value. If the property is not defined, the function returns a default value that can be passed into the function and is set NULL otherwise. See also RcssGetPropertyValue().
Usage
RcssGetPropertyValueOrDefault(
Rcss,
selector,
property,
default = NULL,
Rcssclass = NULL
)
Arguments
Rcss |
style sheet object |
selector |
name of selector of interest (e.g. "plot", "axis", "text", etc.) |
property |
name of property of interest (e.g. "col", "pch", etc.) |
default |
value to return if the desired property is not defined in Rcss |
Rcssclass |
subclass of style sheet |
Details
Equivalent to RcssValue(); use RcssValue() instead
Examples
# use RcssValue instead
[Package Rcssplot version 1.0.0 Index]