Re: [R] Using update() within a function with a changed formula

2021-11-13 Thread Wolfgang Viechtbauer
Perfectly clear. Thanks! Best, Wolfgang On Sat, 13 Nov 2021, Duncan Murdoch wrote: On 13/11/2021 2:24 p.m., Viechtbauer, Wolfgang (SP) wrote: Hello all, Say I would like to change the outcome in a formula to a variable not part of the original dataset. This works just fine: res <- lm(mpg

Re: [R] Conditional Logistic Regression with Multilevel Data [using clogistic() in Epi and lmer() in lme4???]

2019-07-03 Thread Wolfgang Viechtbauer
. >> >> Is this understanding correct? >> >> Thanks, >> >> Heather >> >> Heather Hensman Kettrey, PhD >> Assistant Professor of Sociology >> Clemson University >> From: Wolfgang Viechtbauer > >> Sent: Wednesday, July 3, 2

Re: [R] Conditional Logistic Regression with Multilevel Data [using clogistic() in Epi and lmer() in lme4???]

2019-07-03 Thread Wolfgang Viechtbauer
Ouch, that was a brain fart on my part! But indeed, since we can fit a 'single-site model' using glmer() (as shown), we should be able to just add 'site' as another random effect with (1 | site / id). Best, Wolfgang On July 3, 2019 1:26:54 PM GMT+02:00, Marc Schwartz wrote: >Wolfgang, >

Re: [R] metafor and meta-analysis at arm-level

2010-07-04 Thread Wolfgang Viechtbauer
on functions that do not make this independence assumption. With those functions, you can then carry out multivariate and network-type meta-analyses. These functions will become part of the metafor package in the future. Best, -- Wolfgang Viechtbauer http://www.wvbauer.com Angelo Franchini