effort.focal: Focal sampling

Description Usage Arguments

View source: R/measurment_functions_EFFORT.R

Description

This function will estimate the sampling effort from focal data. It will calculate the total durration each dyad had the potential to be observed (i.e., Interactions between A and B could only be seen if A or B was the focal). This sampling correction should be applied post network construction.

Usage

1
effort.focal(df.window, effortData, directed = FALSE)

Arguments

df.window

A data frame with focal duration per individual per unique focal, with a date time column.

effortData

A data frame with the first column as a datatime stamp, a second column with the ID of the focal, and a thrid columbn with the total time of the focal.

directed

Whether a directed network should be constructed (Default=FALSE).


tbonne/netTS documentation built on July 26, 2021, 2:27 a.m.