Learn R Programming

animint2 (version 2025.1.28)

generation.loci: Evolution simulation

Description

Allele frequencies for 100 loci and 12 populations were simulated over 100 generations.

Usage

data(generation.loci)

Arguments

Format

A data frame with 120000 observations on the following 4 variables.

locus

a numeric vector

population

a numeric vector

generation

a numeric vector

frequency

a numeric vector

color

factor: blue, red, or neutral

type

factor: balancing, none, or positive