plot.syxi {RXshrink} | R Documentation |
Plot method for syxi objects
Description
Display plots for Visual Validation of the syxi() approach that attempts to straighten nonlinear relationships between two variables.
Usage
## S3 method for class 'syxi'
plot(x, type = "xy", ...)
Arguments
x |
syxi output list object of class syxi. |
type |
One of two possible options: "xy" to display a plot of the x-predictor versus the y-outcome with the lm() fitted line in RED and the corresponding gam() Spline fit in BLUE, "sy" (or any string different from "xy") displays a plot of s(x) versus y with only the lm() fit in BLUE. |
... |
Optional argument(s) passed on to plot(). |
Value
NULL
Author(s)
Bob Obenchain <wizbob@att.net>
[Package RXshrink version 2.3 Index]