AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Dredge leather rank 22/1/2024 I tried to simulate data similar to mine and was able to get the same error (the lmercontrol argument is disregarded in this global model, but I get the desired error so I didn't try to correct the data to need lmercontrol). I then tried Solution 1 by altering the source code of r.squaredLR.R as descripbed and saving it as a R script and using source() to call the edited 'null.fit' function as to avoid editing r.squaredLR.R permenantly (I call MuMIn before sourcing the edited function). I tried Solution 2 first, which works perfectly on the simulated data, but when I try it on my model I get the error :Įrror in r.squaredGLMM(x, null = nullmodel) : Solution 2: add a function into the dredge function to call r.squaredGLMM instead of r.squaredLR Solution 1: change r.squaredLR.R package code This branches off of this question: dredge doesnt work when specifying glmer optimizer and the two solutions provided. Goal: get R^2 marginal and conditional in dredge results using an optimizer in the origninal model
0 Comments
Read More
Leave a Reply. |