tube_wass: confidence band with histograms

View source: R/tube_wass.R

tube_wassR Documentation

confidence band with histograms

Description

this function builds a confidence band from the histograms

Usage

tube_wass(data, alpha = 0.1, nbr = 50, plot = FALSE, ...)

Arguments

data

ata of test sample and learning (data$learn and data$test). test sample must be sorted (sort(data$test)).

alpha

parameter for qnorm

nbr

number of breaks for histogram

plot

TRUE or FALSE, to plot confidence band

...

additional parameters for the histogram

Value

the lower edge and the upper edge of a confinement band and the aggregated version of the initial histogram.


cugliari/bagdenest documentation built on April 6, 2022, 4:52 p.m.