ecospat.varpart: Variation Partitioning For GLM Or GAM

Description Usage Arguments Details Value Author(s) References Examples

Description

Perform variance partitioning for binomial GLM or GAM based on the deviance of two groups or predicting variables.

Usage

1
ecospat.varpart (model.1, model.2, model.12)

Arguments

model.1

GLM / GAM calibrated on the first group of variables.

model.2

GLM / GAM calibrated on the second group of variables.

model.12

GLM / GAM calibrated on all variables from the two groups.

Details

The deviance is calculated with the adjusted geometric mean squared improvement rescaled for a maximum of 1.

Value

Return the four fractions of deviance as in Randin et al. 2009: partial deviance of model 1 and 2, joined deviance and unexplained deviance.

Author(s)

Christophe Randin christophe.randin@unibas.ch, Helene Jaccard and Nigel Gilles Yoccoz

References

Randin, C.F., H. Jaccard, P. Vittoz, N.G. Yoccoz and A. Guisan. 2009. Land use improves spatial predictions of mountain plant abundance but not presence-absence. Journal of Vegetation Science, 20, 996-1008.

Examples

1
2
3
4
5
6
7
## Not run: 
ecospat.cv.example()
ecospat.varpart (model.1= get ("glm.Achillea_atrata", envir=ecospat.env), 
model.2= get ("glm.Achillea_millefolium", envir=ecospat.env), 
model.12= get ("glm.Achillea_millefolium", envir=ecospat.env))

## End(Not run)


Search within the ecospat package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.