Leah,
You should take a look at the syntax when you have a categorical
variable. Check the AICcmodavg vignette:
> vignette("AICcmodavg")
Objet: Re: [unmarked] Model Averaging in unmarkedMultFrame
Date: Thu, 25 Apr 2024 17:23:12 -0700
Hi Marc,
Thanks so much for your response - I found the syntax in the vignette.
I did get the model averaging to work for the most part; however, I
receive the same error message every time I try to use a categorical
covariate as my parameter of interest. Any idea why this might be? I do
have this parameter in many of the candidate extinction models within
"frmodlist".
Leah
> frmodavg <- modavgShrink(cand.set = frmodlist, parm = "Flow_Regime",+
modnames = frmodnames,+ parm.type = "epsilon", second.ord = TRUE, nobs
= NULL, +
uncond.se = "revised", conf.level = 0.95, c.hat = 1)Error in