cosap: Conversion of cosines to azimuth and plunge

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

View source: R/cosap.R

Description

Conversion of cosines to azimuth and plunge.

Usage

1
cosap(x,y,z)

Arguments

x

x component of cosine.

y

y component of cosine.

z

z component of cosine.

Details

Orientation: x>0 is 'eastward', y>0 is 'southward', and z>0 is 'downward'.

Value

A list including:

A

The azimuth

P

The plunge

Author(s)

Eli Amson

R implementation and documentation: Eli Amson <eli.amson1988@gmail.com>

References

Amson E, Arnold P, Van Heteren AH, Cannoville A, Nyakatura JA. Trabecular architecture in the forelimb epiphyses of extant xenarthrans (Mammalia). Frontiers in Zoology.

See Also

euclid, euclid.inv, eul2rot

Examples

1
cosap(-0.505, 0.510, -0.696)

Example output

sh: 1: wc: Permission denied
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl.init' failed, running with 'rgl.useNULL = TRUE'. 
$A
[1] 44.71776

$P
[1] 44.10696

Directional documentation built on Nov. 8, 2021, 1:07 a.m.