Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in bootstrap: unused arguments (.f = fixef, type = "case", B = 100, resample = c(TRUE, TRUE) #26

Open
ecamo19 opened this issue Aug 19, 2022 · 1 comment

Comments

@ecamo19
Copy link

ecamo19 commented Aug 19, 2022

Hi!

I have been trying to use the lmersampler but when I run this code example from the vignette:

library(lmeresampler)
library(lme4)

vcmodA <- lmer(mathAge11 ~ mathAge8 + gender + class + (1 | school), data = jsp728)
lmer_par_boot <- bootstrap(vcmodA, .f = fixef, type = "parametric", B = 100)

I get the following error:

Error in bootstrap(vcmodA, .f = fixef, type = "parametric", B = 100) : unused arguments (.f = fixef, type = "parametric", B = 100)

Any clue about what is happening?

I am attaching my session info just in case
Screenshot from 2022-08-19 15-20-42

@IlmariTamminen
Copy link
Contributor

Have you tried update to R 4.2.1, works for me (windows).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants