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

wbm doesn't work with natural cubic spline #36

Open
Nr051190 opened this issue Oct 4, 2020 · 1 comment
Open

wbm doesn't work with natural cubic spline #36

Nr051190 opened this issue Oct 4, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@Nr051190
Copy link

Nr051190 commented Oct 4, 2020

Hi,

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.

@jacob-long jacob-long added the enhancement New feature or request label Nov 17, 2020
@jacob-long
Copy link
Owner

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.

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

No branches or pull requests

2 participants