Description Usage Arguments Details
This function describes a vector with summary statistics and plots.
1 2 |
x |
a vector |
na_type |
a character vector of strings that will be interpreted as NA |
min_unique |
the minimal number of unique values for a numeric vector to be describe as a numeric vector and not as a categorical vector. Defaults to 15. |
length_out |
number of unique values displayed in the plots and table for categorical vectors. Defaults to 15. |
nchar |
maximum number of characters displayed in the plots as level values for categorical vectors. See details. |
plot |
logical, whether to plot the graph. Defaults to TRUE. |
Depending on the class of the vector the functions descNumeric()
,
descCategorical()
or descDate()
are called. Each one returns one table
with general summary statistics such as the length of x, the number of unique values,
the number of missing values. If x is categoric then a frequency table is also
returned. Different plots are also generated to see. See the description of the
differents functions for more information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.