monotonize: Project a vector into monotone space

Description Usage Arguments

Description

Makes a vector monotone. (REFERENCE) proposed a method to project a vector onto monotone space.

Usage

1
monotonize(x, type = "increasing", forced = NULL)

Arguments

x

non-empty numeric vector

type

character indicating if the function is increasing or decreasing

forced

numeric vector of indeces specifying points that cannot be moved


wzhorton/hortonlib documentation built on May 9, 2019, 8:19 a.m.