getEulers: Get Eulers Angles

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/getEulers.R

Description

Given a covariance matrix calculated with Vlocate, extract euler's angles for plotting in rgl

Usage

1

Arguments

R

covarince matrix

Details

Extract the euler angles for plotting an ellipsoid. psi about X-axis, theta about Y axis, phi about Z-axis.

Value

vector, phi theta psi

Note

Used in conjunction with ROTcovQUAKE

Author(s)

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

See Also

ROTcovQUAKE

Examples

1
2
3
R = matrix( runif(9), ncol=3)

getEulers(R)

Rquake documentation built on May 29, 2017, 3:02 p.m.

Search within the Rquake package
Search all R packages, documentation and source code