transform_pixel_to_area_si.Rd
Transforms pixel values to SI units (e.g. '7.5mm2', '20um2')
transform_pixel_to_area_si(input, unit, object, round = FALSE)
Area as pixel input. See details for more information.
The SI area unit. Use validUnitsOfAreaSI()
to obtain all
valid input options.
An object of class spata2
.
Numeric value or FALSE
. If numeric, given to digits
of base::round()
. Rounds transformed values before they are returned.
Transformed input. Vector of the same length as input
and of class units
.