bin: Bin data

View source: R/internal.R

binR Documentation

Bin data

Description

Assigns bins to a vector of values

Usage

bin(data, nbins, labels = NULL)

Arguments

data

vector of data to bin

nbins

number of bins to produce

labels

names for the bins

Value

bins of values


schuyler-smith/phylosmith documentation built on Feb. 6, 2025, 1:56 p.m.