Hi all,
I'm trying to figure out why code I've used previously suddenly isn't working. All of a sudden when I specify the region, observation, and sample tables, my estimations are all 0. Then, even when I make a new species-specific dataframe and specify all those tables, it still doesn't want to work. This happens no matter the model type: hr/hn/unif. All formatting and units are correct. What is going on?
Note that I was able to get a proper estimate by using a species-specific dataframe and using the third block of code below, so the immediate problem is resolved. But I'm still curious as to what's going on with the first two blocks and why they're not working.
pilotset.dht (856 observations of 8 variables):
ds(data = pilotset.dht, transect = "point", key = "hr",
+ formula = ~(as.factor(Habitat)), region_table = rgntbl,
+ sample_table = coysmpls, obs_table = coyobstbl,
+ cutpoints = bin.cutpoints, convert_units = conversion.factor)
species-specific dataframe--coyobs.df (68 observations of 8 variables):
ds(data = coyobs.df, transect = "point", key = "hr",
+ formula = ~(as.factor(Habitat)), region_table = rgntbl,
+ sample_table = coysmpls, obs_table = coyobstbl,
+ cutpoints = bin.cutpoints, convert_units = conversion.factor)
(Results attached for above code blocks)
the one that worked (same dataframe as second block of code, just no specified observation/sample/region tables):
ds(data = coyobs.df, transect = "point", key = "hr",
+ formula = ~(as.factor(Habitat)), cutpoints = bin.cutpoints,
+ convert_units = conversion.factor)
(Results not attached for the above block)