Description Usage Arguments Examples
This function calculates the simple ratio index for data in linear format
1 2 3 4 5 6 7 8 9 10 | simple_ratio(
sightings = sightings,
group_variable = group_variable,
dates = dates,
IDs = IDs,
diag = FALSE,
symmetric = TRUE,
mask = NULL,
assocInd = "SRI"
)
|
sightings |
a dataframe in linear format, i.e., one row per individual per observation |
group_variable |
a unique group identifier |
dates |
dates |
IDs |
individual IDs |
diag |
logical, should the diagonal be included (default FALSE) |
symmetric |
logical, should a symmetric matrix be returned (default TRUE) |
mask |
an availability matrix where rows are individuals and columns are sighting dates, cells should be 1 for available or NA if not |
assocInd |
whether the association index "SRI", the number of sightings together "X", or total "XY" should be returned |
1 | dat2mat()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.