transect_stability: Changes in composition of two transects

View source: R/transect_stability.R

transect_stabilityR Documentation

Changes in composition of two transects

Description

Calculate the number of sampling points occupied by identical genotypes at two time points.

Usage

transect_stability(x, y)

Arguments

x, y

Vectors of genotypes along a transect.

Value

A number between 0 and 1. 0 indicates that no sampling point is occupied by the same genotype, 1 indicates that every sampling point is occupied by the same genotype.

Author(s)

Tom Ellis


ellisztamas/simmiad documentation built on Dec. 12, 2023, 5:32 a.m.