This prepares a .dat
file to be used by an EM, whereas before it may
have had leftover data from sampling purposes. See examples in
change_data
.
clean_data(dat_list, index_params = NULL, lcomp_params = NULL,
agecomp_params = NULL, calcomp_params = NULL,
mlacomp_params = NULL, verbose = FALSE)
An SS data list object as read in from
SS_readdat
in the r4ss package. Make sure
you select option section=2
.
Named lists containing the arguments for
sample_index
.
Named lists containing the arguments for
sample_lcomp
.
Named lists containing the arguments for
sample_agecomp
.
Named lists containing the arguments for
sample_calcomp
.
Named lists containing the arguments for
sample_mlacomp
.
When TRUE
it will print a message when rows are
deleted.
An invisible cleaned data list as an object.
calculate_data_units, change_data
Other sampling functions: sample_agecomp
,
sample_calcomp
, sample_index
,
sample_lcomp
, sample_mlacomp
,
sample_wtatage