plot.syxi | R Documentation |
Display plots for Visual Validation of the syxi() approach that attempts to straighten nonlinear relationships between two variables.
## S3 method for class 'syxi'
plot(x, type = "xy", ...)
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(). |
NULL
Bob Obenchain <wizbob@att.net>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.