createnullpresence: create null data

Description Usage Arguments Value Examples

View source: R/createnullpresence.R

Description

create null data

Usage

1
createnullpresence(IDs, from, to, propID = NULL, propabs = NULL)

Arguments

IDs

character, IDs

from

start date

to

end date

propID

proportion of IDs affected by absence

propabs

proportion of days (relative to date range) for absence

Value

data.frame, i.e. "presence matrix"

Examples

1
2
createnullpresence(letters[1:5], "2000-01-01", "2000-01-05")
createnullpresence(letters[1:5], "2000-01-01", "2000-01-05", 0.5, 0.5)

gobbios/socialindices documentation built on May 17, 2019, 2:43 p.m.