Skip to content

Commit

Permalink
recode: landing v3.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
laresbernardo committed Nov 23, 2022
1 parent 3add082 commit 6d24a6e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions R/R/model.R
Original file line number Diff line number Diff line change
Expand Up @@ -832,12 +832,8 @@ robyn_mmm <- function(InputCollect,
mediaDecompImmediate,
mediaDecompCarryover
) %>%
# bind_cols(data.frame(t(common[1:8]))) %>%
# mutate(intercept = decompCollect$xDecompAgg$xDecompAgg[
# decompCollect$xDecompAgg$rn == "(Intercept)"
# ]) %>%
# bind_cols(data.frame(t(common[9:11]))) %>%
mutate(solID = paste(trial, lng, i, sep = "_"))
mutate(solID = paste(trial, lng, i, sep = "_")) %>%
select(.data$solID, dplyr::everything())

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

0 comments on commit 6d24a6e

Please sign in to comment.