freqdist: Generates a Frequency Distribution with columns for raw...

Description Usage Arguments Value Author(s) Examples

View source: R/freqdist.R

Description

Generates a Frequency Distribution with columns for raw frequencies, percentages, and cumulative percentages.

Usage

1

Arguments

x

Variable on which the frequency distribution is generated.

Value

- Returns the frequency distribution.

Author(s)

Thomas Feldman and Kenneth W. Moffett

Examples

1
2
3
4
5
6
7
8
# Create Sample Data Frame

data <- c(1,2,3,4,4)
data <- as.data.frame(data)

# Run Frequency Distribution Command on Data Frame

freqdist(data)

Example output

       frequencies percentage cumulativepercentage
1                1         20                   20
2                1         20                   40
3                1         20                   60
4                2         40                  100
Totals           5        100                  100

freqdist documentation built on May 1, 2019, 9:25 p.m.

Related to freqdist in freqdist...