Enforce monotnocity on a vector.

Share:

Description

Forces DP-CDFs into the nearest monotonic vector (by euclidean distance minimization).

Usage

1

Arguments

cdf

The vector output of a differentially private CDF computation (cumulative count bins)

...

Optionally add additional parameters. This is primarily used to allow automated execution of varied diagnostic functions.

Value

A single monotonically increasing vector which is the post-processed DP-CDF's Y coordinates

Examples

1
smoothVector2(c(.1,.2,.3,.2,.3,.3,.3,.3,1))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.