Wrapper for 'predict()' with custom coding for some types of predictions.
1 2 3 | sm_predict_raw(method, object, newdata, type, conf.level = 0.95)
sm_predict_raw_safely(...)
|
method |
type of regression model |
object |
the results of a regression fit |
newdata |
New data at which to do predictions |
type |
the type of predicted value |
conf.level |
The confidence level to use for the confidence interval. Must be strictly greater than 0 and less than 1. Default is 0.95. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.