Created
June 1, 2018 15:44
-
-
Save timcdlucas/8b7051fbd0fa6831913da6804c98d540 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Assume just the first few parameters vary, but can do the same thing. | |
ad.surv.intercept.vec <- c(0.0002516054 , 0.0001) | |
ad.surv.temp.vec <- c(0.1702, 0.2) | |
tic() | |
results <- | |
lapply(1:2, function(x) | |
results = run_simulation(ad.surv.intercept.vec[x], | |
ad.surv.temp.vec[x], | |
ad.surv.pack,disp.intercept,disp.pack.size,IBI.intercept,IBI.tempcoef,IBI.pups, | |
pup.intercept,pup.pack.size,juv.surv.intercept,juv.surv.temp,juv.surv.litter, | |
meantemp,actual.meantemp,number.of.packs,n.steps,repeats, burntime) | |
) | |
toc() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment