frequencies: Frequency Tables

View source: R/frequencies.R

frequenciesR Documentation

Frequency Tables

Description

Creates a set of frequency tables.

Usage

frequencies(data,r.digits=1)

Arguments

data

A data.frame containing the variables on which to run frequencies

r.digits

how many digits should the percentages be rounded to

Value

Returns a list of freq.table objects. One for each variable in data.

See Also

table xtabs descriptive.table prop.table

Examples

dat<-data.frame(rnorm(100)>0,trunc(runif(100,0,5)))
##rounding to 1
frequencies(dat)
##rounding to 4
frequencies(dat,4)

Deducer documentation built on June 8, 2025, 1:21 p.m.

Related to frequencies in Deducer...