From 27ef60f778383bceb29005ea7d2b9a78c084d210 Mon Sep 17 00:00:00 2001
From: Julian Sagebiel <julian.sagebiel@idiv.de>
Date: Wed, 26 Jun 2024 23:00:45 +0200
Subject: [PATCH] finally working estimate = FALSE

---
 R/sim_choice.R | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/R/sim_choice.R b/R/sim_choice.R
index d079567..848f62a 100644
--- a/R/sim_choice.R
+++ b/R/sim_choice.R
@@ -141,7 +141,7 @@ designs_all <- list()
   return(output)
 } else {
 
-  output<- 1:no_sim %>% purrr::map(datadet, utility = ut, setspp=setpp, bcoefficients = bcoefficients, decisiongroups = decisiongroups, manipulations = manipulations)
+  output<- 1:no_sim %>% purrr::map(~ simulate_choices(datadet, utility = ut, setspp=setpp, bcoefficients = bcoefficients, decisiongroups = decisiongroups, manipulations = manipulations))
   return(output)
 
 }
-- 
GitLab