cutJust: Cuts values and assign new values to each break.

Description Usage Arguments

Description

This is useful for creating hjust and vjust positions for text on plots. this is essentially a wrapper around cut

Usage

1
  cutJust(x, breaks, newValues)

Arguments

x

Vector to cut

breaks

Vector with break points. Needs to include the min and max of x

newValues

Vector with new values. Should be length one less than breaks.


andrie/surveyor documentation built on May 10, 2019, 11:21 a.m.