Last data update: 2014.03.03

R: Mean Resultant Length
est.rhoR Documentation

Mean Resultant Length

Description

Returns the mean resultant length of a vector of circular data.

Usage

est.rho(x)

Arguments

x

vector of data points measured in radians.

Details

Each observation is treated as a unit vector, or point on the unit circle. The resultant vector of the observations is found, and the length of the resultant vector divided by the sample size is returned.

Value

Returns the mean resultant length of data.

References

Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 1.3, World Scientific Press, Singapore.

See Also

circ.mean, circ.disp, circ.summary, est.kappa.

Examples

# Compute the mean resultant length of a random sample of observations.
data <- runif(100, 0, 2*pi)
est.rho(data)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(CircStats)
Loading required package: MASS
Loading required package: boot
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/CircStats/est.rho.Rd_%03d_medium.png", width=480, height=480)
> ### Name: est.rho
> ### Title: Mean Resultant Length
> ### Aliases: est.rho
> ### Keywords: htest
> 
> ### ** Examples
> 
> # Compute the mean resultant length of a random sample of observations.
> data <- runif(100, 0, 2*pi)
> est.rho(data)
[1] 0.06911173
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>