Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

132 results for “from:Lenth, Russell V”

Reverse dependency checking
Lenth, Russell V · Feb 12, 2025 · r-help

Dear R-Help, When I submit an update to one of my packages, I decided to try to avoid having to fix errors that sometimes occur in CRAN's reverse-dependency checks by performing the same checks ahead of time...

Bug in poly() (PR#11243)
Lenth, Russell V · May 15, 2008 · r-devel

I don't understand why this is a bug in usage. Is it because the 2nd argument is not named? I get the same behavior if I do name it: ===== [R version 2.6.2 (2008-02-08), Windows XP...

[R-pkg-devel] Any new developments on "apparent S3 method" issue?
Lenth, Russell V · May 3, 2017 · r-package-devel

Package developers list: I recently added an 'as.mcmc.list' method for objects in one of my packages. Now, in doing an --as-cran check, I get this message: * checking S3 generic/method consistency ... NOTE Found the following apparent S3...

Natural spline (i.e. ns() ) with glmer()/lmer()
Lenth, Russell V · May 22, 2021 · r-sig-mixed-models

Regardless of what kind of model is used, a natural cubic spline has two end conditions -- that the second derivative is zero at each end. If there are no interior knots, then that forces it to be a straight line...

Multiple comparison correction?
Lenth, Russell V · Nov 6, 2014 · r-sig-mixed-models

> Hello, > > I have a question related to mixed effect modeling and how to do multiple comparisons. > > We have a longitudinal study with different groups and many dependent variables such as of brain cortical volume in different areas, etc. > > I am...

Confidence interval for sum of coefficients
Lenth, Russell V · Sep 25, 2014 · r-sig-mixed-models

An easy way to get the results you want based on the adjusted variance-covariance matrix is: library(lsmeans) lsmeans(fm1, "Machines") The adjustments and d.f. are made using pbkrtest's 'vcovAdj' and 'Lb_ddf' functions. Russ Lenth -----Original...

[R-pkg-devel] What is a "retired"package?
Lenth, Russell V · Sep 21, 2021 · r-package-devel

I received a request that I remove the 'plyr' package from the Imports for my package, because plyr is retired. Indeed, the README file for plyr states: > plyr is retired: this means only changes necessary to keep it on CRAN...

Model approach for pairwise comparison post-hoc
Lenth, Russell V · Jul 27, 2022 · r-sig-mixed-models

Just use lsm.both <- lsmeans(mTCFd, c("temp", "generation")) cld(lsm.both) -----Original Message----- Message: 1 Date: Wed, 27 Jul 2022 12:40:32 +0000 (UTC) From: Alexandre Santos <alexandresantosbr at yahoo.com.br> To: "r-sig-mixed-models at...

[R-pkg-devel] Best practices for vignettes
Lenth, Russell V · Jul 27, 2015 · r-package-devel

Thanks. This helped me learn a few things... 1. buildVignettes() operates on an installed package. So in RStudio, I do "build and reload" and it copies the vignette sources to the right place. Unfortunately, it does not also copy the...

confidence intervals for random slopes
Lenth, Russell V · Aug 11, 2014 · r-sig-mixed-models

CIs for the slopes in the fixed part may be obtained easily via the lsmeans package: fm <- lme(Y ~ X * fixfactor, random=~X|randomfactor) require("lsmeans") lstrends(fm, "fixfactor", var="X") You may also obtain pairwise comparisons by calling 'pairs...

[External] Re: svd() results should have a class
Lenth, Russell V · Jun 23, 2022 · r-devel

Bob, I'm not talking about using svd as a generic method. I am talking about a method FOR svd results, e.g. an S3 method like foo.svd(), for which there already exist other methods, say foo.default and...

contrasts among simple effects
Lenth, Russell V · Oct 16, 2015 · r-sig-mixed-models

I think we tend to highly overrate the idea of trying to engineer factor codings in order to get estimates of interesting contrasts among the regression coefficients. It gets confusing when there are multiple factors, and often, only some of...

[External] Re: Post hoc on glmer for specific hypotheses
Lenth, Russell V · Mar 9, 2022 · r-sig-mixed-models

Hmmm. I guess try adding ', nesting = NULL' to the call for EMM. Sent from my iPad > On Mar 9, 2022, at 2:11 PM, Timothy MacKenzie <fswfswt at gmail.com> wrote: > > ?Thanks so much Ben and Russ. > > Russ, I get...

[R-pkg-devel] Re-exporting S3 generics
Lenth, Russell V · May 10, 2017 · r-package-devel

Dear package developers: My 'lsmeans' package provides, among other things, 'as.mcmc' and 'as.mcmc.list' methods for its 'ref.grid' objects. Those methods allow obtaining posterior predictions, or averages thereof, from certain models fitted using MCMC methods. My question...

[R-pkg-devel] Farming out methods to other packages
Lenth, Russell V · Aug 10, 2019 · r-package-devel

Dear developers, I maintain a package, emmeans, that provides post-hoc analyses for a variety of models. These models are supported by writing S3 methods for recover_data and emm_grid. Quite a few models are supported internally in emmeans...

[R-pkg-devel] [External] Re: Farming out methods to other packages
Lenth, Russell V · Aug 10, 2019 · r-package-devel

Thanks, Luke. That's more efficient for sure. I'd just have to rename about a zillion existing internal methods -- but only once! Additional advantage I see is ability to control WHICH methods I'd allow to be overridden. Russ...

Bug in poly() (PR#11243)
Lenth, Russell V · Apr 22, 2008 · r-devel

Full_Name: Russell Lenth Version: 2.6.2 OS: Windows XP Pro Submission from: (NULL) (128.255.132.36) The poly() function allows a higher-degree polynomial than it should, when raw=FALSE. For example, consider 5 distinct 'x' values...

[External] Post hoc on glmer for specific hypotheses
Lenth, Russell V · Mar 9, 2022 · r-sig-mixed-models

This would be straightforward using the emmeans package. Just do: library(emmeans) EMM <- emmeans(m2, ~ item_type * time) EMM # to list the estimates Then, note the order of those four estimates, and set up the desired contrasts manually: CON <- list...

[R-pkg-devel] More on explosive dependencies
Lenth, Russell V · Jul 16, 2018 · r-package-devel

Thanks to all who responded. I am pleased to say that with your help, I have managed to work around this problem by dynamically registering the methods. My file zzz.R contains code to register various methods having generics in...

[R-pkg-devel] [External] Re: Farming out methods to other packages
Lenth, Russell V · Aug 10, 2019 · r-package-devel

All, I'm going with the previous approach, as modified by Duncan, primarily because I want to keep recover_data.lm and a few others. So if I fit a model 'm3' using stanreg::rstanarm: class(m3) [1] "stanreg" "glm...

Can't find what you're looking for? Try searching with Google .