getVarImp {sdm}R Documentation

variable importance

Description

Calculates relative importance of different variables in the models using several approaches.

Usage

getVarImp(x,id,wtest,...)

Arguments

x

a numeric vector including the observed values; or a sdmEvaluate object

id

a numeric vector including the predicted values

wtest

specifies which dataset ('training','test.dep','test.indep') should be used (if exist) to calculate the importance of variables

...

additional arguments (not implemented yet.)

Details

getVarImp function returns an object including different measures of variable importance, and if be put in plot function, a barplot is generated:

Author(s)

Babak Naimi naimi.b@gmail.com

http://r-gis.net

http://biogeoinformatics.org

References

Naimi, B., Araujo, M.B. (2016) sdm: a reproducible and extensible R platform for species distribution modelling, Ecography, DOI: 10.1111/ecog.01881

Examples

## Not run: 
# if m is a sdmModels object (output of sdm function) then:

getVarImp(m,id=1,wtest='training') # variable importance based on training dataset

vi <- getVarImp(m,id=1,wtest='test.dep') 

plot(vi,'auc')

plot(vi,'cor')


## End(Not run)

[Package sdm version 1.0-49 Index]