OPCr {molaR}R Documentation

Calculate average orientation patch count after several rotations

Description

A function that calls OPC iteratively after rotating mesh a selected number of degrees around the Z-axis following Evans and Jernvall (2009) Patterns and constraints in carnivoran and rodent dental complexity and tooth size. J Vert Paleo 29:24A

Usage

OPCr(plyFile, steps = 8, stepSize = 5.625, minimum_faces = 3, minimum_area = 0)

Arguments

plyFile

An object of classes 'mesh3d' and 'shape3d' with calculated normals

steps

Number of iterations to run the OPC() function on the mesh

stepSize

Amount of rotation (in degrees) about the Z-axis to adjust mesh surface by between each iteration of OPC()

minimum_faces

Argument to pass to the OPC() function

minimum_area

Argument to pass to the OPC() function

Details

The function requires a mesh object created by reading in a ply file utilizing either the, vcgPlyRead function.

Default number of steps is 8, with a stepSize of 5.625 degrees, following the original published definition of OPCR.

See the details for the OPC function for more information about preparing mesh surfaces and the effects of minimum_faces and minimum_area.


[Package molaR version 5.3 Index]