ecdfPlot.lcens: Empirical Distribution Function

View source: R/ecdfPlot.R

ecdfPlot.lcensR Documentation

Empirical Distribution Function

Description

Produces a graph of the empirical distribution function: methods for "lcens" and "qw" data.

Usage

## S3 method for class 'lcens'
ecdfPlot(x, group = NULL, Plot = list(name = "Auto", what =
  "stairstep", type = "solid", width = "standard", symbol = "circle", filled =
  TRUE, size = 0.09, color = "Auto"), xaxis.log = TRUE, xaxis.range = c(NA,
  NA), xlabels = 11, ylabels = 5, ytitle = "Cumulative Probability",
  xtitle = deparse(substitute(x)), caption = "", margin = c(NA, NA, NA,
  NA), ...)

## S3 method for class 'qw'
ecdfPlot(x, group = NULL, Plot = list(name = "Auto", what =
  "stairstep", type = "solid", width = "standard", symbol = "circle", filled =
  TRUE, size = 0.09, color = "Auto"), xaxis.log = TRUE, xaxis.range = c(NA,
  NA), xlabels = 11, ylabels = 5, ytitle = "Cumulative Probability",
  xtitle = deparse(substitute(x)), caption = "", margin = c(NA, NA, NA,
  NA), ...)

Arguments

x

the data to plot. Missing values are removed before plotting.

group

create groups of the left-censored data vector.

Plot

control parameters of the uncensored data plot.

xaxis.log

log-transform the x axis?

xaxis.range

set the range of the x axis.

xlabels

set the x-axis labels. See linearPretty for details.

ylabels

set the y-axis labels. See linearPretty for details.

ytitle

the y-axis title.

xtitle

the x-axis title.

caption

the figure caption.

margin

the parameters of the margin of the plot area.

...

any additional arguments needed by specific methods.

Value

Information about the graph.

See Also

probPlot.lcens

Examples

## Not run: 
set.seed(1932)
Xu <- rlnorm(32)
setPage("sq") # required page set up
ecdfPlot(as.lcens(Xu, 1.0))

## End(Not run)


USGS-R/smwrQW documentation built on Oct. 11, 2022, 6:13 a.m.