NEWS
MuMIn 1.48.4 (2024-06-22)
- Fixed DESCRIPTION issues causing R check problems.
- Registered previously omitted methods and supplemented package references in
the documentation.
MuMIn 1.48.2
- support for "unmarkedFit" has been reworked, with more models included
(all except the ones not using formulas as arguments, i.e. "occuMS" and
"occuMulti"), and random effects and offset terms now being recognized
(the latter reported by Jonathan Dinkins).
MuMIn 1.47.12
- removed links to archived packages in the manual and included some new
suggested packages to satisfy R Check.
MuMIn 1.47.10
- (fixed) 'r.squaredGLMM' now returns correct values for non-Bernoulli binomial
models with response as proportion and weights specifying the number of
trials. The result is now identical as for a model with response as a
2-column matrix (thanks to Emma Neigel for reporting this).
- removed 'logLik.coxme' as the package "coxme" now provides its own method.
MuMIn 1.47.8
- (added) 'duplicated' method for "model.selection" object.
- (added) replacement version of 'model.sel' that appends new models to an
existing "model.selection" object.
MuMIn 1.47.6
- (fixed) problem with matching interaction terms, affecting mostly 'model.sel'
(spotted by Francis van Oordt).
- removed backward compatibility with pre-0.15.0 "averaging" objects.
MuMIn 1.47.5 (2023-03-22)
- r.squaredGLMM: added support for additional families using
‘insight::get_variance'. This requires the addition of ’insight' to the package
dependencies, albeit very reluctantly, as in principle new dependencies are
only added as a very last resort.
- 'null.fit' and hence 'r.squaredLR' now work also with "survreg" class
(reported by Caroline Zanchi).
MuMIn 1.47.4
- (fixed) removed remaining references to 'stats:::format.perc'.
MuMIn 1.47.3
- (fixed) model.avg.default: duplicated interaction coefficients were returned
when the main effect coefficients appeared in different order in the
component models (spotted by Derek Corcoran).
MuMIn 1.47.2
- Updated methods for models of class 'Sarlm' and 'Spautolm' from the
package 'spatialreg' (reported by Iwona Dembicz).
MuMIn 1.47.1 (2022-08-31)
- Pleasing RCheck: updated NEWS file so that it can be parsed by the
'news' function.
MuMIn 1.47.0
- (changed) plot.model.selection: Most notable change is the way the
'col' argument is interpreted. The default colours use now
'hcl.palette' and differ from the previous version. There is no backward
compatibility.
- Long defunct 'mod.sel', 'tTable' and 'updateable2' have been removed.
'importance' is now defunct (use 'sw' instead).
MuMIn 1.46.7
- Rd files have been updated to meet changes in the HTML R help system,
starting with R 4.2.0. Hence, the minimum required version of R is now
4.2.0.
MuMIn 1.46.6
- (fixed) print.model.selection: Abbreviations now only include existing
values (i.e. after subsetting).
- (fixed) merge.model.selection: "modelList" attributes are now preserved.
MuMIn 1.46.5
- (fixed) getAllTerms.gamlss: error with intercept only models and formulas
containing offset (reported multiple times on Stackoverflow)
MuMIn 1.46.4
- (fixed) dredge: in a rare case when intercept terms were passed as "fixed",
some variable combinations were erroneously dropped from the result.
MuMIn 1.46.0 (2022-02-24)
- (fixed) r.squaredGLMM: now gives correct values for negative binomial models
(thanks to Shuang Zhang for research)
MuMIn 1.45.1
- (added) .vcov a wrapper for vcov returning result in a consistent format (a
matrix)
MuMIn 1.45.0
- pdredge is deprecated in favour of 'dredge' with "cluster" argument.
MuMIn 1.44.6
- added stringsAsFactors=TRUE to most 'as.data.frame' occurences to bring back
the desired behaviour (which changed in R 4.0.0).
MuMIn 1.44.5
- std.coef: now matches coefficient names with model matrix column names.
MuMIn 1.44.4
- coefTable.betareg - now includes residual df.
MuMIn 1.44.3
- (fixed) getAllTerms.zeroinfl: error when the function was called from
non-global environment (spotted by Richard Shefferson)
MuMIn 1.44.2
- (fixed) error with makeArgs (and hence dredge) with glmmTMB with non-symbol
response
MuMIn 1.44.1
- importance: is now formally deprecated with a warning. Use 'sw' instead.
MuMIn 1.44.0
- (added) plot method for the class "averaging" produces a dot-and-whisker plot
of coefficients. This uses a new general function 'coefplot' that can be used
to make plots for arbitrary model types.
MuMIn 1.43.19
- (fixed) plot titles in plot.coefTable
MuMIn 1.43.18
- r.squaredGLMM: issues a warning about zero-inflation and dispersion model
being ignored in the calculation of R2 rather than an error as before (request
from Alexander Bruckner, inspired by the code by Ben Bolker:
https://github.com/glmmTMB/glmmTMB/blob/master/glmmTMB/inst/misc/rsqglmm.R)
- (fixed) some issues with evaluating in non-global environment (‘updateable'
and ’na.action' checking)
MuMIn 1.43.17 (2020-04-15)
- Merely refreshing date stamp to please CRAN policies.
MuMIn 1.43.16
- (added) specs for 'unmarkedFitPCount' with mixture = "ZIP" (spotted by Hannah
Clyde)
- (fixed) r.squaredGLMM for binomial family models with N > 1 trials. The
fixed effects variance now accounts for trial number (thanks to Daniel
Schlaepfer)
MuMIn 1.43.15 (2019-12-20)
- (fixed) fatal error with QIC.geem introduced in the previous version
(reported by Lee McDaniel)
MuMIn 1.43.14 (2019-12-18)
- (fixed) example(QIC) causing an error after recent update of 'geepack'.
- Added quasiLik/QIC for the negative binomial family (reportedly supported only
by 'geeM::geem').
MuMIn 1.43.13
- (fixed) get.models: in the absence of a 'global model', the argument 'subset'
was ignored and a list of all models was returned.
MuMIn 1.43.12
- (fixed) [p]dredge: error while formatting the error message about an overlarge
number of predictors (found by a certain 89_Simple on Stackoverflow).
MuMIn 1.43.11
- (fixed) getAllTerms now recognizes structured terms of form
'struc(terms|group)' properly as random effect terms;
- (fixed) dredge, model.sel: delta was not calculated if any rank was NA.
MuMIn 1.43.10 (2019-12-05)
- (removed) conflicting methods which are now defined in their 'survival'
package (nobs.coxph, nobs.survreg). Because of that, MuMIn now depends on
survival >= 3.1.0.
MuMIn 1.43.9
- (fixed) 'r.squaredGLMM' failed when order of interaction components in RE part
of model formula were not in order of appearance (found by
Gabriel Baud-Bovy)
- (removed) 'predict.merMod' replacement to avoid the conflict of registered
methods. Note that the original method does not calculate 'se.fit', so
currently there is no out-of-box way to produce averaged predictions with
standard errors.
MuMIn 1.43.8
- (fixed) methods for 'gamlss' (reported by Andras Farkas)
MuMIn 1.43.6 (2019-04-09)
- (fixed) if conditions with "length > 1 in coercion to logical" error produced
by the new Rcheck.
- (fixed) updated 'tests' to make up for 'spautolm' moved from 'spdep' to
'spatialreg'.
MuMIn 1.43.4
- (fixed) minor changes to the quasi-likelihood function
MuMIn 1.43.3
- (added) methods for 'gamlss' (suggested by Anne Loosen)
- (fixed) QIC,quasiLik: now gives results compatible with those of
wgeesel::QIC.gee.
MuMIn 1.43.2
- 'sw' (for "Sum of Weights") is now preferred to 'importance' (which is still
available, but is going to be deprecated in future). This is because of the
controversies about SoW being a valid measure of actual variable importance.
- [p]dredge: max. number of predictors is now correctly calculated (depending on
the number of variants)
MuMIn 1.43.1
- (added) new model structure for unmarkedFitGDS (gdistsamp) with alpha
parameter (thanks to Alba Estrada)
MuMIn 1.43.0
- (fixed) in QICu, the number of parameters was mistaken for number of
observations (reported by Richard Fredrickson)
- (added) some methods for wgeesel::wgee objects.
MuMIn 1.42.5
- r.squaredGLMM: added the argument "envir" which is passed to '.nullFitRE'.
This can be used in case of issues with model data not being found (reported
by Eliot McIntire)
MuMIn 1.42.4
- (fixed) r.squaredGLMM.merMod: error when the function was called in an
environment different than .GlobalEnv (spotted by a certain Martin on
Stackoverflow)
MuMIn 1.42.3
- (added) dredge: the subset expression ‘.(x)' now accepts an additional
argument for the allowed term orders. For example '.(X, 2:10)' means "at least
one 2nd or 3rd order interaction of ’X'". The '.' pseudo-function has also a
new alias: "with", e.g. 'with(X, 2:10)'.
MuMIn 1.42.2
- (fixed) r.squaredGLMM: handle the case when some coefficients are not
estimated and NA
MuMIn 1.42.1 (2018-07-23)
- tests have been modified to prevent CRAN check errors on some systems.
- (fixed) arm.glm, armWeights: now use a random sample to select a training set.
armWeights: no longer give a warning about "longer object length"
MuMIn 1.42.0
- (updated) methods for "unmarkedFit" models have been rewritten and should work
properly with all subclasses. Added missing support for
"unmarked::unmarkedFitOccuFP" (reported by Tara Hohoff)
- R2GLMM added an option to disable "null fit warning"
- (fixed) getAllTerms.lme: now gives a correct value for response in "binomial"
glmmPQL ("zz" previously)
- (fixed) testSmoothKConsistency: (used by ‘model.avg' with ’gam' models) works
now with 'gam's including no smooth terms.
MuMIn 1.41.1
- (fixed) workaround for clmm's (package "ordinal") annoyance: it needs explicit
"1" in the formula if there are no other fixed terms. That resulted in
intercept-only model calls generated by 'dredge' being rejected.
NA
MuMIn 1.41.0
- (updated) r.squaredGLMM: revised to incorporate new developments in
Nakagawa et al (2017). Methods exist for merMod, glmmTMB, glmmADMB, glmmPQL,
cpglmm, and lm classes.
MuMIn 1.40.8
- Model description - simplified handling of the model's family description in
the model selection tables, so it does not require 'family()$family' string
being an existing function name. The drawback is that now a default link
function is not detected and its name always appears in the column (before
e.g. "binomial(logit)" appeared as "binomial()").
MuMIn 1.40.7
- Addad a workaround to accommodate glmmTMB specific families (which do not have
a matching function) (reported by a certain Gitu on Stackoverflow)
MuMIn 1.40.6
- (fixed) makeArgs, getAllTerms: compatibility with glmmTMB - random terms in
formulas other than cond have not been handled properly (discovered via
Mollie Brooks on GitHub)
MuMIn 1.40.5
- ‘.checkNAAction' now handles a case of ’na.action' formal argument being a
call (e.g. 'getOption(na.action)' in glmmTMB) (spotted by Ben Bolker)
MuMIn 1.40.4 (2018-01-30)
- Elaborated the Description field.
MuMIn 1.40.3
- Removed superfluous method replacements for models from package "survival".
'predict' functions for "gls" and "lme" are no longer registered as S3
methods in NAMESPACE.
MuMIn 1.40.2
- (fixed) getAllTerms.glmmTMB: error with models including offset term
(spotted by Kate Plummer)
MuMIn 1.40.1
- (added) Support for "glmmTMB" models (incentive from Kaitlyn Zerr)
MuMIn 1.40.0 (2017-10-02)
- (fixed) long broken support for "unmarkedFit" models has been restored
(because of the utterly inconsistent structure of these objects it is not
guaranteed to work in all cases).
- (fixed) R.squaredGLMM: error with very long RE formulas (reported by Siti
Binte Faizal)
MuMIn 1.16.7
- A few minor things fixed.
MuMIn 1.16.6
- (fixed) print.summary.averaging: warning when fitting function name was a call
rather than a symbol, e.g. lme4::lme (reported by Chen Lei).
MuMIn 1.16.5
- (fixed) predict.gls updated to match current version in nlme (reported by a
certain Asteraceae on Stackoverflow)
MuMIn 1.16.4
- (fixed) makeArgs.mark: reverted to a working version (this bug was introduced
in 1.15.2/rev. 373. Reported by Jay Rotella)
MuMIn 1.16.3
- (fixed) dredge: recognizes when global model's data is a function in a smarter
way
MuMIn 1.16.2
- (fixed) plot.model.selection: problem in case with only one model in the table
(reported by Ryan Rothman on Stackoverflow)
- dredge: recognizes when global model's data is a function (which is not
allowed as it may cause sub-models being fitted to different datasets)
MuMIn 1.16.1
- New suite of functions to support model averaging. It is based on original
code developed by Carsten Dormann, as an outcome of the model-averaging
workshop held in Freiburg in 2015.
- (added) cos2Weights, BGWeights, jackknifeWeights, stackingWeights: calculate
various types of model weights.
- (added) loo: RMSE/log-likelihood based on leave-one-out cross-validation
- (added) armWeights: similar to 'arm.glm' but produces model weights.
- (fixed) model.avg/model.sel: problems with intercept only models
(spotted by a certain Teresa on Stackoverflow)
MuMIn 1.15.8
- (fixed) dredge: no longer produces an error in the rare case when dependency
matrix was an empty matrix [0x0].
- (fixed) r.squaredGLMM: error with naming of variance components in 'lmer'
models. (both problems reported by a certain Teresa on Stackoverflow)
- (added) Weights: has an assignment version, so weights can be applied to an
"averaging" object.
- get.models: now can extract models also from an "averaging" object (only when
it was created with model objects).
MuMIn 1.15.7
- (fixed) dredge: number of variables is limited to 30 to avoid integer overflow
(reported by Sarah Grogan).
MuMIn 1.15.6 (2016-01-07)
- (fixed) get.models, dredge, subset.model.selection: enclosure for the subset
expression evaluation is now 'parent.frame()' rather than '.GlobalEnv' as it
was before (incentive from Philipp Maier).
- (fixed) coeffs.survreg, coefTable.survreg: log(scale) added to coefficients,
when it is estimated (suggested by Nicolas Rode).
MuMIn 1.15.5
- (fixed) [p]dredge: error with model with offsets in formula when 'subset'
expression was given (reported by Adam Cummings)
- (fixed) [p]dredge: in some cases the generated combinations did not obey the
subset matrix (reported by Ben Augustine)
- (fixed) model.selection column assignment "[<-" was broken when (spotted by a
certain abmiller8 on Stackoverflow)
- model.avg: warns when averaged 'gam' models have smooths with different
dimension for the same variable.
MuMIn 1.15.4
- (fixed) rbind, merge methods for "model.selection": wrong order of names of
columns and rows (spotted by Ben Augustine)
MuMIn 1.15.3
- (fixed) Weights: bug that caused that NaN's were returned (reported by Carles
Alcaraz)
MuMIn 1.15.2
- (added) summary.coefTable: tries to calculate p-values for coefficients, nicer
printing using printCoefmat
MuMIn 1.15.1 (2015-07-03)
- added imports from all the default packages added to NAMESPACE in order to
satisfy CRAN's new stricter RCheck.
MuMIn 1.15.0
- (added) arm.glm: implements model averaging with weights calculated via ARM
("adaptive regression by mixing") algorithm.
- "averaging" object: the elements "coef.shrinkage" and "coefTable" are replaced
by matrix named "coefficients". The "Pval-tables" are accessed via
summary(averaging)'s elements "coefmat.full" and "coefmat.subset". Objects
created with previous versions will be automatically converted if needed.
- [p]dredge: argument 'm.lim' replaces 'm.min' and 'm.max' (which are still
present, but deprecated).
- "model.selection" object: changing or removing essential columns (i.e.
everything except 'varying' and 'extra') converts the object to a plain
"data.frame" and drops all additional attributes.
- (added) rbind.model.selection: combine multiple "model.selection" objects.
- (added) 'xtable' methods for "averaging" and "model.selection" objects.
- (fixed) updateable: does not cause infinite recursion when the resulting
wrapper has the same name as the wrapped function.
- (fixed) exprApply: now can deal with function expressions and 'expression's
longer than one.
MuMIn 1.14.1
- (fixed) [p]dredge no longer gives coefficient values as NA with [g]lmer
(reported by Aitor Cevidanes).
- Some tidying-up of manual and data (response in 'Cement' and 'Beetle' moved to
first column so that formula(data) is correct).
MuMIn 1.14.0 (2015-06-05)
- (added) partial.sd, std.coef: calculate partial std. deviation and standardize
model coefficients. 'beta.weights' is now deprecated in favour of
'std.coef'.
- dredge, model.avg, model.sel: argument 'beta' is modified to allow for
standardizing with SD or partial SD.
- coefTable, coeffs: method for class 'aodml' (package 'aod3') no longer return
'phi' coefficients. This is for consistency with results of 'vcov' and
'coef', as well as their counterparts for 'glimML' models.
- Removed all methods for 'mer' objects (used in lme4 < 1.0.0)
MuMIn 1.13.10
- (fixed) compatibility with lme4-1.1.8, 'null.fit' now works properly with
'gamm' objects.
MuMIn 1.13.9
- stdize: improved interpretation of the argument "scale".
- new dataset "GPA" ("First-year college Grade Point Average" referred in
Burnham & Anderson (2002)).
MuMIn 1.13.8
- (added) QIC support for 'geem' models (request from Lee McDaniel).
MuMIn 1.13.7
- coefTable: method for 'averaging' objects gains new arguments "full" and
"adjust.se".
- (fixed) getAllTerms: now correctly names coefficients of 'unmarked::gdistsamp'
models (reported by Nathan Hostetter)
MuMIn 1.13.6
- (fixed) model.avg, model.sel: now better distinguish model objects from lists
of objects.
MuMIn 1.13.5
- (fixed) r.squaredGLMM: method for 'lme' class with a multilevel grouping
structure (reported by Alex Gunderson)
MuMIn 1.13.4 (2015-02-25)
- coefTable.coxph: added workaround for the case when variance-covariance matrix
is NA (as in results of 'intcox') (reported by Vanessa Boukili)
MuMIn 1.13.3
- get.models+subset.model.selection: unified 'subset' expression interpretation
- dredge: no longer exceeds memory limit with very complex models, and its
efficiency has somewhat improved. With trace=2 a progress bar is displayed.
- model.sel: has new attribute 'fit'.
- "averaging" object now stores component models.
- model.sel,subset,get.models: unified interpretation of the "subset" expression
- (fixed) extracting random effects formula (affected 'r.squaredGLMM' for
'lmer', reported by Yevgen Matusevych)
- (fixed) makeArgs (and hence 'dredge'): formulas with no intercept are now
handled correctly in 'zeroinfl' models.
MuMIn 1.13.2
- (fixed) makeArgs (and hence 'dredge'): gave error if no random effects was
specified in 'glmmadmb' model (reported by Szymek Drobniak).
MuMIn 1.13.1
- (fixed) getAllTerms: now properly handles single formula in 'hurdle' and
'zeroinfl' models (package 'pscl').
MuMIn 1.13.0
- (added) get.response: utility to extract response variable.
MuMIn 1.12.4
- (added) stdizeFit: utility to modify model object or a call to modelling
function to use standardized data.
MuMIn 1.12.3
- (fixed) checkModels: workaround for the "dotted argument identity" issue
(namely sometimes equal "..1"s are not identical).
MuMIn 1.12.2
- (fixed) [Q]AICc: previously they ignored REML argument for some model classes.
The code has been rewritten so that most of the core calculation is done by
a common internal function.
MuMIn 1.12.1 (2014-12-17)
- minor corrections to the documentation
MuMIn 1.12.0
- (added) exprApply: new function to manipulate expressions (with example of use
with 'dredge' to manipulate terms inside formula).
- dredge, subset.model.selection: curly braces can be used to indicate complex
terms (e.g. {I(x)} or {s(x,k=2}) instead of backtick quotes. Spacing in these
expressions is irrelevant (as both whitespace and backticks seem to be a
problem for some users).
MuMIn 1.11.3
- (added) stdize: new function for standardizing data
- (fixed) smarter sorting of interaction terms in coefficient names
- print.model.selection: rank function call is added to the output
MuMIn 1.11.2
- (fixed) r.squaredGLMM: in "binomial" family models the residual variance is
used for additive dispersion (thanks to Paul Johnson). There is still issue
with 'lmer' with 'subset' argument, and observation-level random term has to
be specified manually.
- (fixed) some formula-decomposition related functions (that sometimes caused
problems with 'r.squaredGLMM' for 'lmer', reported by Yevgen Matusevych)
- dredge: warns about potentially misspecified arguments
- (added) predict method for 'gamm' class
MuMIn 1.11.1
- dredge: more efficient checking for marginality in model terms (~10x faster in
case of 4-way interaction). The argument 'marg.ex' is removed (exceptions to
marginality rule are inferred from the global model).
- getAllTerms: result has a new attribute 'deps' with a "term dependency matrix".
- nested: new function listing nested models (suggested by Giacomo Assandri).
- updateable: added new argument 'eval.args'
MuMIn 1.10.8
- dredge, subset.model.selection: improved interpretation of 'subset' expressions.
"Term(x)" notation can be used instead of backtick quotes for complex term
names.
MuMIn 1.10.7
- (fixed) coef.multinom: gave a wrong order of coefficients for multiple level
responses (thanks to Alistair Senior who spotted this)
MuMIn 1.10.6
- (added) methods for 'maxlike' (from package with the same name)
- lazy loading of datasets
- plot.model.selection: improved and documented
MuMIn 1.10.5 (2014-08-12)
- get.models: can now use parallel computation if a valid 'cluster' is provided.
It takes over the functionality of 'pget.models', which is now deprecated.
Also, the argument 'subset' must be now explicitely provided (so all models
are no longer fitted by default).
MuMIn 1.10.4
- (fixed) importance, model.avg: wrong order of 'N containing models' attribute
(bug reported by Alba Estrada)
- r.squaredGLMM: should be considerably faster and memory efficient due to
improved calculation of random effects variance (slow performance with large
datasets reported by Daniel Ezra Johnson).
MuMIn 1.10.3
- (fixed) dredge: no longer drops random term in 'glmmadmb' models (spotted by
NA
MuMIn 1.10.2
MuMIn 1.10.1
- dredge: more meaningful warning message about misspecified 'fixed' argument
- pdredge: synchronized code with 'dredge'
- documentation: improved formatting
MuMIn 1.10.0 (2014-05-14)
- r.squaredGLMM: throws an error if contrasts that have been used for random
factors in the "merMod" model do not match the ones in model matrix. This
happens if there are factors in random slope formula and user has changed
relevant 'options(contrasts)' since the model was fitted.
- dredge: 'na.action' checking now allows "option(na.action)" to be a function
and not only character string.
MuMIn 1.9.26
- (fixed) dredge: when columns/rows in a subset matrix were in different order
than model terms, the values became wrongly rearranged (spotted by a certain
Frank on Stackoverflow).
MuMIn 1.9.25
- (added) methods for 'cpglm' and 'cpglmm' (from package 'cplm') (suggested by
Andrew Cooper)
MuMIn 1.9.24
- (fixed) 'getAllTerms.unmarkedFit' gave error when 'alpha' was estimated in
pcount model (reported by Lindsey Garner)
MuMIn 1.9.23
- (added) methods 'model.matrix' and 'model.frame' for 'lme', because the
default ones give wrong results when there is 'subset' or 'contrasts' set, or
'na.omit'ting.
MuMIn 1.9.22
- r.squaredGLMM: can be now applied to models with random slopes (based on idea
and R code by Paul Johnson). Added calculation of conditional R^2 for Poisson
family models.
MuMIn 1.9.21
- logLik.asreml: number of estimated parameters ('df') is now calculated as the
number of fixed effect coefficients + number of variance parameters (non-fixed
and non-constained). This gives comparable numbers to similar lmer models. In
'Asreml-R manual', however, only the number of variance components is used as
K for AIC calculation (page 15). The log-likelihood values of asreml are far
different from those from lmer(REML = TRUE), even though coefficients are very
close. Note also that REstricted-likelihood is returned, so model comparisions
based on it are invalid.
- r.squaredGLMM: checks if it is applied to a random intercepts model, otherwise
error is given. This is a limitation of the original formula by Nakagawa and
Schiezlich.
MuMIn 1.9.20
- (added) methods for 'phylolm' (suggestion by Rafael Maia)
MuMIn 1.9.19
- (added) 'merge.model.selection' combines two 'model.selection' tables. Note
that this is different than 'merge' for 'data.frame's (requested by Rafael
Maia)
MuMIn 1.9.18
- (added) methods for 'asreml' model (in commercial package 'asreml'). Note this
has not been tested extensively (thanks to Emeline Mourocq for an incentive
and testing)
MuMIn 1.9.17
- full-averaged coefficients and standard errors are now calculated by
'model.avg' and relevant methods (argument full = TRUE) (suggested by Candan
Soykan)
- importance: result gives now also number of models containg each variable.
MuMIn 1.9.16
- model.sel: now accepts arguments 'extra' and 'beta', like 'dredge' (requested
by D. Duro on R-Forge).
MuMIn 1.9.15
- [p]dredge: improved checking for whether the global model removes missing data
(na.action = "na.omit" or "na.exclude"). Note that code working with
previous versions may give you an error now, setting options(na.action =
"na.fail") prevents it.
MuMIn 1.9.14
- (added) support for 'betareg' (from package 'betareg') (suggested by
Marie-Line Gentes)
- (added) support for 'aodml' and 'aodql' (from package 'aods3') (suggested by
Renaud Lancelot)
[p]dredge: fixed a bug that occurred when there was 'na.action=na.omit' in
global model (spotted by Laura Busia on R-help).
MuMIn 1.9.13 (2013-10-29)
- (fixed) handling response variables with more than two levels in
'nnet::multinom' models (reported by Ludo Duvaux on Stackoverflow)
MuMIn 1.9.12
- further adjustments to deal with unavailability of 'lme4' on CRAN
MuMIn 1.9.11 (2013-10-18)
- Documentation: examples that depend on suggested packages have been made
conditional on availability of the package
- getCall method for 'model.selection' can retrieve a component model call if
index is given as a second argument.
MuMIn 1.9.10
- pdredge: removed global assignments (within cluster nodes).
MuMIn 1.9.9
- (fixed) beta.weights: bug with dimensions dropped (spotted by Dennis Duro,
thanks to Ben Bolker for tracking it down)
MuMIn 1.9.8
- (fixed) handling bar in formulas for 'hurdle' class of models (reported by
Jean-Yves Barnagaud)
MuMIn 1.9.7
- dredge: 'subset' expression now recognizes ".(x)" notation to indicate a
variable rather than a model term. Error message from within a 'rank' function
gives now a more meaningfull call (apparently it is a common mistake to have
some misspelled arguments that get passed to 'rank' function through '...').
MuMIn 1.9.6
- model.sel: better model naming in the result table
- (fixed) logLik.coxme: 'nobs' attribute now uses a correct number of
observations (model$n[2]). "penalized" log-lik. is the default type now (Note
that "logLik.coxme"'s argument "type" is undocumented).
MuMIn 1.9.5 (2013-04-11)
- (fixed) AICc: now takes number of observations from "nall" (if it is
available) attribute of the 'logLik' object. If not present, "nobs" attribute
is used.
- r.squaredGLMM: current implementation does not calculate the marginal variant
correctly for Poisson family models, so until it is resolved 'NA' is returned,
with a warning.
MuMIn 1.9.4
- (fixed) pdredge: bug with wrong number of updated rows.
- Replaced all calls to the soon-to-be deprecated ".find.package" with
"find.package".
MuMIn 1.9.3
- (fixed) method registration for 'getAllTerms.gam' was missing (reported by
Steven Delean).
MuMIn 1.9.2
- updateable: new function to create a wrapper for functions returning
non-updateable objects (adds a 'call' element to the function's result).
- (renamed) removed 'gamm' wrapper, which is now replaced by 'uGamm'.
- (added) 'predict' method replacement for 'gls' models (adds 'se.fit'
argument).
- model.avg: no longer returns residuals (this is because residuals for models
other than 'lm' can be calculated in several different ways - with different
results).
MuMIn 1.9.1
- (fixed) bugs with 'MCMCglmm' models and 'varying' lists in 'dredge'.
MuMIn 1.9.0 (2013-01-24)
- This version brings in more elaborated subsetting of models in 'dredge' and
'model.selection' object, and a new variant of pseudo-R^2.
- [p]dredge: 'subset' can use 'varying' variables (as "V(varying.variable)") and
number of model terms (as ‘*nvar*'). This allows for better fine-tuning of
the selection table.
’fixed' argument can be set to TRUE to fix all terms of 'global.model'.
[p]dredge, subset.model.selection: 'subset' expressions can now make use of a
new function 'dc' ("dependency chain") to make inclusion of variables
conditional on other variables.
- r.squaredGLMM: new function to calculate R^2 statistic for mixed effect
models, described by Nakagawa & Schiezlich (2012).
- (added) support for 'splm' (from package 'splm'), and 'logistf' models (from
package 'logistf').
- Cp: now accepts more than one model (like 'AIC').
- New demos "dredge.varying", "dredge.subset" and "gees".
MuMIn 1.8.2
- (added) support for models of class 'mark' (from package 'RMark'). 'dredge'
can currently only manipulate 'formula' element of argument
'model.parameters'.
- simplify.formula, expand.formula: new functions to convert formula between
expanded and shorthand notation (i.e. between 'a+b+a:b' and 'a*b').
- model.names: has new argument "use.letters".
MuMIn 1.8.1
- (added) methods for class 'merMod' to accommodate recent changes in
lme4_0.99999911-0.
- getAllTerms: now recognizes random effects in 'MCMCglmm'.
MuMIn 1.8.0 (2012-11-22)
- This version introduces support for GEE models ('gee','geeglm' and 'yags')
ranked by QIC (note that 'yags' seems to be still quite buggy). Also 'clmm'
and 'clm' from package 'ordinal' are now handled properly.
- QIC, quasiLik: new functions for use with GEE models.
- [p]dredge: argument 'subset' can be now a logical matrix representing allowed
parameter combinations. Some improvements for speed have been made.
- [p]dredge, model.avg: new argument 'ct.args' for passing extra arguments to
'coefTable'.
MuMIn 1.7.12 (2012-11-11)
- tests/classes.R: fixed compatibility spdep-0.5.53. (spdep::spautolm now uses
method = "eigen", was "full")
MuMIn 1.7.11 (2012-07-18)
- coefTable.multinom: fixed an error when coefficients and standard errors were
matrices.
- get.models: now checks for the object class of the passed arguments.
MuMIn 1.7.10
- (fixed) dredge: bug with an error message when number of predictor exceeded
maximum (thanks to Corina Logan for spotting this).
- manual: added 'glmmADMB' to the list of supported classes (reported by Rocio
Jana).
- 'coxme' moved from 'Suggested' to 'Enhances' (to avoid build error when the
dependency is missing).
MuMIn 1.7.9
- (added) 'predict' methods for 'lme' and 'lmer' (both can calculate 'se.fit').
'predict.lme' is a wrapper for its namesake from 'nlme' package (it is
not exported, so it's visibility depends on the order the packages were
loaded - but is always visible from MuMIn namespace).
MuMIn 1.7.8
- (fixed) 'coef.model.selection' returns now proper coefficients
MuMIn 1.7.7 (2012-04-01)
- (fixed) dependencies in tests
MuMIn 1.7.6
- dredge: with nested formula designs, 'marg.ex' is now found automatically
- predict.averaging: is now more flexible in how the predictions from
generalized models are calculated (new attribute "backtransform").
MuMIn 1.7.5
- (added) methods for 'MCMCglmm' class, and function 'DIC': works with
'model.sel' and 'dredge' (but not 'model.avg').
'unmarked' is removed from 'Suggested' packages (recently it is often
unavailable on CRAN and causes errors during R CHECK). Added workarounds to
pass (or trick) the R CHECK.
MuMIn 1.7.3
- (added) methods for 'glimML' class from package 'aod'
MuMIn 1.7.2 (2012-01-31)
- (fixed) 'nobs.coxme' returned the number of events was returned rather than
the number of observations.
- (fixed) 'coefTable' gave an error for 'coxph' null model.
- (fixed) 'r.squaredLR' was evaluating the null model for 'lme' in a wrong
environment.
- (fixed) 'getAllTerms' method for 'zeroinfl' was not registered.
- dredge: checks each generated model for the correct number of observations.
MuMIn 1.7.1
- (added) methods for 'hurdle' and 'zeroinfl' classes (package 'pscf').
- coef, coefTable: new methods to extract coefficients from model selection
tables.
- Documentation: list of supported models put into a separate page.
MuMIn 1.7.0 (2012-01-25)
- This version adds possibility to model average and re-rank (with another IC) a
model selection table without recreating the fitted models. Models from
package 'coxme' are now supported. Model selection tables include now extra
columns showing differences in attributes of the modelling function call.
- model.avg: use 'model.selection' without refitting the models. Fixed a problem
with averaging different types of models together (happened when 'df's were
available only for some of component models).
- dredge: coefficient tables added to the result (attribute "coefTables"). The
code has been simplified.
- print.model.selection: now reports random terms also for objects generated by
'model.sel'.
- get.models: can handle 'model.selection' objects from 'model.sel'
- model.sel: re-ranking 'model.selection' without recreating original models
(works only if the IC can be applied to logLik). Output has additional columns
showing differences between models (based on call's arguments)
- (added) generic methods for 'coxme' and 'lmekin' classes (package 'coxme').
MuMIn 1.6.6 (2012-01-14)
- model.avg: fixed error occurring when non-estimable coefficients existed in
the component models (problem reported by Annabel Smith)
MuMIn 1.6.5 (2011-11-28)
- pdredge example changed to use SOCK cluster type (portability issue).
MuMIn 1.6.4 (2011-11-27)
- coefTable: replaces 'tTable' (which still exists, but is deprecated), it
accepts an argument 'dispersion'. The dispersion parameter can be also passed
from 'model.avg'.
- pdredge: collects all the warnings and errors which occur during fitting, and
stores them. They are printed below the table.
The function does more thorough checking of the cluster nodes' environment,
for possible missing variables and functions.
- get.models: "subset" argument can be now a character vector giving model
names.
- (added) demos for model selection with models from 'unmarked' package using
'dredge' and 'pdredge'.
MuMIn 1.6.3
- pget.models: new function, parallel version of 'get.models'.
- (p)get.models: important change of the default behaviour: without the 'subset'
argument, ALL models are returned. Also the '...' arguments were not used to
update the returned models - this is corrected now.
MuMIn 1.6.2
- pdredge: new function, a parallel version of dredge (experimental).
MuMIn 1.6.1 (2011-11-13)
- dredge: added generic support for all 'unmarked' models, and fixed some bugs
with it.
- model.names: new function (previously was internal only)
- CAICF: adds to the collection of rarely used information criteria.
MuMIn 1.6.0 (2011-11-06)
- dredge: most important change (although invisible to the user) is in the way
the model objects are updated. The new function 'makeArgs' is used to generate
the updated call. This results in a very flexible interface to the modelling
functions. The default method updates the 'formula' argument, other methods
can be used to deal with more problematic calls (the models from package
'unmarked' were a challenge). Apart from the model classes previously
supported by 'dredge', support for 'unmarkedFitOccu', 'unmarkedFitColExt' and
several other 'unmarkedFit' objects has been added.
- dredge: has new argument 'extra' to add additional statistics into the model
selection table.
- r.squared: new function to calculate likelihood-ratio based pseudo-R-squared
- subset method for 'model.selection': accepts a shorthand notation "has(x)" to
select rows where a variable is present.
- (added) support for 'survreg' and 'rq' models (packages 'survival' and
'quantreg')
MuMIn 1.5.2 (2011-10-23)
- dredge: fixed a bug with wrong ordering of column names in the returned
data.frame (thanks to Staffan Roos for reporting this).
MuMIn 1.5.1
- compatibility with R prior to 2.13.0: added workarounds for missing generic
function 'nobs'.
MuMIn 1.5.0 (2011-10-19)
- model.avg: removed the argument "method", the standard errors and confidence
intervals are calculated only for coefficients averaged within a subset of
models where they are present (method = "NA"). The "full" coefficients are
also returned, but without std. errors.
- plot.model.selection: new function to visualize the model selection table
- manuals expanded, examples revised
- getAllTerms: should work for most of the classes derived from 'unmarkedFit'
- a load of small improvements, polishings and fixes, generally invisible to the
user.
MuMIn 1.4.4
- QAIC: no longer uses model deviance, as it gave biased values.
- ICOMP, Cp: new information criteria
- model.avg: now performs a smarter check for duplicate models, fixed
calculation of importance values
- model.sel: new alias to 'mod.sel' (eventually will replace 'mod.sel').
MuMIn 1.4.3
- Beetle: new data - beetle mortality, with examples from B&A's book
- dredge: new arguments 'varying', 'm.min' and 'evaluate'
- manuals modified and corrected
- tests/gamm.R: tests for 'gamm'/'gamm4' support.
MuMIn 1.4.2
- support for 'gamm' and 'gamm4'
- gamm: added a wrapper for gamm, that allows for updating the object (hopefully
needed only temporarily)
MuMIn 1.4.1
- A few changes to vignette 'gamm'
MuMIn 1.4.0
- importance: new function
- mod.sel: added method for a 'model.selection' object
MuMIn 1.3.10 (2011-09-23)
- Reverted changes made in previous version (package dependencies) to
pass R check.
MuMIn 1.3.9
- removed *.lmer *.glmer methods, added dependency on lme4 >= 0.999375-16
- tTable.mer: minor change
MuMIn 1.3.8
- Restored compatibility with R 2.12.2
- getAllTerms: new attribute 'intercept'
MuMIn 1.3.7
- handling double intercept (phi(Int) and p(Int)) in 'unmarked'
MuMIn 1.3.6 (2011-09-13)
- changes in the documentation and vignette
MuMIn 1.3.5
- mod.sel: new function
- added methods for 'unmarkedFit' objects (package 'unmarked'), to provide
(limited) support in 'model.avg'
MuMIn 1.3.4
- Added vignette document on model selection with 'gamm' and 'gamm4'
(thanks to Graham MacDonald for an incentive)
MuMIn 1.3.3
- dredge: small improvements, no longer dependent on 'bitops'
- Polished the documentation
MuMIn 1.3.2
MuMIn 1.3.1
MuMIn 1.3.0
- model.avg: now may be used directly with 'model.selection' object
- summary.averaging: gives now more information
MuMIn 1.2.4
- fixed handling of spatial parameters (lambda, rho) in models from package
'spdep'
- dredge: modified for better performance
- dredge, get.models: can deal with glms with starting values provided ('start'
argument)
- QAIC: added a note in documentation stating that is uses deviance rather than
logLik in the calculation
MuMIn 1.2.3
- fixed some REML/ML issues, AICc rewritten (based on the new AIC code in stats)
MuMIn 1.2.2
- nobs: corrected methods for mixed models, added documentation page
MuMIn 1.2.1
- .GetLogLik - hidden helper function (returns the proper logLik to use)
MuMIn 1.2.0
- AICc has new argument REML used with mixed models. Thanks to Benjamin
Augustine for suggestion.
MuMIn 1.1.2
- removed arguments 'alpha' and 'level' from model.avg. 'confint' is used
instead to obtain CI.
MuMIn 1.1.1
- the printed output of 'averaging' has been made consistent with that of lm and
glm: 'print' gives concise information and 'summary' gives more details.
- confint.averaging: new function.
- print.summary.averaging: new function.
MuMIn 1.1.0
- added z-statistic, p-values (with significance stars) to model.avg output
MuMIn 1.0.0 (2011-03-01)
- get.models: fixed - arguments in ... were not passed to updated models
- predict.averaging: predictions on response scale can be calculated
(type=response)
- new functions (not exported): nobs, coefDf
- model.avg: now makes use of correct DF from component models in calculation of
adjusted SE
- par.avg: calculates ASE if df are provided, example(QAIC) now demonstrates
predictions with confidence intervals
MuMIn 0.14.2
- dredge: small changes, slightly faster
- manual corrected
MuMIn 0.14.1
- vcov.averaging, logLik.averaging: new methods,
- revised formula for unconditional variance
- manual reworked
MuMIn 0.14.0
- TODO: model.avg: added npar to the selection table
- predict.averaging: now can return averaged SE
- par.avg: may use revised formula for calculating averaged SE
MuMIn 0.13.21 (2011-01-19)
- dredge: handling of update'd lmer models improved
- QAICc: new function
MuMIn 0.13.20
- Namespace exports updated (coxph methods)
- dredge: uses now QAIC for glms with 'quasi*' family, and if no rank is
specified
MuMIn 0.13.19
- model.avg: fixed wrong ordering of model names (thanks to Dennis Jonason for
noticing this)
MuMIn 0.13.18
- Support for coxph (package survival)
MuMIn 0.13.17 (2010-09-21)
- model.avg: fixed a bug with models with binary response;
- dredge: added checking for na.omit'ting in the global model.
- new tests: varia.R
MuMIn 0.13.16
- dredge, model.avg: broken support for several types of models was fixed
MuMIn 0.13.15
- support for 'MASS::multinom'
MuMIn 0.13.14 (2010-09-06)
- print.model.selection: empty columns are not printed now
MuMIn 0.13.13
- dredge: handling of models with no intercept, added "call" attribute
- update.model.selection: new function
MuMIn 0.13.12
- dredge, getAllTerms, dredge.Rd: small modifications
MuMIn 0.13.11
- getAllTerms: improved handling of interactions, random terms (lmer) and
"offset()"
- formulaAllowed: now allows for exceptions in margins presence checking (new
argument: "except")
- dredge: now tries to call fitting function directly rather than through update
(more effective in case when model not passed as a variable). New arguments:
"trace", and "marg.ex" - marginality checking exceptions.
MuMIn 0.13.10
- getAllTerms: fixed a bug with with wrong ordering of interaction terms
(resulted with a:b or b:a depending on the set of terms). Improved handling of
random terms in lme.
MuMIn 0.13.9 (2010-08-25)
- dredge: fixed bugs introduced in the previous version
MuMIn 0.13.8 (2010-08-05)
MuMIn 0.13.7
- dredge: prints errors generated by models as warnings (previously these were
skipped silently)
MuMIn 0.13.6
- print.model.selection: improved column abbreviation.
MuMIn 0.13.5
- dredge: fixed a bug causing interaction coefficients to be stripped from
model.selection table, new function 'fixCoefNames' (not exported) handles
proper ordering of interaction components in coefficient names.
MuMIn 0.13.4
- 'beta.weights' now uses 'tTable' (support for more model types), 'dredge' with
beta=TRUE tries out if it can get beta.weights working.
- Manual: added gls and rlm to the list of supported models
MuMIn 0.13.3 (2010-07-24)
- Bug fixed in print.averaging
MuMIn 0.13.2
- Attributes for custom rank function in "dredge" and "model.avg" are now
evaluated model-wise, if provided as expressions.
MuMIn 0.13.0-1
- Fixed compatibility issues with models of class "lme" and "sarlm".
- "model.avg" does now some checking whether all models were fitted to the same
data and have the same response.
MuMIn 0.12.13
- 'recalc.weights' argument added to "subset.model.selection".
- Small bug fixed in dredge.
MuMIn 0.12.12
- New in "dredge": Subsetting models a priori according to a formula
MuMIn 0.12.11
- Subset/extract methods for 'model.selection' object
MuMIn 0.12.10
- Fixed "predict.averaging" for missing 'newdata' handling; Table returned by
"dredge" now has factors for terms with more than one level (they were
previously shown as '1')
MuMIn 0.12.9
- Finally fixed problems with variable exporting and hidden methods
MuMIn 0.12.7-8
- Small changes in namespace and documentation
MuMIn 0.12.6
- Tidying up the code, small changes.
MuMIn 0.12.4
- added: "predict.averaging" and "coef.averaging", 'averaging' object contains
- additional elements, so that several default methods work with it.
MuMIn 0.12.2 (2010-05-28)
- fixed: 'alpha' in "model.avg" was not passed to "par.avg"
MuMIn 0.12.1
- fixed: method="NA" in model.avg, par.avg now accepts NA's in 'weight'
MuMIn 0.12.0
- Change in version number only. Had to make this jump in numbering, as there
was a typo in DESCRIPTION file of an early version, (0.11.2 instead of 0.1.0),
and since then R-forge mechanism seemed to ignore actual newer versions, as
they had lower number.
MuMIn 0.1.1
- Modified: dredge: added "fixed" and "m.max" arguments.
- Fixed: par.avg: Variance estimate corrected (previous estimate was square root
of variance). Thanks to Mick Wu.
- Fixed: dredge: Apparently "expand.grid" cannot handle too many combinations,
so now dredge stops with a more explanatory message
MuMIn 0.1.0
- dRedging (0.11.2) moved to R-Forge.
- Since model averaging is now the main focus of the package, the name changed
to MuMIn (from MUlti Model INference).