plotFittedValues | R Documentation |
Display diagnostic plots given a JIVE.pred, sJIVE, or sesJIVE model
plotFittedValues(result, ...) ## S3 method for class 'sJIVE' plotFittedValues(result, graph = 0, ...) ## S3 method for class 'JIVEpred' plotFittedValues(result, graph = 0, ...) ## S3 method for class 'sesJIVE' plotFittedValues(result, graph = 0, ...)
result |
A fitted model. |
... |
further arguments passed to or from other methods. |
graph |
A value: 0, 1, or 2. |
Depending if the outcome is Gaussian or binary, different diagnostic plots will be generated. If the outcome is Gaussian, a residual plot and a Q-Q plot will be created. If the outcome is binary, two plots will be created for each joint and individual component: the first will plot a Loess curve, and the second will contain a density plot. Both plots help show the separation, or lack thereof, between the component and the outcome.
Diagnostic plot(s)
plotFittedValues(sJIVE)
:
plotFittedValues(JIVEpred)
:
plotFittedValues(sesJIVE)
:
## Not run: #Let fit be a fitted sJIVE, JIVE.pred, or sesJIVE model plotFittedValues(fit) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.