plot_resids: Add line segment representation of residuals using base...

View source: R/plot_resids.R

plot_residsR Documentation

Add line segment representation of residuals using base graphics

Description

Add line segment representation of residuals using base graphics

Usage

plot_resids(x, y_observed, y_expected, lwd = 2, lty = 1, col = "red")

Arguments

x

x-values

y_observed

the observed y values

y_expected

the expected (model-based) y values

lwd

how wide should the residual lines be?

lty

What type of line should they be?

col

what color should they be?


michaelfrancenelson/mfn.teaching.utils documentation built on Oct. 7, 2022, 1:13 a.m.