plotPredictions.regres {mdatools} | R Documentation |
Shows plot with predicted y values.
## S3 method for class 'regres' plotPredictions( obj, ny = 1, ncomp = obj$ncomp.selected, show.line = TRUE, show.stat = FALSE, stat.col = "#606060", stat.cex = 0.85, xlim = NULL, ylim = NULL, axes.equal = TRUE, show.plot = TRUE, ... )
obj |
regression results (object of class |
ny |
number of predictor to show the plot for (if y is multivariate) |
ncomp |
complexity of model (e.g. number of components) to show the plot for |
show.line |
logical, show or not line fit for the plot points |
show.stat |
logical, show or not legend with statistics on the plot |
stat.col |
color of text in legend with statistics |
stat.cex |
size of text in legend with statistics |
xlim |
limits for x-axis (if NULL will be computed automatically) |
ylim |
limits for y-axis (if NULL will be computed automatically) |
axes.equal |
logical, make limits for x and y axes equal or not |
show.plot |
logical, show plot or just return plot data |
... |
other plot parameters (see |
If reference values are available, the function shows a scatter plot with predicted vs. reference values, otherwise predicted values are shown vs. object numbers.