mplot3_fit: 'mplot3': True vs. Fitted plot

View source: R/mplot3_xy.R

mplot3_fitR Documentation

mplot3: True vs. Fitted plot

Description

An mplot3_xy alias 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

Vector, numeric / factor / survival for regression, classification, survival: True values

y

Vector, numeric / factor / survival for regression, classification, survival: 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,

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)


egenn/rtemis documentation built on April 24, 2024, 6:58 p.m.