View source: R/get_network_from_interactions.R
network_from_interactions | R Documentation |
Function to obtain a network structure from interactions dataframe
network_from_interactions(species_raw, interactions, n_cores = 1)
species_raw |
A dataframe consisting of raw GPS observations. It should have at least four columns namely "animal_id", "datetime", "latitude|_rad", and "longitude_rad". "latitude|_rad", and "longitude_rad" are latitude and longitude values in radians respectively. See function "get_coordinates_in_radian" to get these values. |
interactions |
A dataframe of interactions obtained from raw GPS observations using the function "get_interactions" |
n_cores |
Number of cores for parallel processing, default is 1 |
An object of class igraph
data(elk_data_2010, elk_interactions_2010)
network_from_interactions(elk_data_2010, elk_interactions_2010)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.