sizespectrum / mizer

Multi-species size-based ecological modelling in R
https://sizespectrum.org/mizer
38 stars 43 forks source link

`validEffortVector()` and `validEffortArray()` should not accept NAs #230

Closed gustavdelius closed 2 years ago

gustavdelius commented 3 years ago

If an effort vector or array containing an NA is encountered, an error should be triggered, because it is not clear to mizer what it should do with a missing effort.

gustavdelius commented 2 years ago

Actually, NA's should be replaced by the default effort value.