predict.bc2.Rd
predict method for bc2 fits.
# S3 method for bc2 predict(object, newdata, interval = "prediction", alpha = 0.05, ...)
object | a fitted object of class inheriting from "bc2". |
---|---|
newdata | Data (tibble or data.frame) containing predictor information of new records. |
interval | Type of interval for predictions. Valid inputs are |
alpha | alpha value for creating the interval(s) of new prediction(s). Default is 0.05. |
... | Other predict arguments (Not being used by objects of class |
A list of length 2. Each slot of this list contains a tibble with the information of predictions and their related intervals for each response.
Shahin Roshani