brk_default {santoku}R Documentation

Create a standard set of breaks

Description

Create a standard set of breaks

Usage

brk_default(breaks)

Arguments

breaks

A numeric vector.

Value

A function which returns an object of class breaks.

Examples


chop(1:10, c(2, 5, 8))
chop(1:10, brk_default(c(2, 5, 8)))


[Package santoku version 1.0.0 Index]