Skip to content

Document percent rounding and quantile calculation in tbl_summary() - #2496

Merged
ddsjoberg merged 5 commits into
mainfrom
issue-2495-docs
Oct 26, 2026
Merged

ddsjoberg merged 5 commits into
mainfrom
issue-2495-docs

Conversation

@ddsjoberg

Copy link
Copy Markdown
Owner

What changes are proposed in this pull request?

If there is an GitHub issue associated with this pull request, please provide link.
closes #2495


Reviewer Checklist (if item does not apply, mark is as complete)

  • If a bug was fixed, a unit test was added.
  • Code coverage is suitable for any new functions/features: devtools::test_coverage()
  • spelling::spell_check_package() runs with no spelling errors in documentation
  • All GitHub Action workflows pass with a ✅
  • Update NEWS.md with the changes from this pull request under the heading "# gtsummary (development version)". If there is an issue associated with the pull request, reference it in parentheses at the end update (see NEWS.md for examples).

When the branch is ready to be merged into main:

  • Approve Pull Request
  • Merge the PR. Please use "Squash and merge".

🤖 Generated with Claude Code

ddsjoberg and others added 5 commits October 26, 2026 11:21
Explain that percentages default to label_style_percent(), how integers
passed in `digits` are handled, and that {p##} percentiles use
quantile(type = 2). (#2495)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Trim the quantile text in the help file and link to a new FAQ/gallery
entry that explains the type 2 default, how it differs from R's type 7
default (type 2 is the SAS default), and how to change it. (#2495)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Use pandoc example lists, (@), so the numbering continues across the
group labels without hard-coded start numbers. (#2495)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ddsjoberg
ddsjoberg merged commit 2c5b857 into main Oct 26, 2026
11 checks passed
@ddsjoberg
ddsjoberg deleted the issue-2495-docs branch October 26, 2026 21:27
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

Successfully merging this pull request may close these issues.

Add info about quantile and arrounding percentage in help/manual

1 participant