You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should allow for a column to be called "id" or check for this before creating the return object.
alcohol<- read.csv("https://raw.githubusercontent.com/proback/BeyondMLR/master/data/alcohol.csv")
library(HLMdiag)
#> #> Attaching package: 'HLMdiag'#> The following object is masked from 'package:stats':#> #> covratio
library(lme4)
#> Loading required package: Matrixfit<- lmer(alcuse~age+ (1|id), alcohol)
hlm_resid(fit)
#> Error: Column name `id` must not be duplicated.
The text was updated successfully, but these errors were encountered:
We should allow for a column to be called "id" or check for this before creating the return object.
The text was updated successfully, but these errors were encountered: