write_test_data: This function writes dummy data that is used in the...

View source: R/write_test_data.R

write_test_dataR Documentation

This function writes dummy data that is used in the "Introduction" vignette

Description

This function writes dummy data that is used in the "Introduction" vignette

Usage

write_test_data(
  nyears,
  ewaa_vector = NULL,
  catch_index_v = NULL,
  survey_index_v = NULL,
  catch_comp_csv = NULL,
  survey_comp_csv = NULL
)

Arguments

nyears

scalar, number of years in the model

ewaa_vector

vector of empirical weight-at-age, length nyears * nages

catch_index_v

list with two entries, one named "values" and one named "errors" corresponding to catch, each list entry has length nyears

survey_index_v

list with two entries, one named "values" and one named "errors" corresponding to index, each list entry has length nyears

catch_comp_csv

a string with the name of the .csv file containing the catch age composition data, if NULL (the default) dummy data are used

survey_comp_csv

a string with the name of the .csv file containing the survey age composition data, if NULL (the default) dummy data are used


cstawitz/RMAS documentation built on Oct. 6, 2022, 3:31 a.m.