assign_method: Assign volume estimation method in to each individuals

View source: R/assign_method.R

assign_methodR Documentation

Assign volume estimation method in to each individuals

Description

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

  • Method : This column stores the method for biomass calculation.

  • C : This column stores the conversion factors for individuals that uses length-weight relationships for biomass calculation.

Usage

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

# 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/GRSPRSThesisData documentation built on March 19, 2022, 8:35 a.m.