Usage
makeScene(df, multiYear = FALSE, startCol = "start", endCol = "end", xCol = "x", yCol = "y", s1Col = "s1", s2Col = "s2", idCol = "id", dateFormat = "%Y-%m-%d")
Arguments
df
a data frame containing information about a mating scene,
namely coordinate of individuals in space, time, and mating type.
multiYear
logical indicating whether or not to split the result into
a list by year
startCol
character name of column with start dates
endCol
character name of column with end dates
xCol
character name of column with x or E coordinates
yCol
character name of column with y or N coordinates
s1Col
character name of one column with S-allele
s2Col
character name of another column with S-alleles
idCol
character name for column with unique identifier
dateFormat
character indicating either (1) the format of the start and end
date columns if those columns are characters or (2) the origin for the start
and end date columns if those columns are numeric. It is used in as.Date