time_to_prop_mass_remaining: Get the predicted time until half mass loss for a litter...

View source: R/output-fxns.R

time_to_prop_mass_remainingR Documentation

Get the predicted time until half mass loss for a litter decomposition trajectory

Description

Get estimated time to 0.5 (or an alternate threshold) mass loss from a particular fit to a litter decomposition trajectory

Usage

time_to_prop_mass_remaining(x,threshold.mass=0.5)

Arguments

x

a litfit object

threshold.mass

mass loss threshold in proportion, default is 0.5

Details

this function finds the time to a specified mass loss percentage

Value

numeric value that represents time to a specified mass loss percentage

Author(s)

Will Cornwell

See Also

fit_litter plot.litfit

Examples


 fit<-fit_litter(time=pineneedles$Year,mass.remaining=pineneedles$Mass.remaining,
 model='neg.exp',iters=1000)
 time_to_prop_mass_remaining(fit, threshold.mass = 0.5)


litterfitter documentation built on Aug. 29, 2023, 9:07 a.m.