write_workflow(
## arguments for init_reftable():
lower=c(logTh1=-2,logTh2=-2,logTh3=-2,logTh4=-2,ar=0.01,logMu=-5,MEANP=0.01),
upper=c(logTh1=1, logTh2=1, logTh3=1, logTh4=1, ar=0.99,logMu=-2,MEANP=0.99),
nUnique = 1000,
#
## for add_reftable():
Simulate="schtroumf", # name of a user-defined R function
simulator_args= list( # Imagine that schtroumf() require arguments 'exe_path' and 'cmdline':
exe_path="'path_to_smurf_executable'",
cmdline="'smurf.exe -a -b -c -d'"
), # Do check the quotation marks in the output...
#
## optional arguments for refine():
n=8000/3.2, CIs=TRUE, update_projectors=FALSE)
Run the code above in your browser using DataLab