NOAA-FIMS / FIMS

The repository for development of FIMS
https://noaa-fims.github.io/FIMS/
GNU General Public License v3.0
13 stars 8 forks source link

[Feature]: Allow users to input missing years of data #502

Open k-doering-NOAA opened 10 months ago

k-doering-NOAA commented 10 months ago

Is your feature request related to a problem? Please describe.

Continues #307 . Currently, users cannot having missing years of data. Allow filling in NAs for missing years of data in the S4 classes.

Describe the solution you would like.

fill in NA values for missing years in the S4. THen, there may need to be NA handling inside FIMS or mean/default values with huge sd's

Describe alternatives you have considered

NA handling could be done elsewhere, e.g., by the user or in the FIMS c++ code

Statistical validity, if applicable

No response

Describe if this is needed for a management application

No response

Additional context

No response

Andrea-Havron-NOAA commented 10 months ago

Here's an example of an isNA function in SAM

The function can then be used as a flag to turn off likelihood funtions if a data point is missing, like this example here.