From a09e786a7618b7039f941bdeee696d392144c5d7 Mon Sep 17 00:00:00 2001 From: Hughes Date: Mon, 23 Sep 2024 15:43:54 -0400 Subject: [PATCH] fix syntax error --- inst/templates/JAGS_template.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/templates/JAGS_template.txt b/inst/templates/JAGS_template.txt index 60348d4..c25efce 100644 --- a/inst/templates/JAGS_template.txt +++ b/inst/templates/JAGS_template.txt @@ -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) }