powered by
levels
QSpecQuantity
If the optional parameter j is supplied, then the jth vector of levels will be returned, a list with all vectors otherwise.
j
# S4 method for QSpecQuantity getLevels(object, j)
Returns levels attribute, as a vector of real numbers.
QSpecQuantity from which to get the levels.
Index pointing to a set of levels in the list; optional.
qPG <- quantilePG(rnorm(10), levels.1=c(0.25,0.5)) levels.list <- getLevels(qPG) levels.1 <- getLevels(qPG,1)
Run the code above in your browser using DataLab