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

Large degrees of freedom displayed with comma #559

Closed
Fritz-theCat opened this issue Jun 22, 2023 · 1 comment
Closed

Large degrees of freedom displayed with comma #559

Fritz-theCat opened this issue Jun 22, 2023 · 1 comment
Assignees
Labels

Comments

@Fritz-theCat
Copy link

Hello,
I noticed that degrees of freedom are rendered with commas separating figures of 1000 or more. This is correct behavior for general numbers, but degrees of freedom are specifically excepted from the rule (https://apastyle.apa.org/instructional-aids/numbers-statistics-guide.pdf).
I am unsure if this is new in APA 7 and will be solved in future updates.

dat <- data.frame(a = rnorm(20000, 5, 3),
                  b = rnorm(20000, 4, 4))
test <- t.test(dat$a, dat$b)
apa_test <- papaja::apa_print(test)
apa_test$statistic

I would be happy if anyone could help me with a workaround.
Best,
Fritz

@crsh crsh added the bug label Jun 28, 2023
@crsh
Copy link
Owner

crsh commented Jun 28, 2023

Hi Fritz, thanks for getting in touch. Indeed, this needs to be corrected. Thanks for pointing it out!

mariusbarth added a commit that referenced this issue Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants