bin_by: bin_by - a function to make easy cuts by default

View source: R/archived_binByTools.R

bin_byR Documentation

bin_by - a function to make easy cuts by default

Description

This fuction will return a vector for which depth bins for each observation

Usage

bin_by(df, method, custom_range = NULL, equal_step = 10, equal_number = 100)

Arguments

df

the vector to include to be cut. Should be an ecotaxa tsv export

method

"Equal Space", "Custom", "Equal Number" "Zooscan"

custom_range

vector of ranges

equal_step

create equal steps of this size, it will be centered (d = 10 includes 5-15)

equal_number

create this number of ranges


TheAlexBarth/EcotaxaTools documentation built on Nov. 14, 2024, 8:27 p.m.