Learn R Programming

NADA2 (version 2.0.1)

hc_ppoints_cen: Plotting Positions for Censored Observations (Cohn Method)

Description

Computes plotting positions for censored observations using the Cohn method grouping. This is primarily for hydrologic data with left-censoring.

Usage

hc_ppoints_cen(obs, censored, cn = NULL, na.action = getOption("na.action"))

Value

A numeric vector of plotting positions corresponding to the censored observations.

Arguments

obs

A numeric vector of observed values.

censored

A logical vector indicating which observations are censored (TRUE for censored, FALSE otherwise).

cn

An optional list containing Cohn grouping information (usually from cohn()); if missing, it will be computed internally.

na.action

A function to handle missing values (default is getOption("na.action")).