plot.dorem: S3 method for plotting model

View source: R/dorem-S3-methods.R

plot.doremR Documentation

S3 method for plotting model

Description

S3 method for plotting model

Usage

## S3 method for class 'dorem'
plot(x, type = "pred", ...)

Arguments

x

Object of class dorem

type

Type of plot. Options are "pred", "coef", "perf", which "pred" being default

...

Extra arguments

Examples

data("bike_score")

banister_model <- dorem(
  Test_5min_Power ~ BikeScore,
  bike_score,
  method = "banister",
  control = dorem_control(
        cv_folds = 3,
        cv_repeats = 5,
        shuffle = TRUE
  )
)
plot(banister_model)

mladenjovanovic/dorem documentation built on July 23, 2022, 7:12 a.m.