diff --git a/NEWS.md b/NEWS.md new file mode 100644 index 0000000000000000000000000000000000000000..ac0e01e591009b2be25e9a9b04c4adcf46bda3cb --- /dev/null +++ b/NEWS.md @@ -0,0 +1,3 @@ +# simulateDCE 0.1.2 + +* This is the first release that works well and can be used by anyone. Look at the examples to see how it works. diff --git a/R/sim_all.R b/R/sim_all.R index 9af50588b180b383d7f815a7ab0c286ad7f82d9d..6b071dcf70fe0048d5603b2893ff68602b5c6f5d 100644 --- a/R/sim_all.R +++ b/R/sim_all.R @@ -28,7 +28,7 @@ #' bheight2=0.25, #' bheight3=0.50) #' -sim_all <- function(nosim=2, resps, destype="ngene", designpath, u, bcoeff, decisiongroups = c(0,1), manipulations = list()){ +sim_all <- function(nosim=2, resps, destype=NULL, designpath, u, bcoeff, decisiongroups = c(0,1), manipulations = list()){ ################################################# ########## Input Validation Test ############### @@ -157,6 +157,8 @@ sim_all <- function(nosim=2, resps, destype="ngene", designpath, u, bcoeff, deci all_designs[["graphs"]]=p all_designs[["powa"]]=powa all_designs[["time"]]=time + all_designs[["arguements"]] = list( "Beta values" = bcoeff, "Utility functions" = u , "Decision groups" =decisiongroups , "Manipulation of vars" = manipulations, + "Number Simulations" = nosim, "Respondents" = resps, "Designpath" = designpath) diff --git a/man/sim_all.Rd b/man/sim_all.Rd index 1cc6d888b341a97e338a3a515fa82b8a90a2b21e..4fd1b2cd5e494685d7916a2b5e6c51ac55ee517a 100644 --- a/man/sim_all.Rd +++ b/man/sim_all.Rd @@ -8,7 +8,7 @@ update} sim_all( nosim = 2, resps, - destype = "ngene", + destype = NULL, designpath, u, bcoeff,