clean_data {ss3sim} | R Documentation |
Given sampling arguments remove ("clean") all data in a .dat file that is not specified
Description
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
.
Usage
clean_data(dat_list, index_params = NULL, lcomp_params = NULL,
agecomp_params = NULL, calcomp_params = NULL,
mlacomp_params = NULL, verbose = FALSE)
Arguments
dat_list |
An SS data list object as read in from
|
index_params |
Named lists containing the arguments for
|
lcomp_params |
Named lists containing the arguments for
|
agecomp_params |
Named lists containing the arguments for
|
calcomp_params |
Named lists containing the arguments for
|
mlacomp_params |
Named lists containing the arguments for
|
verbose |
When |
Value
An invisible cleaned data list as an object.
Note
This function does not write the result to file.
Author(s)
Cole Monnahan
See Also
calculate_data_units, change_data
Other sampling functions: sample_agecomp
,
sample_calcomp
, sample_index
,
sample_lcomp
, sample_mlacomp
,
sample_wtatage