grasp.exp.cormat {grasp}R Documentation

Internal GRASP function

Description

This function calculates the correlation between PVs and plots a correlation matrix, eliminating too highly corelated PVs.

Usage

grasp.exp.cormat(gr.Yi, cols = gr.selX, thin = OPTIONS$CORTHIN, corplot = TRUE)

Arguments

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 ?

Details

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.

Author(s)

Anthony.Lehmann@unige.ch

See Also

grasp grasp, grasp.in grasp.in


[Package grasp version 2.5-7 Index]