Skip to content

Commit

Permalink
Merge branch 'housekeeping' of github.com:Merck/r2rtf into housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
nanxstats committed Oct 11, 2023
2 parents 5a2507c + 7e0a0c8 commit fba3381
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vignettes/example-basechar.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ bs_count <- function(data, grp, var,
- Summarize continuous variable
```{r}
bs_continuous <- function(data, grp, var,
var_label = var,
decimal = 1,
total = TRUE,
blank_row = FALSE) {
var_label = var,
decimal = 1,
total = TRUE,
blank_row = FALSE) {
data <- data %>% rename(grp = !!grp, var = !!var)
coding <- levels(factor(data$grp))
data <- data %>% mutate(grp = as.numeric(factor(grp)))
Expand Down

0 comments on commit fba3381

Please sign in to comment.