schedulize: Schedulize

Description Usage Arguments Examples

View source: R/schedulize.R

Description

This function converts a dataframe of entry and depart dates to an availability matrix for simulations or calculating association indices

Usage

1
2
3
4
5
6
7
8
schedulize(
  data,
  id = "dolphin_id",
  start = "entry",
  end = "depart",
  dates = dates,
  format = c("sim", "mask")
)

Arguments

data

a dataframe

id

individual IDs

start

first date of availability

end

last date of availability

dates

dates in standard character or Date format

format

one of "sim" for SENM or "mask" for calculating association indices

Examples

1
2

vjf2/SocGen documentation built on April 24, 2021, 10:59 a.m.