insightsengineering / tern

Table, Listings, and Graphs (TLG) library for common outputs used in clinical trials
https://insightsengineering.github.io/tern/
Other
77 stars 22 forks source link

[Question]: typo in the "Occurrence table pruning" reference site #1265

Closed adcascone closed 4 months ago

adcascone commented 4 months ago

What is your question?

In the example section of the "Occurrence table pruning" reference site, should this text (and the associated output) be adjusted to reflect the usage of has_fraction_in_any_col()?

Current:

# `has_fraction_in_any_col`
any_atleast_five_percent <- has_fraction_in_any_col(atleast = 0.05, col_names = names(tab))
prune_table(tab, keep_rows(more_than_five_percent))

Suggested adjustment:

# `has_fraction_in_any_col`
any_atleast_five_percent <- has_fraction_in_any_col(atleast = 0.05, col_names = names(tab))
prune_table(tab, keep_rows(any_atleast_five_percent))

Thank you! Arianna C.

Code of Conduct

Contribution Guidelines

Security Policy

edelarua commented 4 months ago

Thanks for your question @adcascone! This is in fact a typo that I'll have corrected.

adcascone commented 4 months ago

Thank you!