Display plots for Visual Validation of the syxi() approach that attempts to straighten nonlinear relationships between two variables.
# S3 method for syxi
plot(x, type = "xy", ...)
NULL
syxi output list object of class syxi.
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().
Bob Obenchain <wizbob@att.net>