netdiffuseR: Analysis of Diffusion and Contagion Processes on Networks

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.

AuthorGeorge Vega Yon [aut, cre] (Rewrite functions with Rcpp, plus new features), Stephanie Dyal [aut] (Package's first version), Timothy Hayes [aut] (Package's first version), Thomas Valente [aut, cph] (R original code)
Date of publication2016-11-11 00:07:16
MaintainerGeorge Vega Yon <g.vegayon@gmail.com>
LicenseMIT + file LICENSE
Version1.17.0
https://github.com/USCCANA/netdiffuseR

View on CRAN

Man pages

as.array.diffnet: Coerce a diffnet graph into an array

as_diffnet: Creates a 'diffnet' class object

brfarmers: Brazilian Farmers

brfarmersDiffNet: 'diffnet' version of the Brazilian Farmers data

c.diffnet: Combine diffnet objects

classify_adopters: Classify adopters accordingly to Time of Adoption and...

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...

diffnet-arithmetic: 'diffnet' Arithmetic and Logical Operators

diffnet_check_attr_class: Infer whether 'value' is dynamic or static.

diffnet_index: Indexing diffnet objects (on development)

diffnetmatmult: Matrix multiplication

diffnet_to_igraph: Convertion between graph classes

diffusion-data: Diffusion Network Datasets

diffusionMap: Creates a heatmap based on a graph layout and a vertex...

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...

egonet_attrs: Retrieve alter's attributes (network effects)

ego_variance: Computes variance of Y at ego level

exposure: Ego exposure

fakeDynEdgelist: Fake dynamic edgelist

fakeEdgelist: Fake static edgelist

fakesurvey: Fake survey data

fakesurveyDyn: Fake longitudinal survey data

grid_distribution: Distribution over a grid

hazard_rate: Network Hazard Rate

infection: Susceptibility and Infection

isolated: Find and remove isolated vertices

kfamily: Korean Family Planning

kfamilyDiffNet: 'diffnet' version of the Korean Family Planning data

medInnovations: Medical Innovation

medInnovationsDiffNet: 'diffnet' version of the Medical Innovation data

moran: Computes Moran's I correlation index

netdiffuseR: netdiffuseR

netdiffuseR-graphs: Network data formats

netdiffuseR-options: 'netdiffuseR' default options

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

permute_graph: Permute the values of a matrix

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...

select_egoalter: Calculate the number of adoption changes between ego and...

struct_equiv: Structural Equivalence

struct_test: Structure dependence test

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...

vertex_covariate_compare: Comparisons at dyadic level

vertex_covariate_dist: Computes covariate distance between connected vertices

weighted_var: Computes weighted variance

Files in this package

netdiffuseR
netdiffuseR/inst
netdiffuseR/inst/CITATION
netdiffuseR/inst/NEWS
netdiffuseR/inst/extdata
netdiffuseR/inst/extdata/sampson.##h
netdiffuseR/inst/extdata/SAMPSON.DAT
netdiffuseR/inst/extdata/SAMPSONL.NET
netdiffuseR/inst/extdata/SAMPSON_W_DEGREE.vec
netdiffuseR/inst/extdata/sampson.##d
netdiffuseR/inst/extdata/SAMPSON.NET
netdiffuseR/inst/doc
netdiffuseR/inst/doc/analyzing-medical-innovation-data.html
netdiffuseR/inst/doc/introduction-to-netdiffuser.Rmd
netdiffuseR/inst/doc/analyzing-medical-innovation-data.Rmd
netdiffuseR/inst/doc/analyzing-medical-innovation-data.R
netdiffuseR/inst/doc/time_discount_suscep_infect.Rmd
netdiffuseR/inst/doc/not-lost-in-translation-importing-and-exporting-graphs.html
netdiffuseR/inst/doc/introduction-to-netdiffuser.R
netdiffuseR/inst/doc/not-lost-in-translation-importing-and-exporting-graphs.Rmd
netdiffuseR/inst/doc/time_discount_suscep_infect.html
netdiffuseR/inst/doc/introduction-to-netdiffuser.html
netdiffuseR/inst/doc/not-lost-in-translation-importing-and-exporting-graphs.R
netdiffuseR/tests
netdiffuseR/tests/testthat.R
netdiffuseR/tests/testthat
netdiffuseR/tests/testthat/test-sparse_indexes.R
netdiffuseR/tests/testthat/test-stats.R
netdiffuseR/tests/testthat/test-plot_diffnet2.R
netdiffuseR/tests/testthat/test-diffnet-methods.R
netdiffuseR/tests/testthat/test-rewire.R
netdiffuseR/tests/testthat/test-foreign.R
netdiffuseR/tests/testthat/test-spatial.R
netdiffuseR/tests/testthat/test-struct_equiv.R
netdiffuseR/tests/testthat/test-examples.R
netdiffuseR/tests/testthat/test-rdiffnet.R
netdiffuseR/tests/testthat/test-diffnet-class.R
netdiffuseR/tests/testthat/test-cumulative_adopt_count.R
netdiffuseR/tests/testthat/test-struct_test.R
netdiffuseR/tests/testthat/test-read_write_foreign.R
netdiffuseR/tests/testthat/test-netdiffuser_extra.R
netdiffuseR/tests/testthat/test-options.R
netdiffuseR/tests/testthat/test-diffnet-indexing.R
netdiffuseR/tests/testthat/test-select_egoalter.R
netdiffuseR/tests/testthat/test-survey_to_diffnet.R
netdiffuseR/tests/testthat/test-adjmat.R
netdiffuseR/tests/testthat/test-infect_suscept.R
netdiffuseR/tests/testthat/test-egonets.R
netdiffuseR/tests/testthat/test-random_graph.R
netdiffuseR/tests/testthat/test-graph_data.R
netdiffuseR/tests/testthat/test-dgr.R
netdiffuseR/tests/testthat/test-imports.R
netdiffuseR/tests/testthat/test-misc.R
netdiffuseR/src
netdiffuseR/src/adjmat.h
netdiffuseR/src/infection.h
netdiffuseR/src/Makevars
netdiffuseR/src/stats.cpp
netdiffuseR/src/infection.cpp
netdiffuseR/src/stats.h
netdiffuseR/src/adjmat.cpp
netdiffuseR/src/struct_test.h
netdiffuseR/src/netdiffuser_extra.h
netdiffuseR/src/struct_test.cpp
netdiffuseR/src/plot.h
netdiffuseR/src/rgraph.cpp
netdiffuseR/src/plot.cpp
netdiffuseR/src/Makevars.win
netdiffuseR/src/netdiffuser_extra.cpp
netdiffuseR/src/RcppExports.cpp
netdiffuseR/src/rgraph.h
netdiffuseR/NAMESPACE
netdiffuseR/data
netdiffuseR/data/fakesurvey.rdata
netdiffuseR/data/brfarmers.rdata
netdiffuseR/data/brfarmersDiffNet.rdata
netdiffuseR/data/medInnovationsDiffNet.rdata
netdiffuseR/data/fakeDynEdgelist.rdata
netdiffuseR/data/fakeEdgelist.rdata
netdiffuseR/data/fakesurveyDyn.rdata
netdiffuseR/data/kfamily.rdata
netdiffuseR/data/medInnovations.rdata
netdiffuseR/data/kfamilyDiffNet.rdata
netdiffuseR/R
netdiffuseR/R/spatial.R netdiffuseR/R/struct_equiv.R netdiffuseR/R/graph_data.R netdiffuseR/R/diffnet-indexing.R netdiffuseR/R/diffnet-c.R netdiffuseR/R/random_graph.R netdiffuseR/R/egonets.R netdiffuseR/R/moran.R netdiffuseR/R/rewire.R netdiffuseR/R/adjmat.R netdiffuseR/R/data.R netdiffuseR/R/plot_diffnet2.R netdiffuseR/R/struct_test.R netdiffuseR/R/rdiffnet.R netdiffuseR/R/options.R netdiffuseR/R/diffnet-methods.R netdiffuseR/R/RcppExports.R netdiffuseR/R/stats.R netdiffuseR/R/infect_suscept.R netdiffuseR/R/package-doc.R netdiffuseR/R/misc.R netdiffuseR/R/select_egoalter.R netdiffuseR/R/read_write_foreign.R netdiffuseR/R/imports.R netdiffuseR/R/igraph.R netdiffuseR/R/diffnet-class.R netdiffuseR/R/survey_to_diffnet.R
netdiffuseR/vignettes
netdiffuseR/vignettes/introduction-to-netdiffuser.Rmd
netdiffuseR/vignettes/analyzing-medical-innovation-data.Rmd
netdiffuseR/vignettes/time_discount_suscep_infect.Rmd
netdiffuseR/vignettes/not-lost-in-translation-importing-and-exporting-graphs.Rmd
netdiffuseR/MD5
netdiffuseR/build
netdiffuseR/build/vignette.rds
netdiffuseR/DESCRIPTION
netdiffuseR/ChangeLog
netdiffuseR/man
netdiffuseR/man/threshold.Rd netdiffuseR/man/diffnet_check_attr_class.Rd netdiffuseR/man/diffnet_to_igraph.Rd netdiffuseR/man/rewire_graph.Rd netdiffuseR/man/as.array.diffnet.Rd netdiffuseR/man/struct_test.Rd netdiffuseR/man/diffnetmatmult.Rd netdiffuseR/man/dgr.Rd netdiffuseR/man/moran.Rd netdiffuseR/man/infection.Rd netdiffuseR/man/vertex_covariate_compare.Rd netdiffuseR/man/plot_diffnet.Rd netdiffuseR/man/exposure.Rd netdiffuseR/man/fakeDynEdgelist.Rd netdiffuseR/man/grid_distribution.Rd netdiffuseR/man/pretty_within.Rd netdiffuseR/man/diffnet-arithmetic.Rd netdiffuseR/man/ego_variance.Rd netdiffuseR/man/rgraph_ba.Rd netdiffuseR/man/toa_mat.Rd netdiffuseR/man/medInnovationsDiffNet.Rd netdiffuseR/man/netdiffuseR-options.Rd netdiffuseR/man/netdiffuseR-graphs.Rd netdiffuseR/man/c.diffnet.Rd netdiffuseR/man/as_diffnet.Rd netdiffuseR/man/ring_lattice.Rd netdiffuseR/man/kfamily.Rd netdiffuseR/man/classify_adopters.Rd netdiffuseR/man/netdiffuseR.Rd netdiffuseR/man/struct_equiv.Rd netdiffuseR/man/plot_adopters.Rd netdiffuseR/man/cumulative_adopt_count.Rd netdiffuseR/man/edgelist_to_adjmat.Rd netdiffuseR/man/brfarmers.Rd netdiffuseR/man/diffusion-data.Rd netdiffuseR/man/weighted_var.Rd netdiffuseR/man/rgraph_er.Rd netdiffuseR/man/vertex_covariate_dist.Rd netdiffuseR/man/read_pajek.Rd netdiffuseR/man/transformGraphBy.Rd netdiffuseR/man/rdiffnet.Rd netdiffuseR/man/fakesurveyDyn.Rd netdiffuseR/man/classify_graph.Rd netdiffuseR/man/hazard_rate.Rd netdiffuseR/man/select_egoalter.Rd netdiffuseR/man/read_ucinet_head.Rd netdiffuseR/man/round_to_seq.Rd netdiffuseR/man/fakeEdgelist.Rd netdiffuseR/man/toa_diff.Rd netdiffuseR/man/kfamilyDiffNet.Rd netdiffuseR/man/medInnovations.Rd netdiffuseR/man/fakesurvey.Rd netdiffuseR/man/isolated.Rd
netdiffuseR/man/macros
netdiffuseR/man/macros/struct_test.Rd netdiffuseR/man/rgraph_ws.Rd netdiffuseR/man/nvertices.Rd netdiffuseR/man/diag_expand.Rd netdiffuseR/man/plot_infectsuscep.Rd netdiffuseR/man/diffusionMap.Rd netdiffuseR/man/brfarmersDiffNet.Rd netdiffuseR/man/plot_threshold.Rd netdiffuseR/man/permute_graph.Rd netdiffuseR/man/rescale_vertex_igraph.Rd netdiffuseR/man/egonet_attrs.Rd netdiffuseR/man/recode.Rd netdiffuseR/man/edges_coords.Rd netdiffuseR/man/drawColorKey.Rd netdiffuseR/man/survey_to_diffnet.Rd netdiffuseR/man/diffnet_index.Rd netdiffuseR/man/plot_diffnet2.Rd
netdiffuseR/LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.