| predict.beeSurvFit {BeeGUTS} | R Documentation |
Predict method for beeSurvFit objects
Description
This is the generic predict S3 method for the beeSurvFit
class. It predict the survival over time for the concentration profiles entered by the user.
No concentration reconstructions are performed here. Functions odeGUTS::predict_ode()
from the morse package is used. This might be changed in a future update
Usage
## S3 method for class 'beeSurvFit'
predict(object, dataPredict, ...)
Arguments
object |
An object of class |
dataPredict |
Data to predict in the format as a dataframe containing the following column:
|
... |
Additional arguments to be parsed to the |
Value
A beeSurvPred object containing the results of the forwards prediction
Examples
dataPredict <- data.frame(time = c(1:5, 1:15),
conc = c(rep(5, 5), rep(15, 15)),
replicate = c(rep("rep1", 5), rep("rep2", 15)))
data(fitBetacyfluthrin_Chronic)
prediction <- predict(fitBetacyfluthrin_Chronic, dataPredict)