ft: Frecueny table from a vector

Description Usage Arguments Value Examples

Description

Frecueny table from a vector

Usage

1
ft(x, order.by.count = TRUE)

Arguments

x

A vector

order.by.count

Logical value if the df response have to be order by count.

Value

The frecuency table of x. Frecuencies and percents are returned in a data.frame object (adding tbl_df class).

Examples

1
2
3
set.seed(1313)
x <- sample(LETTERS[1:10], size = 100, prob = 1:10/10, replace = TRUE)
ft(x)

jbkunst/riskr documentation built on May 18, 2019, 7 p.m.