consensus: Takes a consensus of several glmulti objects

Description Usage Arguments Details Value Author(s) References See Also

Description

The function takes a list of glmulti objects and returns a new glmulti object. This object contains the best models found in all passed objects, with duplicates removed. Useful to bring back together the different parts of a parallelized exhaustive screen, or to make the consensus of several replicate genetic algorithms.

Usage

1
consensus(xs, confsetsize = NA, ...)

Arguments

xs

A list containing glmulti objects, or filenames from which glmulti objects can be read on the disk (typically glmulti objects that have been saved using write with file="filename|object").

confsetsize

The number of best models to be included in the consensus object. If NA, all available models are included.

...

Further arguments, allowing to write custom S4 methods for this generic.

Details

The name of the returned object is the name of the first object passed, with "consensus-" prepended. The params slot of the returned object is taken from the first object too. Note that if not all glmulti objects in xs do contain fitted model objects, then no model object will be included in the returned glmulti object.

Value

A standard object of class glmulti

Author(s)

Vincent Calcagno, McGill University

References

Calcagno \& de Mazancourt 2010 J. Stat. Soft. v34 i12. See http://www.jstatsoft.org/v34/i12

See Also

glmulti


glmulti documentation built on July 2, 2020, 3:19 a.m.

Related to consensus in glmulti...