grasp.exp.cormat {grasp} | R Documentation |
This function calculates the correlation between PVs and plots a correlation matrix, eliminating too highly corelated PVs.
grasp.exp.cormat(gr.Yi, cols = gr.selX, thin = OPTIONS$CORTHIN, corplot = TRUE)
gr.Yi |
A vector containing the selected responses |
cols |
A vector containing the selected predictors |
thin |
Acceptable level of correlation |
corplot |
Plot it or not ? |
The first aim of this function is to calculate correlation between PVs and to plot a matrix of correlation. The second aim is to eliminate PVs too highly correlated. The acceptable level of correlation is decided in the OPTIONs. Limits defined by grasp.msk.limits()
are applied to the data shown in these plots if desired. Selecting the reset correlation for Ys option will remove all correlation selection define in earlier session for the selected Y. This is to make sure that no correlation limits are applied by mistake.
Anthony.Lehmann@unige.ch
grasp grasp
, grasp.in grasp.in