plotCsum | R Documentation |
Plot the cumulative frequency of a data vector or matrix, showing the median and mean of the distribution.
plotCsum(x, add = FALSE, ylim = c(0, 1), xlab = "Measure",
ylab = "Cumulative Proportion", ...)
x |
vector or matrix of numeric values. |
add |
logical: if |
ylim |
limits for the y-axis. |
xlab |
label for the x-axis. |
ylab |
label for the y-axis. |
... |
additional arguments for the |
Rowan Haigh, Pacific Biological Station, Fisheries and Oceans Canada, Nanaimo BC
local(envir=.PBSmodEnv,expr={
oldpar = par(no.readonly=TRUE)
x <- rgamma(n=1000,shape=2)
plotCsum(x)
par(oldpar)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.