Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

forcerighthand

Force Right-Hand System


Description

Force Right-Hand System

Usage

forcerighthand(U)

Arguments

U

3 by 3 matrix

Details

Flip vectors so they form a right handed system

Value

matrix

Author(s)

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

See Also

testrightHAND

Examples

Mtens = c(-0.412, 0.084, 0.328 ,0.398, -1.239, 1.058)
M1 = matrix(c(Mtens[1], Mtens[4], Mtens[5], Mtens[4], Mtens[2],
Mtens[6], Mtens[5],Mtens[6], Mtens[3]), ncol=3, nrow=3, byrow=TRUE)
E1 = eigen(M1)
testrightHAND(E1$vectors) 

E1$vectors = forcerighthand(E1$vectors) 

testrightHAND(E1$vectors)

RFOC

Graphics for Spherical Distributions and Earthquake Focal Mechanisms

v3.4-6
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre], Keehoon Kim [ctb]
Initial release
2018-01-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.