Skip to content
Snippets Groups Projects
Commit f9fb29d4 authored by dj44vuri's avatar dj44vuri
Browse files

added transform_util2 but without at and dollar

parent a9fe626f
Branches
No related tags found
No related merge requests found
......@@ -26,6 +26,13 @@ sim_choice <- function(designfile, no_sim=10, respondents=330,ut ,destype=destyp
}
transform_util2 <- function() {
mnl_U <-paste(purrr::map_chr(ut[[1]],as.character,keep.source.attr = TRUE),collapse = "",";") %>%
stringr::str_replace_all( c( "priors\\[\"" = "" , "\"\\]" = "" , "~" = "=", "\\." = "_" , "V_"="U_"))
}
#### Function to simulate and estimate ####
estimate_sim <- function(run=1) { #start loop
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment