elbow_plot: Makes an elbow plot for a polygram object.

Description Usage Arguments Value

View source: R/loss_functions.R

Description

Makes an elbow plot for a polygram object.

Usage

1
2
elbow_plot(data, lower = NULL, upper = NULL, type = "regular",
  loss = "L2", ...)

Arguments

data

The underlying data

type

Can be "regular" or "quantiles".

loss

The type of discrepancy used. Defaults to L2, and KL will be supported.

...

Passed to polygram.

N

The maximal number of bins.

Value

An elbow plot.


JonasMoss/polygrams documentation built on Nov. 8, 2019, 5:19 p.m.