Analysis of Diffusion and Contagion Processes on Networks
Approximate Geodesic Distances
Coerce a diffnet graph into an array
Coerce a matrix-like objects to dgCMatrix
(sparse matrix)
Bass Model
Network Bootstrapping
Combine diffnet objects
Classify adopters accordingly to Time of Adoption and Threshold levels...
Analyze an R object to identify the class of graph (if any)
Cummulative count of adopters
Indegree, outdegree and degree of the vertices
Creates a square matrix suitable for spatial statistics models.
diffnet
Arithmetic and Logical Operators
Creates a diffnet
class object
Infer whether value
is dynamic or static.
Indexing diffnet objects (on development)
Matrix multiplication
Diffusion regression model
Diffusion Network Datasets
Creates a heatmap based on a graph layout and a vertex attribute
Draw a color key in the current device
Conversion between adjacency matrix and edgelist
Compute ego/alter edge coordinates considering alter's size and aspect...
Computes variance of at ego level
Retrieve alter's attributes (network effects)
Ego exposure
Distribution over a grid
Network Hazard Rate
Coercion between graph classes
Susceptibility and Infection
Find and remove isolated vertices
Non-zero element-wise comparison between two sparse matrices
Optimal Leader/Mentor Matching
Computes Moran's I correlation index
Network data formats
netdiffuseR
default options
netdiffuseR
Matching Estimators with Network Data
Coercion between diffnet
, network
and networkDynamic
Count the number of vertices/edges/slices in a graph
Permute the values of a matrix
S3 plotting method for diffnet objects.
Visualize adopters and cumulative adopters
Plot the diffusion process
Another way of visualizing diffusion
Plot distribution of infect/suscep
Threshold levels through time
Pretty numbers within a range.
Random diffnet network
Read foreign graph formats
Reads UCINET files
Recodes an edgelist such that ids go from 1 to n
Rescale vertex size to be used in plot.igraph
.
Graph rewiring algorithms
Scale-free and Homophilic Random Networks
Erdos-Renyi model
Watts-Strogatz model
Ring lattice graph
Takes a numeric vector and maps it into a finite length sequence
Calculate the number of adoption changes between ego and alter.
Structural Equivalence
Structure dependence test
Summary of diffnet objects
Convert survey-like data and edgelists to a diffnet
object
Retrive threshold levels from the exposure matrix
Difference in Time of Adoption (TOA) between individuals
Time of adoption matrix
Apply a function to a graph considering non-diagonal structural zeros
Comparisons at dyadic level
Computes covariate distance between connected vertices
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.
Useful links