mplot3_fit: True vs. Fitted plot

View source: R/mplot3_xy.R

mplot3_fitR Documentation

True vs. Fitted plot

Description

An mplot3_xy wrapper with defaults for plotting a learner's performance

Usage

mplot3_fit(
  x,
  y,
  fit = "lm",
  se.fit = TRUE,
  fit.error = TRUE,
  axes.equal = TRUE,
  diagonal = TRUE,
  theme = rtTheme,
  marker.col = NULL,
  fit.col = NULL,
  pty = "s",
  fit.legend = FALSE,
  mar = NULL,
  ...
)

Arguments

x

Numeric vector: True values

y

Numeric vector: Predicted values

fit

Character: rtemis model to calculate y ~ x fit. Options: see select_learn() Can also be Logical, which will give a GAM fit if TRUE. If you specify "NLA", the activation function should be passed as a string.

se.fit

Logical: If TRUE, draw the standard error of the fit

fit.error

Logical: If TRUE: draw fit error annotation. Default = NULL, which results in TRUE, if fit is set

axes.equal

Logical: Should axes be equal? Defaults to FALSE

diagonal

Logical: If TRUE, draw diagonal line.

theme

Character: Run themes() for available themes

marker.col

Color for marker

fit.col

Color: Color of the fit line.

pty

Character: "s" for square plot, "m" to fill device. Default = "s"

fit.legend

Logical: If TRUE, show fit legend

mar

Float, vector, length 4: Margins; see par("mar")

...

Additional argument to be passed to mplot3_conf (classification) or mplot3_xy (regression)

Author(s)

EDG


egenn/rtemis documentation built on Dec. 17, 2024, 6:16 p.m.