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
When running the WBM, inputting either ns or bs from base R leads to the following dplyr error:
Error: Problem with mutate() input bs(age, df = 6).
x Input bs(age, df = 6) must return compatible vectors across groups
ℹ Input bs(age, df = 6) is bs(age, df = 6).
ℹ Result type for group 1 (id = "1833965"): .
ℹ Result type for group 2 (id = "68008847"): .
I thought this might have been a problem with LME4, but glmer works fine with a spline.
The text was updated successfully, but these errors were encountered:
Thank you for reporting this. The way I'm doing the data transformations, I'm not surprised that this fails because I didn't take this sort of usage into consideration. I should be able to deal with this, but it will likely take some time for me to implement that I don't have at the moment. I do think it's worthwhile, though.
Hi,
When running the WBM, inputting either ns or bs from base R leads to the following dplyr error:
Error: Problem with
mutate()
inputbs(age, df = 6)
.x Input
bs(age, df = 6)
must return compatible vectors across groupsℹ Input
bs(age, df = 6)
isbs(age, df = 6)
.ℹ Result type for group 1 (id = "1833965"): .
ℹ Result type for group 2 (id = "68008847"): .
I thought this might have been a problem with LME4, but glmer works fine with a spline.
The text was updated successfully, but these errors were encountered: