Skip to content

Commit

Permalink
[skip actions] Restyle files
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 10, 2023
1 parent 50ad8f5 commit c20daa8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/summarize_num_patients.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ s_num_patients <- function(x, labelstr, .N_col, count_by = NULL, unique_count_su
unique = formatters::with_label(c(count1, ifelse(count1 == 0 && .N_col == 0, 0, count1 / .N_col)), labelstr),
nonunique = formatters::with_label(count2, labelstr),
unique_count = formatters::with_label(
count1, ifelse(unique_count_suffix, paste0(labelstr, if (nzchar(labelstr)) " ", "(n)"), labelstr))
count1, ifelse(unique_count_suffix, paste0(labelstr, if (nzchar(labelstr)) " ", "(n)"), labelstr)
)
)

out
Expand Down

0 comments on commit c20daa8

Please sign in to comment.