Learn R Programming

⚠️There's a newer version (1.24.0) of this package.Take me there.

netdiffuseR (version 1.16.7)

Network Analysis for Diffusion of Innovations

Description

Empirical statistical analysis, visualization and simulation of network models of the diffusion of innovations. 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) ; Valente (1995) , Myers (2000) , Iyengar and others (2011) , Burt (1987) ; among others.

Copy Link

Version

Install

install.packages('netdiffuseR')

Monthly Downloads

483

Version

1.16.7

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

George Vega Yon

Last Published

July 7th, 2016

Functions in netdiffuseR (1.16.7)

c.diffnet

Combine diffnet objects
brfarmersDiffNet

diffnet version of the Brazilian Farmers data
classify_graph

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

Indegree, outdegree and degree of the vertices
classify_adopters

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

Infer whether value is dynamic or static.
as.array.diffnet

Coerce a diffnet graph into an array
diffnet_index

Indexing diffnet objects (on development)
brfarmers

Brazilian Farmers
cumulative_adopt_count

Cummulative count of adopters
diffnet-arithmetic

diffnet Arithmetic and Logical Operators
diffusionMap

Creates a heatmap based on a graph layout and times of adoption
egonet_attrs

Retrieve alter's attributes (network effects)
edges_coords

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

Ego exposure
%*%

Matrix multiplication
diffnet_to_igraph

Convertion between graph classes
diffusion-data

Diffusion Network Datasets
drawColorKey

Draw a color key in the current device
fakeDynEdgelist

Fake dynamic edgelist
fakesurveyDyn

Fake longitudinal survey data
fakesurvey

Fake survey data
kfamilyDiffNet

diffnet version of the Korean Family Planning data
isolated

Find and remove isolated vertices
infection

Susceptibility and Infection
hazard_rate

Network Hazard Rate
fakeEdgelist

Fake static edgelist
grid_distribution

Distribution over a grid
kfamily

Korean Family Planning
netdiffuseR

netdiffuseR
plot_adopters

Visualize adopters and cumulative adopters
netdiffuseR-graphs

Network data formats
medInnovationsDiffNet

diffnet version of the Medical Innovation data
plot_diffnet

Plot the diffusion process
plot_diffnet2

Another way of visualizing diffusion
plot_infectsuscep

Plot distribution of infect/suscep
medInnovations

Medical Innovation
nvertices

Count the number of vertices/edges/slices in a graph
netdiffuseR-options

netdiffuseR default options
edgelist_to_adjmat

Conversion between adjacency matrix and edgelist
read_pajek

Read foreign graph formats
rewire_graph

Graph rewiring algorithms
rgraph_er

Erdos-Renyi model
recode

Recodes an edgelist such that ids go from 1 to n
rgraph_ws

Watts-Strogatz model
rdiffnet

Random diffnet network
rgraph_ba

Barabasi-Albert model
rescale_vertex_igraph

plot_threshold

Threshold levels through time
pretty_within

Pretty numbers within a range.
select_egoalter

Calculate the number of adoption changes between ego and alter.
toa_diff

Difference in Time of Adoption (TOA) between individuals
threshold

Retrive threshold levels from the exposure matrix
struct_equiv

Structural Equivalence
toa_mat

Time of adoption matrix
ring_lattice

Ring lattice graph
round_to_seq

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

Convert survey-like data and edgelists to a diffnet object
struct_test

Structure dependence test