View source: R/assign_method.R
assign_method | R Documentation |
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.
assign_method(data, method_file = NULL)
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
|
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.