phyr (development version)
New features
The families
"zeroinflated.poisson"and"zeroinflated.nbinomial"are also available withbayes = FALSE(they neededbayes = TRUE): with a probability of zero inflationzithat is the same for all observations, asglmmTMB(ziformula = ~1), estimated with the other parameters with the Laplace approximation. The estimates are those of glmmTMB (log-likelihoods within 1e-6 with 300 and 1000 species), and the fits are 2 to 4 times faster.fitted()andpredict(type = "response")give the mean of the response, (1 - zi) times the mean of the count distribution. The Laplace code now estimates several dispersion parameters (here 1 / theta and the odds of zero inflation).New family
"beta"for proportions strictly between 0 and 1 (e.g. percent cover), with its precisionphiestimated, asglmmTMB(family = beta_family()): the estimates are those of glmmTMB (log-likelihoods within 4e-9 with 300 and 1000 species), and the fits are up to about 2.5 times faster.New family
"betabinomial"for overdispersed binomial data (successes out of trials), with its precisionphiestimated, asglmmTMB(family = betabinomial()): the estimates are those of glmmTMB (log-likelihoods within 1e-8 with 300 and 1000 species), and the fits are about 5 to 10 times faster.Binomial models with the probit and complementary log-log links:
family = binomial(link = "probit")orbinomial(link = "cloglog")(withmethod = "Laplace"). Withoffset(log(area)), the cloglog link models presence/absence from plots of different sizes or sampling efforts. The estimates are those ofglmmTMB()(log-likelihoods within 1e-9 with 300 and 1000 species).predict()gives standard errors (se.fit = TRUE) and confidence intervals (interval = "confidence") of the predictions of models fitted withbayes = FALSE: without random effects (re.form = NA), from the covariance matrix of the fixed effects (the same asglmmTMB()); with the random effects (models fitted with the sparse code or the Laplace approximation), the standard errors of prediction of the fixed and random effects together, from the mixed model equations (conditional on the estimated variances, asranef(condVar = TRUE)). Withtype = "response", they are on the scale of the response (delta method).More packages work with
pglmm()models:car::Anova(),car::linearHypothesis()andcar::vif(),multcomp::glht(),lmtest::lrtest(), MuMIn’sdredge(),model.sel()andmodel.avg()(amakeArgs()method keeps the random terms of the global model in the submodels), and ggeffects through emmeans (see?pglmm-terms).summary()of models fitted bypglmm()andpglmm_compare()now returns an object (with the table of the fixed effects in$coefficients, assummary()oflm()and lme4 models) that is printed by itsprint()method, instead of printing the summary and returningNULL; the printed output is the same.Clearer errors for common mistakes: species (or levels) that are not in the phylogeny or covariance matrix of
cov_ranefare listed, with a hint when they differ from the tip labels only in spaces vs underscores or capitalization; a phylogenetic term without its phylogeny incov_ranefsays which name is needed; binomial responses that are not 0/1 (or successes and failures, or proportions with weights), and binomial and poisson responses that are all 0 (or all successes) give an error before fitting; a random term whose grouping variable has a single level gives an error (as in lme4); variables of the formula that are not in the data are named; a misspelled family gets a suggestion; and a nested term without phylogeny with one observation per combination of its grouping variables (e.g.(1 | sp@site)with one observation per species and site), which is an observation-level term, is dropped from the model for gaussian data (its variance is confounded with the residual variance) and binary data (it cannot be estimated), with a warning and a message (withbayes = FALSE), and gives a warning for families with a dispersion parameter (it overlaps it); for poisson and binomial data with trials, it is the observation-level term, and1|obsis not added (as before). A factor or logical response of binomial models is taken as inglm()(the first level of a factor is a failure).
phyr 1.9.0
phyr 1.9.0 fits all models of pglmm() with one engine, the sparse code: also models with covariance matrices in cov_ranef (those of phylogenies are converted back to the phylogenies), with lists in random.effects, and with bayes = TRUE. It adds prior weights, a parametric bootstrap test of nested models (pglmm_boot_LRT()), a message for fits at the boundary, and methods for the emmeans, marginaleffects and effects packages, and it removes or deprecates old names. The maximum likelihood estimates of models with random terms in the formula and phylogenies are the same as with phyr 1.5.0.
Breaking changes
-
communityPGLMM.profile.LRT(),communityPGLMM.matrix.structure()andcommunityPGLMM.predicted.values(), deprecated since phyr 1.0.3, were removed: usepglmm_profile_LRT(),pglmm_matrix_structure()andpglmm_predicted_values(). - The arguments
treeandtree_siteofpglmm()andpglmm_plot_ranef(), deprecated since 2019, are defunct (an error): give the phylogenies incov_ranef, e.g.cov_ranef = list(sp = tree, site = tree_site). The argumentsspandsiteofpglmm(), which were not used, were removed. -
communityPGLMM(),communityPGLMM.show.re()andcommunityPGLMM.plot.re()are deprecated (they still work, with a warning): usepglmm()andpglmm_plot_ranef()(orpglmm_plot_re()). The class of fitted models is stillcommunityPGLMM. - One engine for all models:
sparse = NULL(the default) now uses the sparse code for all models with random terms, also with covariance matrices (not phylogenies) incov_ranef, withrandom.effectslists, and, withbayes = TRUE, with covariance matrices,random.effectsandML.init = TRUE. Onlybayes = TRUEwithrepulsion = TRUE, and a singular covariance matrix of the observations inrandom.effects, still use the dense code;sparse = FALSEis kept as a reference. The fits are the same as those of the dense code (for gaussian models, log-likelihoods within about 1e-8), but INLA fits withbayes = TRUEcan differ slightly. -
ranef(),predict()withnewdataandsimulate()withre.form = NAnow work with models fitted withbayes = TRUEand the sparse code (they neededsparse = FALSE), with the same results as with the dense INLA model; withsparse_method = "flow", the summaries ofranef()other than the posterior mean come from samples of the joint posterior. - Binomial and poisson models with
random.effectsare now fitted with the Laplace approximation by default, as models with random terms in the formula (they were fitted with PQL); usemethod = "PQL"for the previous estimates. No observation-level term is added to them:random.effectsgives all the random terms. - With
bayes = TRUE,ML.init = TRUEnow takes the initial values from the fit by maximum likelihood with the sparse code, with the Laplace approximation for binomial and poisson models (instead of PQL); INLA can then end at another mode of the posterior. - Covariance matrices in
cov_ranefthat are not positive definite now give a clear error (they failed before, with an unclear one). - A covariance matrix in
cov_raneforrandom.effectsthat is the covariance matrix of a phylogeny (e.g.ape::vcv(tree), to numerical precision) is converted back to that phylogeny, and fitted with its sparse precision matrix, as fast as with the phylogeny (e.g. 1.5 s instead of 35 s for 1000 species and 10 sites), with a message suggesting to give the phylogeny instead. Other covariance matrices are used through their (dense) inverse, with a message that this is slow for many levels (options(phyr.matrix.hint = FALSE)turns both off).
New features
- New
pglmm_boot_LRT(): a parametric bootstrap likelihood ratio test of two nested models (aspbkrtest::PBmodcomp()for lme4 models), which does not rely on the chi-square distribution of the likelihood ratio. In simulations of binary data with phylogenetic signal (100 species, 15 sites), the Wald test of a fixed effect rejected a true null hypothesis in 8.6% to 9.8% of the data sets and the chi-square likelihood ratio test in 10.6% to 11.2%, instead of 5%; the bootstrap test rejected it in 4% (of 100 data sets). -
pglmm()andpglmm_compare()show a message when the fit is at the boundary (singular): when the variance of a random term is estimated at, or very close to, zero, aslme4::lmer()does. The newpglmm_is_singular()tells whether a fit is at the boundary, and which terms are. Useoptions(phyr.boundary.message = FALSE)to turn the message off. -
pglmm()andpglmm_compare()take priorweights, given as inlm()andglm()(a column ofdataor a vector). For gaussian models, the residual variance of an observation is divided by its weight, as inlme4::lmer(); for binomial models, the response is a proportion and the weights are the numbers of trials, as inglm()(the same model ascbind(successes, failures)); for poisson, negative binomial and Gamma models, the weights multiply the log-likelihood of each observation, as inglm(),glmer()andglmmTMB(). The estimates and log-likelihoods are those oflmer(),glmer()andglmmTMB()(within 1e-8 in the log-likelihood). Weights are available withbayes = FALSE, for gaussian models fitted with the sparse code and for the other families withmethod = "Laplace"(the defaults, also with covariance matrices incov_ranefand withrandom.effects), and withbayes = TRUE(INLA’sscalefor gaussian models,Ntrialsfor binomial models andweightsfor poisson and negative binomial models; not for the zero-inflated families). Note thatglmmTMB()multiplies the log-likelihood of gaussian models by the weights instead, so its fits of weighted gaussian models differ from those oflmer()andpglmm(). - Models fitted by
pglmm()andpglmm_compare()(withbayes = FALSE) work with the emmeans, marginaleffects and effects packages: estimated marginal means and contrasts (emmeans::emmeans()), marginal effects, comparisons and predictions (marginaleffects::avg_slopes(),avg_comparisons(),predictions()), and effect plots (effects::Effect(),effects::allEffects()). They use the fixed effects and their covariance matrix, with the random effects at zero (with marginaleffects, usere.form = NAfor that; by default its predictions include the estimated random effects); the results are those oflmer()andglmer()fits of the same model. Until marginaleffects knows the class of phyr models, setoptions(marginaleffects_model_classes = "communityPGLMM")before using it. New methodsterms()andmodel.matrix()give the terms and the design matrix of the fixed effects.
phyr 1.5.0
phyr 1.5.0 fits phylogenetic generalized linear mixed models with large phylogenies (tens of thousands of species) through sparse matrices, fits binomial and poisson models with the Laplace approximation by default (with the same estimates as lme4::glmer() and glmmTMB()), adds the negative binomial and Gamma families, offsets, confidence intervals and model comparison, and works with the standard methods of R model objects. It also adds phylo_signal(), which estimates Pagel’s lambda and Blomberg’s K with known measurement error in time linear in the number of species.
Breaking changes
- The default of
sparseinpglmm()andpglmm_compare()is nowNULL: the sparse code (sparse = TRUE, see below) is used whenever it supports the model (random terms in the formula, phylogenies incov_ranef, and withbayes = TRUE,ML.init = FALSEandrepulsion = FALSE), and the dense code otherwise. Both fit the same model; the estimates can differ slightly, as the optimizers differ. Usesparse = FALSEfor the previous behavior. Withbayes = TRUE,ranef(),predict()withnewdataandsimulate()withre.form = NAneedsparse = FALSEfor now. - Binomial and poisson models with
bayes = FALSEare now fitted with the Laplace approximation (method = "Laplace") by default, instead of penalized quasi-likelihood (PQL), which underestimates the variances of random terms (and shrinks the fixed effects) for binary data and small counts. Their estimates change, and their log-likelihood (andAIC(),anova(),pglmm_profile_LRT()) is now that of the Laplace approximation, as forglmer()andglmmTMB(). Usemethod = "PQL"for the previous fits; models withrandom.effectsare still fitted with PQL by default. -
ranef()now returns the estimates of each level of each random term (e.g. one value per species for(1 | sp)), aslme4::ranef(): conditional modes forbayes = FALSE(with their conditional standard deviations withcondVar = TRUE), posterior summaries forbayes = TRUE. The table of variances and standard deviations thatranef()used to return is returned by the newVarCorr()method: replaceranef(fit)withVarCorr(fit)in existing code. - The restricted log-likelihood of gaussian models fitted with
REML = TRUE(logLik(), and soAIC()andBIC()) no longer includeslog|X'X| / 2: it is now that oflme4::lmer(),glmmTMB()andnlme::lme(), so that it can be compared with these packages. The estimates do not change. The same forcor_phylo()withREML = TRUE, whose restricted log-likelihood no longer includeslog(p (n - 1)) / 2. - The BIC of models fitted with
bayes = FALSE(elementBIC, printed bysummary()andprint()) is now the usual-2 logLik + k log(n), the same asstats::BIC()and lme4; it usedk (log(n) - log(pi)), which penalized each parameterlog(pi)less. - Fitted models no longer include
iV(the n by n inverse of the covariance matrix), which needed a lot of memory and time for large data sets; use the new functionpglmm_iV()to calculate it. - Fitted values of gaussian models (
bayes = FALSE) are corrected, which changesfitted(),residuals(),predict()andsimulate():gaussian.pred = "nearest_node"(default) now gives the values conditional on the estimated random effects (Xb + Zu), as lme4 (it used an approximation that was not correct with crossed or phylogenetic terms), andgaussian.pred = "tip_rm"now includes the fixed effects (it returned only the leave-one-out prediction of the residuals). -
pglmm_compare():add.obs.re = TRUE(the default, as documented) now adds the observation-level term1|obsfor poisson data and binomial data with more than one trial; the argument used to be ignored, so the phylogenetic variance also absorbed any overdispersion. Useadd.obs.re = FALSEfor the previous estimates. -
repulsion = TRUE(a single value) now inverts only the phylogenies of species in nested terms (e.g.spin(1 | sp__@site__)), as in Ives and Helmus (2011, Appendix A); it also inverted the phylogeny of sites. Use one value for each phylogeny, e.g.repulsion = c(TRUE, TRUE)for(1 | sp__@site__), for the previous model. -
pglmm_profile_LRT()is now a likelihood ratio test for models fitted withsparse = TRUE(gaussian) ormethod = "Laplace": the other parameters are estimated again with the tested variances at zero (they were kept at their estimates), which changes its values. The test of phylogenetic signal ofpglmm_compare()(LRT) uses it. - The log-likelihood of models fitted with
bayes = TRUEis now the marginal log-likelihood of the model: INLA leaves out half the log determinant of the precision matrix of each random term (Cmatrixof itsgeneric0model), which is now added back. This changes it for nested terms,standardize_cov = FALSE, covariance matrices inrandom.effectsandbayes_options = list(diagonal = ...); DIC, WAIC and the estimates do not change.
New features
- New
phylo_signal()estimates Pagel’s lambda or Blomberg’s K, optionally with known standard errors of the species means. The trait and its standard errors can be columns of a data frame or tibble (phylo_signal(mass, phy, se = mass_se, data = d, species = sp), or with the species as row names), as well as named vectors. It fits the same models asphytools::phylosig()withse(with a likelihood-ratio test for lambda and a randomization test for K), but computes the likelihood in time linear in the number of species with the three-point algorithm (Ho & Ane 2014, implemented in C++), so it handles trees with tens of thousands of tips: lambda with measurement error for 1,000 species takes about 0.03 s instead of over 2 minutes withphytools::phylosig(). The lambda search is deterministic (a grid over [0, maximum lambda], then refined) rather than from random starting values. - Sparse matrices for large phylogenies (
sparse = TRUE, the default when possible): models are fitted with the sparse precision matrix of the phylogeny (including its internal nodes) and sparse Cholesky factorizations, instead of the dense covariance matrix of the species, so that time and memory grow about linearly with the number of species. This works for all families, with nested terms (e.g.(1 | sp__@site)),repulsion, and transformed trees (e.g. OU with a fixed alpha, Pagel’s lambda); covariance matrices incov_ranefare used through their inverses withmethod = "Laplace". For example, binomial and poisson models with 5000 species at 20 sites are fitted by maximum likelihood in about 5 seconds, about 135 times faster thanglmmTMB()and with a sixth of its memory, with the same estimates. Large models with phylogenies fitted withsparse = FALSEshow a one-time message suggestingsparse = TRUE(options(phyr.sparse.hint = FALSE)turns it off). -
sparse = TRUEalso works withbayes = TRUE, with the new argumentsparse_method:"precision"(default), a latent field over all nodes of the phylogeny (giving the posterior of the ancestral states too), or"flow", the phylogenetic flow representation of the phyf and fibre packages (independent rates of evolution on the branches, giving the posterior of the rate of each branch). Both give the same estimates assparse = FALSE; the estimates of nodes or rates are inbayes_sparse$latentof the fitted model. - New argument
methodofpglmm()andpglmm_compare()for models withbayes = FALSE:"Laplace"(default), the Laplace approximation of the marginal likelihood, aslme4::glmer()(nAGQ = 1) andglmmTMB(), with the same estimates and log-likelihood, or"PQL". WithREML = TRUE(the default), the fixed effects are integrated out as inglmmTMB(REML = TRUE). It supports nested terms,repulsionand the observation-level term1|obs. - New family
"nbinomial": the negative binomial distribution for overdispersed counts (log link, variancemu + mu^2 / theta), with the same estimates and log-likelihood asglmmTMB(family = nbinom2), and the dispersionthetaestimated with the other parameters (elementthetaof the fitted model;theta = Infis the poisson model). Withbayes = TRUE, the families"nbinomial"and"zeroinflated.nbinomial"are fitted by INLA. - New family
"Gamma"(or"gamma",bayes = FALSE): the Gamma distribution with the log link for positive continuous responses (e.g. biomass), with the same estimates and log-likelihood asglmmTMB(family = Gamma(link = "log")), and the shape parameter estimated with the other parameters (elementshape). -
offset()terms in the formula (e.g.+ offset(log(effort))) are supported withmethod = "Laplace"(binomial, poisson, negative binomial and Gamma models), with the same estimates asglmmTMB();predict(),fitted()andsimulate()include them, also for models fitted withbayes = TRUE. - New
confint()method: Wald intervals of the fixed effects, and profile likelihood intervals of the variances of the random terms (and of the residual variance), asconfint(method = "profile")of lme4, for models fitted withsparse = TRUE(gaussian) ormethod = "Laplace"(the credible intervals of INLA forbayes = TRUE). They agree with those oflmer()andglmer()to about 1e-5, include zero when the data are consistent with no variance for a term, and show how well the data separate the variances of a phylogenetic term and its non-phylogenetic partner (e.g.1|sp__and1|sp). - New
anova()method: likelihood ratio tests of nested models fitted withbayes = FALSE(andmethod = "Laplace"for binomial and poisson models), refitting models fitted withREML = TRUEby maximum likelihood when their fixed effects differ (as lme4). - New methods
vcov(),coef()(the fixed effects as a named vector),df.residual(),formula()(with the random terms),logLik()(so thatAIC()andBIC()work), andtidy()andglance()(generics of the broom packages, so that broom.mixed andmice::pool()work, e.g. to combine fits with several candidate phylogenies with Rubin’s rules). Fitted models keep their call, so thatupdate()works. -
predict()supportsnewdata, with or without random effects (re.form), for models withbayes = FALSEorTRUE; levels not in the data needallow.new.levels = TRUE(random effects of zero). -
simulate()withre.form = NAor~0works for models withbayes = FALSE(also withsparse = TRUE, except withrepulsion). Residual diagnostics with DHARMa (DHARMa::simulateResiduals()) work with all families (see?simulate.communityPGLMM). -
pglmm_compare()is now built on the formula interface ofpglmm()(fitting(1 | sp__)without the non-phylogenetic term(1 | sp), which is confounded with the residual variance with one row per species), with the same estimates as before. It gains the argumentssparse,method,standardize_cov,calc.WAIC,bayes_options,posterior.sampleandreturn.fitted.marginals; the fitted model also has classcommunityPGLMM, so that all the methods ofpglmm()work; the test of phylogenetic signal mentioned in the documentation is returned (LRT) and printed bysummary(); rows with a missing response are dropped (with their tips). The elements of earlier versions (phy,vcv.phy,s2n, …) are kept;vcv.phyisNULLwithsparse = TRUE. - New argument
standardize_covofpglmm()andprep_dat_pglmm(): withstandardize_cov = FALSE, the covariance matrices ofcov_ranefare used as given (a phylogeny givesape::vcv(tree)) instead of standardized to have a determinant of one. Fitted models returnscale_factors, the mean diagonal of each standardized covariance matrix: multiply the variances of terms with a covariance matrix by them before comparing them with other terms or with other software (explained in?pglmm,?VarCorrand?summary.communityPGLMM). - Random terms of the formula are parsed and checked by a single function for all code paths, with the same rules and error messages (e.g. for unknown grouping variables,
(1 + x | sp)and(log(x) | sp)). Interactions of grouping factors as in lme4, e.g.(1 | sp:site)or(1 | site/sp), are fitted as nested terms such as(1 | sp@site), and grouping variables can have__inside their names. Fitted models keep the parsed terms (re_terms). - The documentation of
pglmm()has a new section on why a phylogenetic term such as(1 | sp__)or(x | sp__)also fits its non-phylogenetic partner, and the vignette “Usage of pglmm()” shows the new features. -
pglmm()shows a message (once per session) suggestingpglmm_compare()when a phylogenetic term has one row per species (options(phyr.compare.hint = FALSE)turns it off). - On a Mac where R uses the reference BLAS library,
pglmm()shows a message (once per session, for models with at least 1000 observations) with the command to switch R to Apple’s Accelerate, which can make large models several times faster (options(phyr.blas.hint = FALSE)turns it off). -
pcd()andmatch_comm_tree()work with a community matrix (not only a data frame).
Speed and memory
- With
bayes = FALSE, the variances are estimated withnlminb()and analytic gradients of the likelihood (sparse gaussian models, the PQL iterations of binomial and poisson models, and the Laplace approximation, including the dispersion of negative binomial and Gamma models), from the selected inverse of supernodal sparse Cholesky factorizations (new C++ code, with BLAS). The optimization is also restarted from the “corners” where a phylogenetic term (e.g.1|sp__) or its non-phylogenetic partner (1|sp) has all their variance, as the likelihood can have a local optimum in between. The derivative-free optimizers are still available withoptimizer = "subplex"(or"nelder-mead-nlopt","bobyqa"). - The variances (and, for maximum likelihood, the fixed effects divided by their standard errors) are optimized on scales where they are comparable, so that
nlminb()no longer stops early with large phylogenies or badly scaled data. The standard errors of the fixed effects of Laplace fits (REML = FALSE) are computed from differences of the analytic gradient, and agree with those of glmmTMB to about 1e-5. - The dense code (
sparse = FALSE) is also faster for large data sets: quantities that do not depend on the parameters are calculated once, the block structure of nested terms is used with non-nested terms too, and the observation-level term1|obsis no longer a dense nested term. -
ranef(condVar = TRUE),pglmm_iV()andpglmm_predicted_values(gaussian.pred = "tip_rm")use the sparse factorization of the fit (and work for models fitted withsparse = TRUEormethod = "Laplace"). - Fitted models no longer keep the sparse factorization (e.g. 82 MB instead of 266 MB with 5000 species at 20 sites).
Bug fixes
- Fixed bugs that gave wrong results silently:
- a covariance matrix (not a phylogeny) in
cov_ranefwith the same names as the levels of the data, but in a different order, was not reordered. - with
cpp = TRUE, models with nested terms that are not block-diagonal (e.g.(1 | sp__@site) + (1 | sp@site__), or nested terms only with unbalanced data sorted by site) could be fitted as if they were. -
offset()in the formula was ignored whenbayes = FALSE. -
cor_phylo(): measurement errors were assigned to the wrong species when the rows of the data were not in the order of the tips of the phylogeny. -
psv()andpsr()withcpp = FALSEgave wrong results for abundances not larger than one (e.g. relative abundances). - a factor as the covariate of a random slope, e.g.
(f | sp), was used as its integer codes; random slopes now need numeric covariates. -
(1 | sp) + (1 | sp__)fitted1|sptwice; the extra term is now dropped with a message. - binomial and poisson models with a nested term without phylogeny such as
(1 | sp@site)added a second observation-level term with unbalanced data.
- a covariance matrix (not a phylogeny) in
- Rows with missing values in the response, the fixed effects, the grouping variables or the covariates of random slopes are dropped by all code paths (with
sparse = FALSE, they could give a different model or an error). -
predict()andpglmm_predicted_values()of models fitted withbayes = TRUEfollowtype(the default is the scale of the linear predictor, as documented) andre.form;simulate()of these models uses the number of trials of binomial data. -
residuals(scaled = TRUE)works for gaussian models; binomial models with more than one trial use the proportion of successes. -
pglmm_profile_LRT()works for models with nested terms only. - Nested random terms without a covariance matrix, e.g.
(1 | sp@site), no longer fail whencov_ranefis not given. - With
sparse = TRUE, phylogenies with internal branches of length zero are collapsed to polytomies as documented (they gave an error). - With
bayes = TRUEandbayes_nested_matrix_as_list = TRUE,repulsion = TRUEwas ignored. -
pglmm_compare(bayes = TRUE)returns the INLA model (inla.model). -
plot_bayes()failed when the posterior of the precision of a random term has a long right tail (e.g. a variance near zero); the standard deviations are now sampled from the posteriors of the log precisions. It also no longer uses functions deprecated in ggplot2 4.0.
Other changes
- lme4 and the packages used only by the plotting functions (dplyr, tidyr, gridExtra, latticeExtra) are now suggested instead of imported; mvtnorm is no longer used; MASS (for the starting values of negative binomial models) and generics (for
tidy()andglance()) are imported. phyr now needs R >= 4.1.
phyr 1.1.1
- Added parallel computing support for
cor_phylo()when bootstrapping is needed.
phyr 1.1.0
CRAN release: 2020-12-18
- Added a
NEWS.mdfile to track changes to the package. - Change function names to follow style of tidyverse (thus a minor version bump)
- change
pglmm.comparetopglmm_compare - change multiple functions of pglmm to follow the
_style
- change
phyr 1.2.0
- Improved speed of
pglmm().
