strip_units: Remove the units from an object

View source: R/allometry.R

strip_unitsR Documentation

Remove the units from an object

Description

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

Usage

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)



SCAR/solong documentation built on Aug. 5, 2022, 9:04 p.m.