Learn R Programming

isocir (version 2.0-7.1)

cirdata: Random Circular Data.

Description

An example data set. The data have been created randomly for the purpose of running some examples of the functions of the package isocir.

Usage

data(cirdata)

Arguments

Details

Every data of the vector come from the unit circle \([0,2\pi]\).

References

Mardia, K. and Jupp, P. (2000). Directional Statistics, Chichester: Wiley.

See Also

cirgenes, datareplic.

Examples

Run this code
data(cirdata)

# Put groups of the order in the correct form:
orderGroups <- c(1,1,1,2,2,3,4,4)


# execute CIRE to obtain the CIRE with circular order:
example1CIRE <- CIRE(cirdata, groups = orderGroups, circular = TRUE)
example1CIRE 

# if the user wants the graphics: 
#plot(example1CIRE)
#plot(example1CIRE, option="cirmeans")



Run the code above in your browser using DataLab