ConvertSexFormat: Convert Sex Data to format used by our Functions

View source: R/ConvertSexFormat.R

ConvertSexFormatR Documentation

Convert Sex Data to format used by our Functions

Description

Convert Sex Data to format used by our Functions

Usage

ConvertSexFormat(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