CalculateBioDensity: Function for calculating biological mass density of MMR...

Description Usage Arguments Details Value Author(s) Examples

Description

This function takes a specific kind of input dataframe and outputs a dataframe with mass density at the specified scale. It's partly-generalized, check the analysis '.Rmd's for information on which parameters were passed for the final analysis.

Usage

1
CalculateBioDensity(data, frame.size, scale = "tube")

Arguments

data

Input dataframe. See 'details'.

frame.size

Size of MMR picture frame. See 'details'.

scale

Scale of return data.

tube.length

Length of tube, in meters? Probably?

max.frames

Maximum number of frames possible from equipment.

Details

data currently requires several columns:

veg_type is one of 'shrub', 'tree', or 'grass', and used in biovolume to biomass conversions.

plot is the first-order spatial organization - must be a factor.

date is the date of the measurement, must be class "Date" or coercible.

frame.size is a length-3 (or 2) numeric vector describing the [1]== height, [2]== width, and [3]==depth of the MMR pictures. If length 2, depth will default to the radius of the largest root in the dataset. Note that 'height' here is referring to the dimension that runs the length of the MMR tube.

Value

Returns a dataframe.

Author(s)

Brandon McNellis

Examples

1
CalculateBioDensity(data = df, frame.size = c(1, 2, 3))

bmcnellis/SDEF.analysis documentation built on June 4, 2019, 10 a.m.