Learn R Programming

moezipfR (version 1.0)

moezipfR.utils.getDataMatrix: Convert sample vector to frequency matrix.

Description

Converts a sequence of values into a matrix of frequencies.

Usage

moezipfR.utils.getDataMatrix(values)

Arguments

values
Vector of positive integer values.

Value

The matrix of frequencies associated to the vector values.

Examples

Run this code
data <- rmoezipf(100, 2.5, 1.3)
moezipfR.utils.getDataMatrix(data)

Run the code above in your browser using DataLab