Description Usage Arguments See Also Examples
View source: R/forcasting_tools.R
Generic function of prediction with function augment()
of package broom.
1 | predict_broom(modele, data, new_data, type = "response")
|
modele |
broom-compatible model. |
data |
model data, class "data.frame". |
new_data |
Put data frame "test". |
type |
Default at "response" or see |
augment()
for initial function.
Other predicting functions:
pred_glm_net()
,
pred_keras()
,
pred_rpart()
1 2 3 | library(broom)
fit <- glm(Ozone~., data= airquality)
predict_broom(modele= fit, data= airquality, new_data= airquality[2:50,], type= "response")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.