sol_set_property | R Documentation |
Set or get the property name
sol_set_property(x, prop, with_units, ...) sol_get_property(x)
x |
vector: data |
prop |
string: property name |
with_units |
string: units of measurement to use. If missing, the default units for the property will be used |
... |
: extra arguments, currently ignored |
x with additional class set
sol_properties
x <- data.frame(LRL=c(11.3,13.9),species=c("Architeuthis dux"), stringsAsFactors=FALSE) ## it doesn't matter what the column names are, but we ## need to set the property types correctly x$LRL <- sol_set_property(x$LRL,"lower rostral length") ## remove the property x$LRL <- sol_set_property(x$LRL,NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.