From 11b425f84efae86c73215cbfe74044d29e7193f6 Mon Sep 17 00:00:00 2001 From: Tobias Roth Date: Fri, 30 Oct 2020 15:18:05 +0100 Subject: [PATCH] Suggested correction in examples of predict.oSR.Rd To calculate Nhat the st.er of the density intercept is used rather the estimate. --- man/predict.oSCR.Rd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/predict.oSCR.Rd b/man/predict.oSCR.Rd index a0d4dc1..d8524cb 100644 --- a/man/predict.oSCR.Rd +++ b/man/predict.oSCR.Rd @@ -111,7 +111,7 @@ points(sf$traps[[1]],pch=3, lwd=2,col="red") out1 <- oSCR.fit(model=list(D~1,p0~1,sig~1), scrFrame=sf, ssDF=ssDF,plotit=FALSE , trimS=8) # Note: density intercept is log(per pixel) so total N = exp(intercept)*[# statespace points] -Nhat<- exp(out1$outStats[3,3])*nrow(ssDF[[1]]) +Nhat<- exp(out1$outStats[3,2])*nrow(ssDF[[1]]) # Obtain the predictions of density and activity center posteriors pred<- predict.oSCR(out1 ,sf, ssDF)