Learn R Programming

plotrix (version 1.41)

print.freq: Display frequency table(s)

Description

Displays one or more frequency tables produced by freq.

Usage

print.freq(x,show.pc=TRUE,...)

Arguments

x
a frequency table produced by freq
show.pc
whether to display percentages as well as counts.
...
additional arguments passed to print.

Value

  • nil

Details

print.freq displays frequency tables produced by freq.

See Also

freq

Examples

Run this code
test.df<-data.frame(A=sample(1:10,50,TRUE),C=sample(LETTERS,100,TRUE))
 test.freq<-freq(test.df)
 print(test.freq)

Run the code above in your browser using DataLab