Learn R Programming

MuMIn (version 1.7.0)

get.models: Get models

Description

Generate a list of fitted model objects from a model.selection table. pget.models can use paralell computation in a cluster to do that.

Usage

get.models(object, subset, ...)
pget.models(object, cluster = NA, subset, ...)

Arguments

Value

  • list of fitted model objects.

encoding

utf-8

See Also

dredge, model.avg

Examples

Run this code
# Mixed models:

require(nlme)
fm2 <- lme(distance ~ age + Sex, data = Orthodont,
    random = ~ 1 | Subject, method = "ML")
ms2 <- dredge(fm2)

# Get top-most models, but fitted by REML:
(confset.d4 <- get.models(ms2, subset = delta < 4, method = "REML"))

Run the code above in your browser using DataLab