Learn R Programming

quantspec (version 1.2-4)

getFrequencies-QSpecQuantity: Get attribute frequencies from a QSpecQuantity.

Description

Get attribute frequencies from a QSpecQuantity.

Usage

# S4 method for QSpecQuantity
getFrequencies(object)

Value

Returns the frequencies attribute, as a vector of real numbers.

Arguments

object

QSpecQuantity from which to get the frequencies.

Examples

Run this code
qPG  <- quantilePG(rnorm(10), levels.1=c(0.25,0.5))
freq <- getFrequencies(qPG)

Run the code above in your browser using DataLab