make_bins: Create template for RoC estimations

View source: R/make_bins.R

make_binsR Documentation

Create template for RoC estimations

Description

Create template for RoC estimations

Usage

make_bins(
  data_source_bins,
  working_units = c("levels", "bins", "MW"),
  bin_size = 500,
  number_of_shifts = 5
)

Arguments

data_source_bins

List with community and age

working_units

Character. Selection of units that the dissimilarity_coefficient will be calculated between.

  • "levels" - individual levels are going to be used

  • "bins" - samples in predefined bins will be pooled together and one sample will be selected from each time bin as a representation.

  • "MW" - Bins of selected size are created, starting from the beginning of the core. This is repeated many times, with each time bin (window) shifting by Z years forward. This is repeated X times, where X = bin size / Z.

bin_size

Numeric. Size of the time bin (in years)

number_of_shifts

Numeric. Value determining the number of shifts of window used in Moving window method


HOPE-UIB-BIO/R-Ratepol-package documentation built on March 6, 2024, 7:10 a.m.