Function to remove a given number of years of data and run FIMS model This function is called by run_fims_retrospective()
run_modified_data_fims.RdFunction to remove a given number of years of data and run FIMS model This function is called by run_fims_retrospective()
Examples
if (FALSE) { # \dontrun{
library(FIMS)
# Use built-in dataset from FIMS
data("data1")
data_4_model <- FIMSFrame(data1)
# Create a parameters object
parameters <- data_4_model |>
create_default_configurations() |>
create_default_parameters(data = data_4_model)
# Fit a FIMS model with 1 year of data removed
fit <- run_modified_data_fims(years_to_remove = 1, data = data1, parameters = parameters)
} # }