Skip to content

Commit

Permalink
updated Fig.4 for egg removal scenario
Browse files Browse the repository at this point in the history
for feasibility study, produced Fig. 4 from model that considers egg removal
  • Loading branch information
steffenoppel committed Jul 1, 2020
1 parent c430219 commit 5eff235
Show file tree
Hide file tree
Showing 4 changed files with 26,844 additions and 3 deletions.
16 changes: 16 additions & 0 deletions EGVU_IPM_PVA_2020.r
Original file line number Diff line number Diff line change
Expand Up @@ -780,14 +780,30 @@ initIPM <- function(){list(mean.p.terrvis=runif(1,0.5,1),
base.recover.telemetry = rnorm(1,0, 0.001))}


### THE MODEL WITH ALL SCENARIOS RELEVANT FOR THE MANUSCRIPT ###

NeoIPM.SIMPLE <- autojags(data=INPUT,
inits=initIPM,
parameters.to.save=paraIPM,
model.file="C:\\STEFFEN\\RSPB\\Bulgaria\\Analysis\\PopulationModel\\vultures\\EGVU_IPM_2020_v4.jags", ## was EGVU_IPM_2019_COMBINED.jags
n.chains=nc, n.thin=nt, n.burnin=nb, parallel=T)##n.iter=ni,



### THE MODEL FOR THE FEASIBILITY STUDY THAT ASSUMES THAT FOR 5 YEARS EGGS ARE HARVESTED ###

INPUT$J.fec.red=breedinput1EGG$J
initIPM <- function(){list(mean.p.terrvis=runif(1,0.5,1),
mean.phi.terrvis=runif(2,0.75, 1),
sigma.obs.count=runif(4,0.1,100),
mu.fec = runif(2,0,1),
z.telemetry = z.telemetry,
mean.phi.telemetry = runif(1, 0.9, 0.999), ### two intercepts for juvenile and adults
base.obs.telemetry = rnorm(1,0, 0.001), # Prior for intercept of observation probability on logit scale
base.fail.telemetry = rnorm(1,0, 0.001), # Prior for intercept of tag failure probability on logit scale
base.recover.telemetry = rnorm(1,0, 0.001))}


NeoIPM.EGGREMOVAL <- autojags(data=INPUT,
inits=initIPM,
parameters.to.save=paraIPM,
Expand Down
Loading

0 comments on commit 5eff235

Please sign in to comment.