net.para: Extract networks in parallel using a dataframe of times

Description Usage Arguments

View source: R/window_functions_graph.R

Description

This function will generate networks in parallel using a dataframe with time constraints.

Usage

1
2
net.para(data, window.ranges, directed = FALSE, effortFun = NULL,
  effortData = NULL)

Arguments

data

A dataframe with relational data in the first two columns, and a time stamp in the third column. An optional column with a weight can be added if there is a duration or magnitude for each interaction (column name for this should be set to 'weight'). Note: time stamps should be in ymd or ymd_hms format. The lubridate package can be very helpful in organizing times.

window.ranges

The dataframe containing the start and end times of each window to create a network from.

directed

Whether to consider the networks are directed or not.

effortFun

This is a function that takes as input the data within a window of time and returns the total sampling effort.


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