f_info | R Documentation |
Print basic statistics on vector of elements or for each feature in a data frame. For each vector (or feature) the function f_vector_info() is called.
f_info(x, n.top = 10, show.freq = TRUE, n.width = 29, c.sort.by = "frequency")
x |
Vector or data frame with items to check statistics of. |
n.top |
Max number of items to show in the list (default: 10). |
show.freq |
Should frequency be shown? (default: TRUE). |
n.width |
Number of characters to show in the list (default: 29). |
c.sort.by |
How to sort the items in the frequency table, by its 'frequency' or 'value' (default: 'frequency'). |
-
Nothing. Only prints to console.
Pieter Overdevest
f_info(
x = c("A", "B", "C", "A", "B", "A"),
n.top = 10,
show.freq = TRUE,
c.sort.by = "frequency",
n.width = 29
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.