Skip to content

Commit b65cca4

Browse files
committed
don't drop
1 parent ac30444 commit b65cca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/apply_mcmc.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ apply_mcmc <- function(dt, formula_cov, ...) {
9494
}
9595

9696
keep_columns <- colnames(design_mat)[!grepl("\\(Intercept\\)", colnames(design_mat))]
97-
design_mat <- design_mat[, keep_columns]
97+
design_mat <- design_mat[, keep_columns, drop = FALSE]
9898

9999
colnames(design_mat) <- paste0("cov", seq_len(ncol(design_mat)))
100100

0 commit comments

Comments
 (0)