assign_method: Assign volume estimation method in to each individuals

Description Usage Arguments Examples

View source: R/assign_method.R

Description

This function adds the following two columns to your original data frame:

Usage

1
assign_method(data, method_file = NULL)

Arguments

data

The data that records observations of each individuals size measurements with at least the following columns: "Taxon"

method_file

The file that contains the pairwise biovolume estimation method. Note that the method file has a specific format to follow. See biovolume method for more information. If NULL, the method file will use the default "biovolume_method" data.

Examples

1
2
3
4
# the default estimation method for each available taxon.
biovolume_method
a <- data.frame(Taxon = c("Polychaeta", "Oligochaeta", "Sipuncula", "Not in the column"))
assign_method(a)

chenyenting1998/ecomaestro documentation built on Dec. 19, 2021, 3:04 p.m.