Learn R Programming

rtemis (version 0.79)

mplot3.fit: 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 = getOption("rt.fit.theme", "lightgrid"), col = NULL,
  zero.lines = FALSE, fit.legend = FALSE, ...)

Arguments

x

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

y

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

fit

String: rtemis model to calculate y ~ x fit. Options: see modSelect 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

axes.equal

Logical: Should axes be equal? Defaults to FALSE

theme

String: "light", "dark", "lightgrid", "darkgrid", "lightbox", "darkbox" Default = "lightgrid" if no default "rt.fit" is set using options. You can set a system-wide default in your .Rprofile by including a line like options(rt.theme = 'lightgrid')

zero.lines

Logical: If TRUE, draw lines at x = 0 and y = 0

...

Additional argument to be passed to mplot3.conf (classification) or mplot3.xy (regression)