rq: rq

Description Usage Arguments Details Value Examples

View source: R/rq.R

Description

Calculates the correlation coefficient between sorted data and theoretical quantiles in a univariate QQ plot

Usage

1
rq(x)

Arguments

x

the vector of data to calculate rq for

Details

For a variable, univariateqq() is invoked to get quantiles, then the corelation coefficient is calculated

Value

List ouput containing the rq value

Examples

1
rq(x = c(2,4,3,7,9,1,3,5,6))

jacob-moser/MATH4793MOSER documentation built on Dec. 20, 2021, 8:07 p.m.