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

emmeans 1.4.7 intercept only #207

Closed
bca2 opened this issue Jun 1, 2020 · 2 comments
Closed

emmeans 1.4.7 intercept only #207

bca2 opened this issue Jun 1, 2020 · 2 comments

Comments

@bca2
Copy link

bca2 commented Jun 1, 2020

Hey all, repost from stack overflow:

https://stackoverflow.com/questions/62141892/is-the-emmeans-r-intercept-only-function-broken?noredirect=1#comment109904881_62141892

1.4.7 has an issue estimating an intercept only confidence interval whereas reverting to 1.4.6 fixes it.

test=lm(mpg~1,mtcars)
library(emmeans)
emmeans::emmeans(test,~1)

Results in:

> emmeans::emmeans(test,~1)
Error in `[[<-.data.frame`(`*tmp*`, ".wgt.", value = 2) : 
  replacement has 1 row, data has 0

Thanks for all your hard work!

@bca2 bca2 closed this as completed Jun 1, 2020
@bca2
Copy link
Author

bca2 commented Jun 1, 2020

Sorry! I just saw someone else posted already. Very sorry.

@rvlenth
Copy link
Owner

rvlenth commented Jun 2, 2020

Now fixed. See the SO site or #206

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