A convenience function to remove the units assigned to an object.

strip_units(x)

Arguments

x

object: with units

Value

x, with units removed

Examples

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)
#> [1] 539.6881 921.0553 #> attr(,"class") #> [1] "sol_property" "solprop_ML"