We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3add082 commit 6d24a6eCopy full SHA for 6d24a6e
R/R/model.R
@@ -832,12 +832,8 @@ robyn_mmm <- function(InputCollect,
832
mediaDecompImmediate,
833
mediaDecompCarryover
834
) %>%
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 = "_"))
+ mutate(solID = paste(trial, lng, i, sep = "_")) %>%
+ select(.data$solID, dplyr::everything())
841
842
resultCollect[["xDecompAgg"]] <- decompCollect$xDecompAgg %>%
843
bind_cols(data.frame(t(common)))
0 commit comments