Number Of Predictors
Calculate the maximum number of predictors to include in the model with a desired correlation between predictors.
ecospat.npred (x, th)
x |
Correlation matrix of the predictors. |
th |
Desired threshold of correlation between predictors. |
Returns the number of predictors to use.
Blaise Petitpierre bpetitpierre@gmail.com
colvar <- ecospat.testData[c(4:8)] x <- cor(colvar, method="pearson") ecospat.npred (x, th=0.75)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.