distrib | R Documentation |
Returns and plots a vetor's unweighted/weighted distribution.
distrib( dat, wei = NULL, kat = NULL, plot = T, plot.o = F, simplify = T, mar = NULL, width = NULL, height = NULL, main2 = "Boxplot", main1 = "", round = T, ... )
dat |
Numeric vector. |
wei |
Numeric vector representing of the same length as dat. Represents the weight that is attributed to each element of dat. |
kat |
Factor of the same length as dat. Specifies subgroups of dat to summarize. |
plot |
Logical value specifying whether to plot the weighted data. Defaults to T. |
plot.o |
Logical value specifying whether to plot the original data. Defaults to F. |
simplify |
Logical value specifying whether to return simplified data. Defaults to T. |
mar |
Numeric vector specifying margins. Defaults to NULL. |
width |
Numeric value specifying the width of the plot. Defaults to NULL. |
height |
Numeric value specifying the width of the plot. Defaults to NULL. |
Returns and plots a vetor's unweighted/weighted distribution.
distrib(1:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.