A more complete fix for #110 that correctly simulates data and generates fitted values when fix='omega' (omega=1) or 'gamma' (gamma=0) in pcountopen.
To implement this I had to add a new attribute to pcountopen fit objects ("fix") to keep track of which parameter was fixed - guessing from the coefficient names could be problematic. If the attribute is missing (i.e., a model fit from an older version of unmarked is imported) the fix value defaults to "none".
A more complete fix for #110 that correctly simulates data and generates fitted values when
fix='omega'
(omega=1) or'gamma'
(gamma=0) inpcountopen
.To implement this I had to add a new attribute to
pcountopen
fit objects ("fix") to keep track of which parameter was fixed - guessing from the coefficient names could be problematic. If the attribute is missing (i.e., a model fit from an older version of unmarked is imported) the fix value defaults to "none".