The goal of this script is to consider the height values that growthcleanr excludes as “carried forward” for potential re-inclusion by using a reverse absolute height velocity check based on step 15 of the Daymont et al. algorithm
Input data frame/data table, cleaned by cleangrowth(), with columns as described in main README.md
Numeric random seed, used only when performing random search
Type of search to perform: random (default), line-grid, full-grid
Number of steps in grid to search
Write output to file? Default FALSE.
"Output file name, default 'test_adjustcarrforward_DATE_TIME', where DATE is the current system date and time"
Verbose progress info
"none", or data frame to specify which parameters to run full search on, and values to use if not, used only when performing full-grid search
Produce extra data files for debugging
Limit to specified # subjects, default 0 (no limit)
Type of exclusion method for carried forward strings, 0 to 3. See adjustcarryforward documentation for more information
TRUE or FALSE, indicating whether or not to add answers (definely include/exclude) for the given dataset. Defaults to TRUE
A list containing: testacf_res: data frame with adjustcarryforward results for each run, params: a data frame containing parameter values for each run. debug_filtered_data: data frame with original data, returned if debug TRUE