Learn R Programming

santoku (version 0.10.0)

brk_default: Create a standard set of breaks

Description

Create a standard set of breaks

Usage

brk_default(breaks)

Value

A function which returns an object of class breaks.

Arguments

breaks

A numeric vector.

Examples

Run this code

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

Run the code above in your browser using DataLab