plot.qlearn: Plot the linear coefficients of interaction
Description
The function plots the standardized coefficients from linear regression, i.e. it divides the coefficients for a selected set of variables by the L2 norm.
Usage
# S3 method for qlearn
plot(x, index = NULL, names = NULL,
ylab = "std coefficients", xlab = "", col = "gray", ...)
Arguments
x
a model of class 'qlearn'.
index
is the vector of indices of variables to plot.
names
is the vector of names of each variables to appear in the plot. If not specified, the names would be V1-Vp.
ylab
The label for the y axis. Defalt is "std coefficients".
xlab
The label for the x axis.
col
color to fill the bars in the plot.
...
further arguments passed to or from other methods.