S3 method for plotting cv_model
results
# S3 method for bmbstats_cv_model plot(x, type = "residuals", ...)
x | Object of class |
---|---|
type | Type of plot. Options are "residuals", "training-residuals", "testing-residuals", "bias-variance-index", "bias-variance-observed", "prediction-index", "prediction-observed", and "estimators". Default is "residuals" |
... | Extra arguments. Use |
data("vertical_jump_data") m1 <- cv_model( `Post-test` ~ `Pre-test` * Group * `Squat 1RM`, vertical_jump_data, control = model_control( cv_repeats = 10, cv_folds = 3, cv_strata = vertical_jump_data$Group ) )#>#>