-
Notifications
You must be signed in to change notification settings - Fork 26
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
Wrong means, medians #96
Comments
Please have a look at #24. There is nothing wrong with the calculations, just increase the number of significant digits to 5 (default is 3). table1::table1(~ x | y, data.frame(x=c(2000:2009), y="Y"), digits=5) (Aside: While it seems strange to me that you would want to take the the mean of calendar years, I guess you know what you are doing) |
Yes, sorry for that, I didn't know default value for |
I get your point on the default values, but some people get confused. Would it be possible to specifically explain this better in the |
Thanks. I will take in under consideration for the next release. |
Hi,
I get a very strange output for means, medians and max values in this example:
table1::table1(~ x | y, data.frame(x=c(2000:2009), y="Y"))
While the following works correctly:
table1::table1(~ x | y, data.frame(x=c(0:9), y="Y"))
It seems to have something to do with rounding when I try to use other ranges of x:
c(10, 19)
,c(100, 109)
,c(1000, 1009)
.I think the output is very wrong when it comes to years (as I have in the first example)
The text was updated successfully, but these errors were encountered: