biovolume: Get vignette biovolume

View source: R/gen_obj-volume.R

biovolumeR Documentation

Get vignette biovolume

Description

This function takes a df and will direct it

Usage

biovolume(input, shape, pixel_mm)

Arguments

input

a zoo_df. use add_zoo for ecopart_objs

shape

assume a sphere or ellipsoid

pixel_mm

option to user specify pixel size in mm

Examples

#calcuating biovolume

zoo_df <- ecopart_example$zoo_files[[1]]
biovol <- biovolume(input = zoo_df,
                    shape = 'sphere',
                    pixel_mm = unique(ecopart_example$meta$acq_pixel))

biovol |> summary()

TheAlexBarth/EcotaxaTools documentation built on Nov. 14, 2024, 8:27 p.m.