View source: R/xgx_stat_smooth.R
predictdf.polr | R Documentation |
Get predictions with standard errors into data frame for use with geom_smooth
## S3 method for class 'polr'
predictdf(model, xseq, se, level)
model |
object returned from polr |
xseq |
sequence of x values for which to compute the smooth |
se |
if TRUE then confidence intervals are returned |
level |
confidence level for confidence intervals |
predictdf.polr
is used by xgx_geom_smooth when method = "polr"
to calculate confidence intervals via bootstraps.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.