Learn R Programming

GEOmap (version 2.5-11)

rose: Rose Diagram

Description

Rose diagram of angle orientations or directions

Usage

rose(angles, bins, x = 0, y = 0, col = "black", border = "black",
annot = FALSE, main = "", prop = 1, pts = FALSE, cex = 1, pch = 16,
dotsep = 40, siz = 1, LABS = LABS, LABangle = 180, add = FALSE, SYM = FALSE)

Value

list:

usector

sector angles

uradius

sector radii

usizx

x size scale

usizy

y size scale

x

x center on page

y

y center on page

Arguments

angles

numeric, vector of angles in radians

bins

integer, number of bins

x

numeric, x location on page

y

numeric, y location on page

col

color for pie slices

border

color for pie borders

annot

logical, annotation

main

character, main title

prop

proportional plotting, default = 1

pts

logical, add points (default=FALSE)

cex

character expansion

pch

plotting character

dotsep

separation of dots

siz

size of plot

LABS

Labels

LABangle

angle for plotting Label angles

add

logical, add to plot (default=FALSE)

SYM

logical, symmetric rose diagram (FALSE)

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

Details

Create a rose diagram or add rose diagram to an existing plot. Used for plotting geographic orientations or directions.

See Also

package RFOC for distributions on a sphere

Examples

Run this code

ff=c(23,27,53,58,64,83,85,88,93,99,100,
  105,113,113,114,117,121,123,125,126,
  126,126,127,127,128,128,129,132,132,
  132,134,135,137,144,145,145,146,153,
  155,155,155,157,163,165,171,172,179,181,186,190,212)




rose((ff-90)*pi/180, 50, x=0, y=0, LABS = c("N", "S", "W", "E"), 
annot=TRUE,border='white',LABangle=135, siz =sqrt(2), SYM=FALSE)

rose((ff-90)*pi/180, 50, x=0, y=0, LABS = c("N", "S", "W", "E"), 
annot=TRUE,border='white',LABangle=135, siz =sqrt(2), SYM=TRUE)





Run the code above in your browser using DataLab