dplot3_fit: True vs. Predicted Plot

View source: R/dplot3_xy.R

dplot3_fitR Documentation

True vs. Predicted Plot

Description

A dplot3_xy wrapper for plotting true vs. predicted values

Usage

dplot3_fit(x, y, fit = "gam", se.fit = TRUE, ...)

Arguments

x

Numeric, vector/data.frame/list: True values. If y is NULL and NCOL(x) > 1, first two columns used as x and y, respectively

y

Numeric, vector/data.frame/list: 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

...

Additional arguments passed to dplot3_xy

Author(s)

EDG

Examples

## Not run: 
x <- rnorm(500)
y <- x + rnorm(500)
dplot3_fit(x, y)

## End(Not run)

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