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

enhancement - remove leading zeroes from or_plot table p values #106

Open
jemmaf opened this issue Sep 12, 2024 · 1 comment
Open

enhancement - remove leading zeroes from or_plot table p values #106

jemmaf opened this issue Sep 12, 2024 · 1 comment

Comments

@jemmaf
Copy link

jemmaf commented Sep 12, 2024

Hi Ewen,

Thanks for creating this package - it's been very helpful! I had a small quality of life improvement for the or_plot() table which removes the leading zeroes in the p value. This would be desirable for many academic journal standards (particularly psychology).

#removing leading zeroes
df.out[,8] <- gsub("p=0.", "p = .", df.out[,8], fixed = TRUE)

I haven't yet been able to make the p italicised (although I'm sure there must be a way).

All best! Jemma

@ewenharrison
Copy link
Owner

That's great to hear Jemma, thank you!

Ewen

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