frequencies {Deducer}R 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)

[Package Deducer version 0.7-9 Index]