Sets or retrieves the
"units" attribute of an object.
units.default replaces the builtin
version, which only works for time series objects. If the variable is
also given a
label, subsetting (using
"units" attribute. For a
units first looks for an overall
"units" attribute, then
it looks for
units for the
time2 variable then for
1 2 3 4 5 6 7
the units of the object, or ""
value to which to set result if no appropriate attribute is found
the units attribute of x, if any; otherwise, the
units attribute of
tspar attribute of
x if any; otherwise the value
none. Handling for
Surv objects is different (see above).
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.