strip_units | R Documentation |
A convenience function to remove the units assigned to an object.
strip_units(x)
x |
object: with units |
x, with units removed
x <- data.frame(LRL=c(11.3,13.9),species=c("Architeuthis dux"), stringsAsFactors=FALSE) x$LRL <- sol_set_property(x$LRL,"lower rostral length") ## apply an allometric equation xa <- sol_allometry(x,c("342218_ML_Roel2000")) strip_units(xa$allometric_value)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.