convert.sex.format: Convert Sex Data to format used by our Functions

convert.sex.formatR Documentation

Convert Sex Data to format used by our Functions

Description

Convert Sex Data to format used by our Functions

Usage

convert.sex.format(Sex, female.string = "F", male.string = "M")

Arguments

Sex

A character or factor vector (vector produced will be the same type) that includes the sex of each individual.

female.string

How sex for females is recorded currently (defaults to "F").

male.string

How sex for males is recorded currently (defaults to "M").

Examples

data(pupfish) ## In geomorph.
ConvertSexFormat(pupfish$Sex)

TWilliamBell/angler documentation built on March 31, 2022, midnight