predictdf.polr {xgxr} | R Documentation |
Prediction data frame for polr
Description
Get predictions with standard errors into data frame for use with geom_smooth
Usage
## S3 method for class 'polr'
predictdf(model, xseq, se, level)
Arguments
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 |
Details
predictdf.polr
is used by xgx_geom_smooth when method = "polr"
to calculate confidence intervals via bootstraps.
[Package xgxr version 1.1.2 Index]