ecdfPlot | R Documentation |
Creates a graph of the empirical distribution function of data.
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), ...) ## Default S3 method: 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), ...)
x |
the data to plot. |
group |
create groups for |
Plot |
parameters defining the characteristics of the plot. See
|
xaxis.log |
logical, if |
xaxis.range |
set the range of the x-axis. See Details. |
xlabels |
set the x-axis labels. See |
ylabels |
set the y-axis labels. See |
ytitle |
the y-axis title (also called y-axis caption). |
xtitle |
the x-axis title (also called x-axis caption). |
caption |
the figure caption. |
margin |
set the plot area margins, in units of lines of text. Generally
all NA or the output from |
... |
any additional arguments needed by specific methods. |
For linear axes, the range can be set to virtually any pair of values. For log axes, the choice of range is more resticted—for less than one log-cycle, powers of whole numbers can be used; from 1 to about 3 log cycles, the choces should be powers of 3 or 10; and for more than 3 log cycles, the range sould be expressed only in powers of 10.
Information about the graph.
A call should be made to setPage
to set up the graphics
environment before calling ecdfPlot
.
setPage
, probPlot
## Not run: set.seed(1) X <- rlnorm(32) setGD() ecdfPlot(X) # For more details of ecdfPlot see vignette(topic="ProbabilityPlots", package="smwrGraphs") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.