Learn R Programming

nmw (version 0.3.0)

DxPlotPost: Diagnostic Plot for Post-Processing

Description

Creates spaghetti-style diagnostic plots with individual ID labels.

Usage

DxPlotPost(x, y, mat, xlbl, ylbl, smooth, xlm = "", ylm = "", Log = "")

Arguments

x

numeric vector, x-axis values

y

numeric vector, y-axis values

mat

data.frame with an ID column

xlbl

character, x-axis label

ylbl

character, y-axis label

smooth

character, "T" for lowess smoothing, "F" for identity line

xlm

numeric vector of length 2, x-axis limits

ylm

numeric vector of length 2, y-axis limits

Log

character, log transformation for axes (e.g., "y")