search for: mcvampa

Displaying 1 result from an estimated 1 matches for "mcvampa".

Did you mean: mcvampb
2012 Feb 18
3
foreach %do% and %dopar%
...ccess, so I manage to run the code with foreach %do% and looks like this: The code is part of a MCMC model for projects valuation, returning the most important results (VPN, TIR, EVA, etc.) of the simulation. foreach (simx = NsimT, .combine=cbind, .inorder=FALSE, .verbose=TRUE) %do% { MCPVMPA = MCVAMPA[simx] #The *[simx] variables are vectors containing 100,000 simulations of each variable. MCPVMPB = MCVAMPB[simx] #Wich then I want to parse to the script below MCPVMPC = MCVAMPC[simx] #In order for the model to take the values of each variable. MCPVMPD = MCVAMPD[simx] source(paste(pathglo...