ft: Frecueny table from a vector

Description Usage Arguments Value Examples

View source: R/ft.R

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 June 5, 2017, 5:13 p.m.