Skip to content

Commit 32b47c7

Browse files
author
Matt Secrest
committed
simulate_X_mixture
1 parent 8d9be0a commit 32b47c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

R/simulate_X_mixture.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ simulate_X_mixture <- function(n, p_cat, p_cont, cat_level_list, cat_comb_prob,
3737
num_comb <- length(cat_comb_prob)
3838

3939
covariate_cat <- expand.grid(cat_level_list)
40-
covariate_cat <- covariate_cat %>%
41-
mutate(count = N) %>%
40+
covariate_cat <- covariate_cat |>
41+
mutate(count = N) |>
4242
uncount(count)
4343
# flog.debug(paste("User chose to simulate continuous covariate. \n"))
4444

0 commit comments

Comments
 (0)