Is it possible to use obsCovs to estimate lambda, gamma, or omega? For example, I have been playing with the alfl0506 data and pcountOpen script from the January Webinar. When I try to include time as a covariate to help estimate lambda like this:
(fm5 <- pcountOpen(~time, ~1, ~1, ~1, alfl.umf, K=30))
I get this error:
in model.frame.default(lamformula, siteCovs, na.action = NULL) :
object is not a matrix
The reason I ask is that I am hoping to use monthly fruiting of tree species in three different sites as covariates to explain monthly bird counts. I don't think I can include fruiting as siteCovs because fruiting is not a constant feature of my sites – it changes each month.
I have attached an example spreadsheet showing how I think I would need to setup my data to use pcountOpen. Though I've only included 6 dates, I have 18 dates in my full data set. I welcome any suggestions.
Thanks, Rhine
To: unma...@googlegroups.com
From: Rhine <sin...@franklinpierce.edu>
Sent by: unma...@googlegroups.com
Date: 08/02/2012 02:39PM
Subject: Re: [unmarked] in pcountOpen, using obsCovs to estimate lambda, gamma, or omega?
| From: | Rhine <sin...@franklinpierce.edu> |
| To: | unma...@googlegroups.com |
| Date: | 08/02/2012 02:52 PM |
| Subject: |
| Re: [unmarked] in pcountOpen, using obsCovs to estimate lambda, gamma, or omega? |
| Sent by: | unma...@googlegroups.com |