reland: Re-arrage semi-landmark configuration

Description Usage Arguments Details Value

Description

To flip or change the order of semi-landmark configuration

Usage

1
reland(landdata, type = c("ori", "rev", "flip", "fliprev"))

Arguments

landdata

semi-landmarks data generated from equaldist functions. A matrix/dataframe consists of two columns of x and y coordinates

type

character of "ori", "rev", "flip", or "fliprev" to set the configuration of the semi-landmarks. See details.

Details

There are four possible configurations of semi-landmark sampling for any set of otolith, depending on the side of the otolith and the initial orietation of the image. This function can be used to standardize the sampling of semi-landmarks.

type argument change the semi-landmarks as if the otolith image was taken from different end on the left ("rev"), or as if the otolith is from the other side ("flip"), or as if the otolith is from the other side and image taken from different end on the left ("fliprev"). "ori" do nothing on the semi-landmarks.

Value

matrix of xy coordinates of re-arranged semi-landmarks data.


jinyung/otolith documentation built on May 19, 2019, 10:36 a.m.