Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Hughes authored and Hughes committed Sep 23, 2024
1 parent 20a0332 commit a09e786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/templates/JAGS_template.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ for(k in 2:nYears){
l.R ~ dnorm(l.R.Prior1,pow(l.R.Prior2, -2))T(-10,0)
cv.R~dunif(sig.R.Prior1,sig.R.Prior2) #note theoretical max cv for beta distn is 1.

geomLambda <- (prod(pop.growthr))^(1/(nYears)) #geometric mean
geomLambda <- prod(pop.growthr)^(1/nYears) #geometric mean
meanLambda <- mean(pop.growthr)
}

0 comments on commit a09e786

Please sign in to comment.