pitchAngle: Calculate pitch angle (in degrees) from XYZ coordinate data...

View source: R/BiomechanicsFunctions.R

pitchAngleR Documentation

Calculate pitch angle (in degrees) from XYZ coordinate data of two points

Description

Calculates the pitch angle (in degrees), from the XYZ coordinates of two points

Usage

pitchAngle(P1, P2)

Arguments

P1

A data.frame of numeric values containing the X, Y, and Z coordinate data, respectively, for the first point (e.g, the pelvic girdle)

P2

A data.frame of numeric values containing the X, Y, and Z coordinate data, respectively, for the second point (e.g., the hip)

Details

These procedures follow the methodology used in Kawano and Blob (2013) and Kawano et al. 2016 to calculate angles formed about the limb joints in animals.

References

Kawano SM, Blob RW. 2013. Propulsive forces of mudskipper fins and salamander limbs during terrestrial locomotion: implications for the invasion of land. Integrative and Comparative Biology 53(2): 283-294. https://academic.oup.com/icb/article/53/2/283/806410/Propulsive-Forces-of-Mudskipper-Fins-and

Kawano SM, Economy DR, Kennedy MS, Dean D, Blob RW. 2016. Comparative limb bone loading in the humerus and femur of the tiger salamander Ambystoma tigrinum: testing the "mixed-chain" hypothesis for skeletal safety factors. Journal of Experimental Biology 219: 341-353. http://jeb.biologists.org/content/219/3/341

Examples


P1 <- matrix(c(0.001005251, 0.001195392, 0.001406054, -0.09343679, -0.09347614, -0.09350069, 0.01603717, 0.0161097, 0.01616693), 3, 3)
P2 <- matrix(c(0.006305306, 0.006526961, 0.006747555, -0.08206114, -0.08207707, -0.08207049, 0.006997669, 0.006980824, 0.006975157), 3, 3)

pitch <- pitchAngle(P1, P2)


MorphoFun/kraken documentation built on July 2, 2022, 1:13 p.m.