Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [nest-rtables]

The tag has no usage guidance.

nest-rtables
1 vote
1 answer
21 views

Overall row summary section divider in rtables

I'm trying to build an rtable with the following requirements: Overall counts at the top Counts of rows by a group and subgroup Unindent groups/subgroups by one level Use section dividers (blank ...
Ryan's user avatar
  • 302
0 votes
0 answers
26 views

More information needed about the trim_levels_in_facets() variable in the rtables R package [closed]

More details are needed to explain the use cases of the trim_levels_in_facets() function in the rtables documentation/"Trim levels of another variable from each facet (post-processing split step)&...
Arianna D. Cascone's user avatar
1 vote
0 answers
27 views

More information needed about the `drop_split_levels()` function in the {rtables} R package

More details are needed to explain what the drop_split_levels() function is doing in the rtables documentation/"Split functions" reference site (https://insightsengineering.github.io/rtables/...
Arianna D. Cascone's user avatar
1 vote
1 answer
40 views

More information needed on summarize_glm_count()

Chelsea Dickens and I are trying to understand where the outputs under "Unadjusted exacerbation rate (per year)" and "Adjusted (QP) exacerbation rate (per year)" from the example ...
Arianna D. Cascone's user avatar
2 votes
0 answers
32 views

More information needed about how univariate tern::summarize_coxph() inputs are passed to survival::coxph()

In trying to reproduce the estimates produced by the examples for summarize_coxph() in Cox proportional hazards regression using survival::coxph(), Arianna Cascone and I were able to deduce that it's ...
Chelsea N. Dickens's user avatar
1 vote
1 answer
30 views

How do I override auto formats in {tern} functions?

Considering {tern} and {rtables} package formatting functions, can you override auto formats in {tern} functions like count_patients_with_flags? For example: library(rtables) library(tern) library(...
Dimple Patel's user avatar
1 vote
1 answer
78 views

Add Percentages to Categorical Counts in rtables for Table 1 in a Clinical Trial Report

For "Table 1" (Baseline subject characteristics) in a clinical trial paper, I would like to include percentages for each level of a categorical variable. The rtables package is otherwise ...
KJG's user avatar
  • 43
1 vote
3 answers
101 views

can you use split_cols_by and also get a total column?

I'm making a table like this: basic_table() %>% split_cols_by("ARM") %>% analyze(vars = c("AGE", "BMRKR1"), afun = function(x) { in_rows( "Mean (...
user2335015's user avatar