netdiffuseR1.22.6 package

Analysis of Diffusion and Contagion Processes on Networks

approx_geodesic

Approximate Geodesic Distances

as.array.diffnet

Coerce a diffnet graph into an array

as_dgCMatrix

Coerce a matrix-like objects to dgCMatrix (sparse matrix)

bass

Bass Model

bootnet

Network Bootstrapping

c.diffnet

Combine diffnet objects

classify_adopters

Classify adopters accordingly to Time of Adoption and Threshold levels...

classify_graph

Analyze an R object to identify the class of graph (if any)

cumulative_adopt_count

Cummulative count of adopters

dgr

Indegree, outdegree and degree of the vertices

diag_expand

Creates a square matrix suitable for spatial statistics models.

diffnet-arithmetic

diffnet Arithmetic and Logical Operators

diffnet-class

Creates a diffnet class object

diffnet_check_attr_class

Infer whether value is dynamic or static.

diffnet_index

Indexing diffnet objects (on development)

diffnetmatmult

Matrix multiplication

diffreg

Diffusion regression model

diffusion-data

Diffusion Network Datasets

diffusionMap

Creates a heatmap based on a graph layout and a vertex attribute

drawColorKey

Draw a color key in the current device

edgelist_to_adjmat

Conversion between adjacency matrix and edgelist

edges_coords

Compute ego/alter edge coordinates considering alter's size and aspect...

ego_variance

Computes variance of YY at ego level

egonet_attrs

Retrieve alter's attributes (network effects)

exposure

Ego exposure

grid_distribution

Distribution over a grid

hazard_rate

Network Hazard Rate

igraph

Coercion between graph classes

infection

Susceptibility and Infection

isolated

Find and remove isolated vertices

matrix_compare

Non-zero element-wise comparison between two sparse matrices

mentor_matching

Optimal Leader/Mentor Matching

moran

Computes Moran's I correlation index

netdiffuseR-graphs

Network data formats

netdiffuseR-options

netdiffuseR default options

netdiffuseR

netdiffuseR

netmatch

Matching Estimators with Network Data

network

Coercion between diffnet, network and networkDynamic

nvertices

Count the number of vertices/edges/slices in a graph

permute_graph

Permute the values of a matrix

plot.diffnet

S3 plotting method for diffnet objects.

plot_adopters

Visualize adopters and cumulative adopters

plot_diffnet

Plot the diffusion process

plot_diffnet2

Another way of visualizing diffusion

plot_infectsuscep

Plot distribution of infect/suscep

plot_threshold

Threshold levels through time

pretty_within

Pretty numbers within a range.

rdiffnet

Random diffnet network

read_pajek

Read foreign graph formats

read_ucinet_head

Reads UCINET files

recode

Recodes an edgelist such that ids go from 1 to n

rescale_vertex_igraph

Rescale vertex size to be used in plot.igraph.

rewire_graph

Graph rewiring algorithms

rgraph_ba

Scale-free and Homophilic Random Networks

rgraph_er

Erdos-Renyi model

rgraph_ws

Watts-Strogatz model

ring_lattice

Ring lattice graph

round_to_seq

Takes a numeric vector and maps it into a finite length sequence

select_egoalter

Calculate the number of adoption changes between ego and alter.

struct_equiv

Structural Equivalence

struct_test

Structure dependence test

summary.diffnet

Summary of diffnet objects

survey_to_diffnet

Convert survey-like data and edgelists to a diffnet object

threshold

Retrive threshold levels from the exposure matrix

toa_diff

Difference in Time of Adoption (TOA) between individuals

toa_mat

Time of adoption matrix

transformGraphBy

Apply a function to a graph considering non-diagonal structural zeros

vertex_covariate_compare

Comparisons at dyadic level

vertex_covariate_dist

Computes covariate distance between connected vertices

weighted_var

Computes weighted variance

Empirical statistical analysis, visualization and simulation of diffusion and contagion processes on networks. The package implements algorithms for calculating network diffusion statistics such as transmission rate, hazard rates, exposure models, network threshold levels, infectiousness (contagion), and susceptibility. The package is inspired by work published in Valente, et al., (2015) <DOI:10.1016/j.socscimed.2015.10.001>; Valente (1995) <ISBN: 9781881303213>, Myers (2000) <DOI:10.1086/303110>, Iyengar and others (2011) <DOI:10.1287/mksc.1100.0566>, Burt (1987) <DOI:10.1086/228667>; among others.

  • Maintainer: George Vega Yon
  • License: MIT + file LICENSE
  • Last published: 2023-08-30