obtain_permuted_network_versions {aniSNA}R Documentation

Function to obtain permuted networks from raw datastream

Description

Function to obtain permuted networks from raw datastream

Usage

obtain_permuted_network_versions(
  species_raw,
  temporal_thresh,
  spatial_thresh,
  n_permutations,
  n_cores = 1
)

Arguments

species_raw

A dataframe consisting of raw GPS observations

temporal_thresh

Temporal threshold in minutes

spatial_thresh

Spatial threshold

n_permutations

Number of permuted versions to obtain

n_cores

Number of cores for parallel processing with default 1

Value

An object of class "list_permuted_networks" of size n_permutations where each element is a network of class igraph obtained by permuting raw datastream

Examples


data(elk_data_2010)
permuted_versions <- obtain_permuted_network_versions(elk_data_2010, 
temporal_thresh = 7, spatial_thresh = 15, n_permutations = 10, n_cores = 2)


[Package aniSNA version 1.1.1 Index]