rarefaction: Does allelic diversity rarefaction

View source: R/rarefaction.R

rarefactionR Documentation

Does allelic diversity rarefaction

Description

This function subsamples the data with a smaller sample size and estimates the density of the diversity parameter.

Usage

rarefaction(x, mode = "Ae", size = 0, nperm = 999)

Arguments

x

The raw data as a locus vector.

mode

The mode passed to allelic_diversity.

size

The smaller sample size to use.

nperm

The number of times to subsample the data (default 999)

Value

A vector of permuted values.

Author(s)

Rodney J. Dyer rjdyer@vcu.edu


dyerlab/gstudio documentation built on Feb. 2, 2024, 8:24 p.m.