Learn R Programming

aniSNA

The goal of aniSNA is to provide easy to use functions for the ecologists aiming to perform social network analysis on the animal GPS telemetry data.

Copy Link

Version

Install

install.packages('aniSNA')

Monthly Downloads

420

Version

1.1.1

License

MIT + file LICENSE

Maintainer

Prabhleen Kaur

Last Published

March 25th, 2024

Functions in aniSNA (1.1.1)

get_coordinates_in_radian

To convert latitude and longitude values from degrees to radians
regression_slope_analyze

To perform regression analysis for local network metrics
plot.bootstrapped_pvalue_matrix

To plot the results obtained from bootstrapped_difference_pvalues function
subsampled_network_metrics

To generate subsamples and obtain network metrics of the subsamples
global_CI

To obtain confidence intervals around the observed global network statistics
subsampled_permuted_network_metrics

To generate subsamples of the permuted networks and obtain network metrics of those subsamples
get_spatial_threshold

To obtain spatial threshold for calculating interactions from raw GPS observations. The threshold is obtained as the distance interval that captures maximum number of inter-individual interactions.
plot.list_correlation_matrices

To plot correlation analysis results
plot.Width_CI_matrix

To plot the results obtained from width_CI function
distance_radian_coordinates

Calculate distance between two pairs of radian coordinates
interacting_pairs

Function to obtain pairs of interacting animals
global_width_CI

To obtain width of confidence intervals for global network metrics using bootstrapped versions at each level of sub-sampling
correlation_analyze

To perform correlation analysis for node-level network metrics
obtain_permuted_network_versions

Function to obtain permuted networks from raw datastream
plot.Subsampled_Network_Metrics

To plot sub-sampling results
elk_interactions_2010

Dataset of interactions from elk_data_2010 using first mode as the spatial threshold
aniSNA

aniSNA
node_level_CI

To obtain confidence intervals for node-level network metrics
network_from_interactions

Function to obtain a network structure from interactions dataframe
get_network_summary

Calculates and prints network summary statistics
obtain_bootstrapped_samples

To obtain bootstrapped versions of a network's adjacency matrix
get_interactions

To obtain interactions from raw GPS observations
obtain_network_subsamples

To obtain sub-networks of the observed network
bootstrapped_difference_pvalues

To obtain two non-overlapping bootstrapped versions and obtain p-values for the significance of difference between them
elk_network_2010

An igraph object depicting the network obtained from elk_interactions_2010
elk_all_interactions_2010

Dataset of all possible interactions from elk_data_2010
elk_data_2010

Data to showcase functions in our package
elk_2010_permutations

A list of 100 igraph objects obtained by permuting the raw elk_data_2010 and obtaining network from those
plot.Subsampled_Permuted_Network_Metrics

To plot sub-sampling results of the original network and permuted networks
plot.list_regression_matrices

To plot regression analysis results
plot.list_permuted_networks

Function to plot the network metrics distribution of permuted networks
plot.list_node_level_CI

To plot the results for node-level confidence intervals
plot_network

Visualize Animal Network