Stickleback data {paleoTS}R Documentation

Stickleback data from Bell et al. (2006)

Description

Data of pelvic score data from a fossil stickleback lineage.

Usage

data(dorsal.spines)

Format

a paleoTS object for the time-series of pelvic scores

Details

These data are already in the form of a paleoTS object, with sample means (mm), variances (vv) sample sizes (nn), and ages in Kyr (tt).

Source

Bell, M.A., M.P. Travis and D.M. Blouw 2006. Inferring natural selection in a fossil threespine stickleback. Paleobiology 32:562-577.

Examples

data(pelvic.score)

# get subset of samples from invading lineage (tt>=4.5 Kyr), only those with nn>=5
ok<- pelvic.score$tt >= 4.5 & pelvic.score$nn >=5
ps2<- sub.paleoTS(pelvic.score, ok=ok)

# convert time scale to generations (500 gen per Kyr)
ps2$tt<- ps2$tt*(1000/2)	
plot(ps2, pool=TRUE)

[Package paleoTS version 0.3-1 Index]