cv12_kde_ppu {CleaningValidation}R Documentation

Calculate PPU using KDE density estimation

Description

Calculate PPU using KDE density estimation

Usage

cv12_kde_ppu(
  data,
  residue_col,
  cleaning_event_col,
  usl_col,
  n_bootstrap = 1000
)

Arguments

data

The dataset containing the columns specified in other parameters.

residue_col

The name of the column containing residue data.

cleaning_event_col

The name of the column containing cleaning event data (unused).

usl_col

The name of the column containing USL values.

n_bootstrap

The number of bootstrap samples to use.

Value

A dataframe with the estimated PPU and its 95

Author(s)

Chan, Mohamed, Lou, Wendy, Yang, Xiande [xiande.yang at gmail.com]

Examples

 Eq_DAR <- cv03_usl_unification(data = Eq_DAR, cleaning_event_col = "CleaningEvent", 
residue_col = "DAR", usl_col = "USL")
cv12_kde_ppu(data = Eq_DAR, residue_col = "DAR_Pct", cleaning_event_col = "CleaningEvent",
 usl_col = "USL_Pct", n_bootstrap = 1000)

[Package CleaningValidation version 1.0 Index]