Create a single list with all information needed to estimate RoC. This list can then be evaluated in parallel across randomisation runs.
Usage
prepare_data(
data_source_prep,
working_units = c("levels", "bins", "MW"),
bin_size = 500,
number_of_shifts = 5,
rand = NULL
)Arguments
- data_source_prep
List with
communityandage- working_units
character. Strategy used to define Working Units between which dissimilarity is calculated."levels"- each stratigraphical level is its own WU."bins"- one representative level is selected from each time bin of widthbin_size."MW"- moving-window binning: selective binning is repeatednumber_of_shiftstimes, shifting the window bybin_size / number_of_shiftsyears each time. All results are retained and summarised together.
- bin_size
numeric. Width of each time bin in years. Used whenworking_unitsis"bins"or"MW".- number_of_shifts
numeric. Number of window shifts in moving-window binning (working_units = "MW").- rand
numeric. Number of randomisation runs. Set toNULL(default) to skip randomisation and use a single deterministic run.