R/write_test_data.R
write_test_data.Rd
This function writes dummy data that is used in the "Introduction" vignette
write_test_data(
nyears,
ewaa_vector = NULL,
catch_index_v = NULL,
survey_index_v = NULL,
catch_comp_csv = NULL,
survey_comp_csv = NULL
)
scalar, number of years in the model
vector of empirical weight-at-age, length nyears * nages
list with two entries, one named "values" and one named "errors" corresponding to catch, each list entry has length nyears
list with two entries, one named "values" and one named "errors" corresponding to index, each list entry has length nyears
a string with the name of the .csv file containing the catch age composition data, if NULL (the default) dummy data are used
a string with the name of the .csv file containing the survey age composition data, if NULL (the default) dummy data are used