Learn R Programming

geostats (version 1.6)

Rbar: calculate \(\bar{R}\)

Description

Given \(n\) circular or spherical measurements, the length of their normalised vector sum (\(\bar{R}\)) serves as a measure of directional concentration.

Usage

Rbar(trd, plg = 0, option = 0, degrees = FALSE)

Value

a value between 0 and 1

Arguments

trd

trend angle, in degrees, between 0 and 360 (if degrees=TRUE) or between 0 and \(2\pi\) (if degrees=FALSE).

plg

(optional) plunge angle, in degrees, between 0 and 90 (if degrees=TRUE) or between 0 and \(2\pi\) (if degrees=FALSE).

option

scalar. If option=0, then plg is ignored and the measurements are considered to be circular; if option=1, then trd is the azimuth and plg is the dip; if option=2, then trd is the strike and plg is the dip; if option=3 then trd is the longitude and plg is the latitude.

degrees

TRUE for degrees, FALSE for radians

Examples

Run this code
data(striations,package='geostats')
Rbar(striations,degrees=TRUE)

Run the code above in your browser using DataLab