Learn R Programming

DSsim (version 1.1.4)

create.bins: Create bins from a set of binned distances and a set of cutpoints.

Description

This is a service routine and shouldn't be necessary in normal analyses.

Usage

create.bins(data, cutpoints)

Arguments

data

data.frame with at least the column distance.

cutpoints

vector of cutpoints for the bins

Value

data data with two extra columns distbegin and distend.