Skip to content

Commit 6d24a6e

Browse files
committed
recode: landing v3.8.2
1 parent 3add082 commit 6d24a6e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

R/R/model.R

+2-6
Original file line numberDiff line numberDiff line change
@@ -832,12 +832,8 @@ robyn_mmm <- function(InputCollect,
832832
mediaDecompImmediate,
833833
mediaDecompCarryover
834834
) %>%
835-
# bind_cols(data.frame(t(common[1:8]))) %>%
836-
# mutate(intercept = decompCollect$xDecompAgg$xDecompAgg[
837-
# decompCollect$xDecompAgg$rn == "(Intercept)"
838-
# ]) %>%
839-
# bind_cols(data.frame(t(common[9:11]))) %>%
840-
mutate(solID = paste(trial, lng, i, sep = "_"))
835+
mutate(solID = paste(trial, lng, i, sep = "_")) %>%
836+
select(.data$solID, dplyr::everything())
841837

842838
resultCollect[["xDecompAgg"]] <- decompCollect$xDecompAgg %>%
843839
bind_cols(data.frame(t(common)))

0 commit comments

Comments
 (0)