mantis: Simulated dataset of Mantis forelimb shapes

mantisR Documentation

Simulated dataset of Mantis forelimb shapes

Description

A simulated dataset of with 16 landmarks on the femur and tibia for 100 Mantis specimens. Two species with male and female shape differences are included.

Usage

mantis

Format

An object of class list of length 6.

Details

coords

An array of XY coordinates for the shape of multiple specimens (16 landmarks by 2 (XY) by 100 specimens).

landmark.number

The number of landmarks in the shape data.

specimen.number

The number of specimens in the shape data.

metadata

A data frame of simulated metadata.

provenance

Data provenance.

Source

Dave Angelini david.r.angelini@gmail.com [aut, cre]

Examples

# Load the dataset
data("mantis", package = "borealis")

# Define connecting lines
{
  x <- 1:16
  mantis.lines <- matrix(c(x[-length(x)],x[-1]), ncol = 2)
  mantis.lines[10,] <- c(10,1)
  mantis.lines[15,] <- c(15,6)
  mantis.lines <- rbind(mantis.lines,
                        matrix(c(5,11, 6,11, 13,16, 14,16), ncol = 2, byrow = TRUE))
}

landmark.plot(mantis)
names(mantis)


aphanotus/borealis documentation built on Nov. 4, 2022, 8:44 p.m.