RcssGetPropertyValueOrDefault: 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
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
Details
Equivalent to RcssValue(); use RcssValue() instead
Examples
Run this code# NOT RUN {
# use RcssValue instead
# }
Run the code above in your browser using DataLab