predictdf.polr: Prediction data frame for polr

View source: R/xgx_stat_smooth.R

predictdf.polrR 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.


xgxr documentation built on March 31, 2023, 11:46 p.m.