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

Allow for rounding in tables #78

Open
chrisleboa opened this issue Apr 7, 2021 · 1 comment
Open

Allow for rounding in tables #78

chrisleboa opened this issue Apr 7, 2021 · 1 comment

Comments

@chrisleboa
Copy link

Is there any way to specify rounding in the output table from a createtableone? I find myself manually going through and deleting everything after a decimal point and would appreciate the ability to have the output be in whole numbers only

@tszberkowitz
Copy link
Contributor

@chrisleboa Yes. See ?print.TableOne for more details on the print method for TableOne objects. You probably want the catDigits, contDigits, and pDigits arguments but there is also the formatOptions argument for passing additional formatting option arguments.

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