Shows plot with regression coefficient values for every predictor variable (x)
# S3 method for regcoeffs
plot(
x,
ncomp = 1,
ny = 1,
type = (if (x$nvar > 30) "l" else "h"),
col = c(mdaplot.getColors(1), "lightgray"),
show.lines = c(NA, 0),
show.ci = FALSE,
alpha = 0.05,
ylab = paste0("Coefficients (", x$respnames[ny], ")"),
...
)
regression coefficients object (class regcoeffs
)
number of components to use for creating the plot
index of response variable to make the plot for
type of the plot
vector with two colors for the plot (one is used to show real coefficient and another one to show confidence intervals)
allows to show horizontal line at c(NA, 0)
logical, show or not confidence intervals if they are available
significance level for confidence intervals (a number between 0 and 1, e.g. for 95% alpha = 0.05)
label for y-axis
other arguments for plotting methods (e.g. main, xlab, etc)