--
You received this message because you are subscribed to the Google Groups "unmarked" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unmarked+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Don, you're missing the point: to state that you found the user manual unhelpful was not only unnecessary but wholly irrelevant to your request for assistance. Case closed. I suggest we end the discussion and focus on your technical request.
Matt
Matt Giovanni
608-320-9331
--
After much confusion Ive come to the conclusion
that I can use unmarkedFrameGDS with my data. I will have to analyze
years separately with the time frames representing within year replicate
surveys. New problem, when I try to backTransform the abundance estimates I get an error message. Currently in R I have:
> a<-read.csv("C:/Users/Bryan/Desktop/CREP dissertation/ch.2CREPPopulationestimate/N-mixture data/BEVI_csv/BEVI2012_20mNoobscovs.csv")
> y<-a[,2:21]
> R<-206
> T<-4
> site.cov<-(cp=a[22])
> db<-c(0,20,40,60,80,100)
>
> beviumf<-unmarkedFrameGDS(y=y, siteCovs=site.cov, survey="point", dist.breaks=db,unitsIn="m", numPrimar=T)
> summary(beviumf)
unmarkedFrame Object
206 sites
Maximum number of observations per site: 20
Mean number of observations per site: 11.6
Number of primary survey periods: 4
Number of secondary survey periods: 1
Sites with at least one detection: 21
Tabulation of y observations:
0 1 2 <NA>
2333 49 8 1730
Site-level covariates:
cp
CP22:53
CP23:76
CP3A:45
CP4D:32
>
> BEVI<- list()
> BEVI$null<-gdistsamp(~1, ~1, ~1, beviumf, output="abund", mixture="P", K=50)
> BEVI$nullNB<-gdistsamp(~1, ~1, ~1, beviumf, output="abund", mixture="NB", K=200)
> BEVI$NBcp<-gdistsamp(~cp, ~1, ~1, beviumf, output="abund", mixture="NB", K=200)
> BEVI$cp<-gdistsamp(~cp, ~1, ~1, beviumf, output="abund", mixture="NB", K=200)
> fitsBEVI<-fitList(fits=BEVI)
> msBEVI<-modSel(fitsBEVI)
> exportBEVI<-cbind(coef(msBEVI), msBEVI@Full$AIC)
> save.image("RbeviData")
> View(exportBEVI)
> backTransform(BEVI$cp, type="phi")
Backtransformed linear combination(s) of Availability estimate(s)
Estimate SE LinComb (Intercept)
0.0393 0.0262 -3.2 1
Transformation: logistic
> backTransform(BEVI$cp, type="det")
Backtransformed linear combination(s) of Detection estimate(s)
Estimate SE LinComb (Intercept)
62.1 11.1 4.13 1
Transformation: exp
> backTransform(BEVI$cp, type="lambda")
Error in .local(obj, ...) :
Cannot directly backTransform an unmarkedEstimate with length > 1
Im guessing it has to do with the categorical nature of the site covariate? I also tried using the linearComb function but couldnt get it to work.