genindSlidingWindow: Create a list of genind objects based on a sliding window....

Usage Arguments Value Author(s)

Usage

1
genindSlidingWindow(gi, start.year, win.size, dates, verbose = TRUE)

Arguments

gi

A genind object to be subsetted.

start.year

Integer. Starting year. See win.size.

win.size

Integer. One side of sliding window. If start.year is 1995 and win.size is 2, sliding window will encompass years 1993:1997.

dates

A vector of dates that correspond to individual genotype in gi. Often stored in other(x). Dates will be coerced to integer years (%Y).

verbose

Boolean. If TRUE, a message will be printed about cohort span. Can be silenced by setting this to FALSE.

Value

A list of genind objects.

Author(s)

Roman Lustrik (roman.lustrik@biolitika.si)


romunov/zvau documentation built on May 27, 2019, 1:50 p.m.