predict.litfit {litterfitter}R Documentation

Predict method for litfit objects

Description

Generated predicted values for (new) time points from a litfit model fit

Usage

## S3 method for class 'litfit'
predict(object,newdata=NULL,...)

Arguments

object

litfit object

newdata

optional vector of new Time points at which to predict mass remaining. If not specified, Time points from the original fit are used.

...

further arguments passed to or from other methods.

Details

to do

Value

predicted values from a litfit object

Author(s)

Will Cornwell

James Weedon

See Also

fit_litter

Examples

fit<-fit_litter(time=c(0,1,2,3,4,5,6),mass.remaining=c(1,0.9,1.01,0.4,0.6,0.2,0.01),
'neg.exp',iters=250)
predict(fit, newdata=1:10)


[Package litterfitter version 0.1.3 Index]