summarise_vector | R Documentation |
Shows for each unique element its numerosity and percentage.
summarise_vector(vec)
vec |
A vector. |
A string listing each unique element in the vector, its numerosity and percentage over the vector length (including missings).
BaySREn:::summarise_vector(iris$Species) # setosa: 50 (33.3%), versicolor: 50 (33.3%), virginica: 50 (33.3%)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.