Description Usage Arguments Value Examples
View source: R/circGLMClassFunctions.R
Obtain predictions from the original dataset, or the predictions from the
fitted model on a new dataset newdata
.
1 2 |
object |
A |
newdata |
A data frame with predictors. The predictors must be the same
as used in the |
... |
Further arguments passed to or from other methods. |
A numeric vector with predictions.
1 2 3 4 5 6 7 8 9 | dat <- generateCircGLMData()
m <- circGLM(th ~ ., dat)
# Predictions for the original outcome angles.
predict(m)
# Predictions for new data
dat2 <- generateCircGLMData()
predict(m, newdata = dat2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.