dist.plot | R Documentation |
Creates a sorted line plot
dist.plot(
x,
decreasing = TRUE,
sort = TRUE,
navn = substitute(x),
mean = FALSE,
linecolor = "darkblue",
rug = FALSE,
area = TRUE,
plf = FALSE,
...
)
x |
a numerical vector |
decreasing |
if TRUE values are sorted from highest to lowest |
sort |
if TRUE values are sorted |
navn |
the plot title |
mean |
if TRUE annotates the mean on the plot |
linecolor |
the color of the line |
rug |
if TRUE adds "rugs" to the plot |
area |
if TRUE colors the area below the line |
plf |
if TRUE fits a power law on the distribution, see power.law.fit |
a ggplot2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.