Learn R Programming

quantspec (version 1.0-0)

getFrequencies-QSpecQuantity: Get attribute frequencies from a QSpecQuantity.

Description

Get attribute frequencies from a QSpecQuantity.

Usage

## S3 method for class 'QSpecQuantity':
getFrequencies(object)

Arguments

object
QSpecQuantity from which to get the frequencies.

Value

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

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