diff --git a/.Rbuildignore b/.Rbuildignore index 8c7d3b2..0a707e2 100755 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -31,3 +31,5 @@ README[.]md makefile ^src/Makevars$ ^docs$ +^LICENSE\.md$ +^_pkgdown\.yml$ diff --git a/DESCRIPTION b/DESCRIPTION index 8f7b0ce..f186772 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -6,9 +6,10 @@ Authors@R: c( person("George", "Vega Yon", email="g.vegayon@gmail.com", role=c("aut", "cre"), comment=c(ORCID = "0000-0002-3171-0844", what="Rewrite functions with Rcpp, plus new features") ), + person("Thomas", "Valente", email="tvalente@usc.edu", role=c("aut", "cph"), comment="R original code"), person("Stephanie", "Dyal", email="stepharp@usc.edu", role=c("ctb"), comment="Package's first version"), - person("Timothy", "Hayes", email="timothybhayes@gmail.com", role=c("ctb"), comment="Package's first version"), - person("Thomas", "Valente", email="tvalente@usc.edu", role=c("aut", "cph"), comment="R original code")) + person("Timothy", "Hayes", email="timothybhayes@gmail.com", role=c("ctb"), comment="Package's first version") + ) Description: 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 @@ -47,9 +48,10 @@ Suggests: survival VignetteBuilder: knitr LinkingTo: Rcpp, RcppArmadillo -RoxygenNote: 6.0.1.9000 +RoxygenNote: 6.0.1 Encoding: UTF-8 -URL: https://github.com/USCCANA/netdiffuseR +URL: https://github.com/USCCANA/netdiffuseR, + https://USCCANA.github.io/netdiffuseR BugReports: https://github.com/USCCANA/netdiffuseR/issues Classification/MSC: 90C35, 90B18, 91D30 Collate: diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..d9bbfe3 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +# MIT License + +Copyright (c) 2018 Thomas W. Valente + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.Rmd b/README.Rmd index 548cc1e..1fef067 100644 --- a/README.Rmd +++ b/README.Rmd @@ -9,6 +9,7 @@ output: github_document [![](http://cranlogs.r-pkg.org/badges/netdiffuseR)](http://cran.rstudio.com/web/packages/netdiffuseR/index.html) [![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/netdiffuseR)](http://cran.r-project.org/package=netdiffuseR) [![](http://cranlogs.r-pkg.org/badges/grand-total/netdiffuseR)](http://cran.rstudio.com/web/packages/netdiffuseR/index.html) +[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1039317.svg)](https://doi.org/10.5281/zenodo.1039317) This package contains functions useful for analyzing network data for diffusion of innovations applications. diff --git a/_pkgdown.yml b/_pkgdown.yml new file mode 100644 index 0000000..e69de29 diff --git a/docs/LICENSE.html b/docs/LICENSE.html new file mode 100644 index 0000000..34d4f64 --- /dev/null +++ b/docs/LICENSE.html @@ -0,0 +1,153 @@ + + + + + + + + +MIT License • netdiffuseR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+ +
+
+ + +
+ +

Copyright (c) 2018 Thomas W. Valente

+

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

+

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

+

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+
+ +
+ +
+ + + +
+ + + + + + diff --git a/docs/articles/analyzing-medical-innovation-data.html b/docs/articles/analyzing-medical-innovation-data.html index 9ad16f4..8c883f9 100644 --- a/docs/articles/analyzing-medical-innovation-data.html +++ b/docs/articles/analyzing-medical-innovation-data.html @@ -8,8 +8,8 @@ netdiffuseR showcase: Medical Innovations • netdiffuseR - - + + + + + - @@ -31,6 +33,7 @@ + @@ -55,7 +58,7 @@ netdiffuseR - 1.19.999 + 1.20.0 diff --git a/docs/articles/introduction-to-netdiffuser.html b/docs/articles/introduction-to-netdiffuser.html index dca4b2c..83bfad5 100644 --- a/docs/articles/introduction-to-netdiffuser.html +++ b/docs/articles/introduction-to-netdiffuser.html @@ -8,8 +8,8 @@ Simulating diffusion networks: Using the <code>rdiffnet</code> function • netdiffuseR - - + + - - + + - - + + + + + - @@ -31,6 +33,7 @@ + @@ -55,7 +58,7 @@ netdiffuseR - 1.19.999 + 1.20.0 diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 53b2129..5bb0406 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -1,6 +1,6 @@ -pandoc: 1.19.2.1 -pkgdown: 1.1.0 -pkgdown_sha: ~ +pandoc: 1.19.2.4 +pkgdown: 1.1.0.9000 +pkgdown_sha: 98bfe0fdfd59b33ef1a88ef6896cd60f805f0e81 articles: analyzing-medical-innovation-data: analyzing-medical-innovation-data.html introduction-to-netdiffuser: introduction-to-netdiffuser.html diff --git a/docs/reference/as.array.diffnet.html b/docs/reference/as.array.diffnet.html index b32875e..b783183 100644 --- a/docs/reference/as.array.diffnet.html +++ b/docs/reference/as.array.diffnet.html @@ -172,7 +172,7 @@

See a

Examples

# Creating a random diffnet object set.seed(84117) -mydiffnet <- rdiffnet(30, 5) +mydiffnet <- rdiffnet(30, 5) # Coercing it into an array as.array(mydiffnet)
#> , , 1 diff --git a/docs/reference/bass-1.png b/docs/reference/bass-1.png index 2820f88..6d3b8e2 100644 Binary files a/docs/reference/bass-1.png and b/docs/reference/bass-1.png differ diff --git a/docs/reference/bass.html b/docs/reference/bass.html index 13426ae..9427199 100644 --- a/docs/reference/bass.html +++ b/docs/reference/bass.html @@ -267,11 +267,11 @@

See a + vertex_covariate_dist

Examples

diff --git a/docs/reference/bootnet.html b/docs/reference/bootnet.html index 1628a19..e1dc58a 100644 --- a/docs/reference/bootnet.html +++ b/docs/reference/bootnet.html @@ -270,13 +270,13 @@

R

See also

Other Functions for inference: moran, - struct_test

+ struct_test

Examples

# set.seed(13) -g <- rgraph_ba(t=99) +g <- rgraph_ba(t=99) ans <- bootnet(g, function(w, ...) length(w@x), R=100) ans
#> diff --git a/docs/reference/c.diffnet.html b/docs/reference/c.diffnet.html index 2db35e2..5995b6c 100644 --- a/docs/reference/c.diffnet.html +++ b/docs/reference/c.diffnet.html @@ -190,10 +190,10 @@

Examp city4 <- medInnovationsDiffNet[medInnovationsDiffNet[["city"]] == 4] # Computing exposure in each one -city1[["expo_se"]] <- exposure(city1, alt.graph="se", valued=TRUE) -city2[["expo_se"]] <- exposure(city2, alt.graph="se", valued=TRUE) -city3[["expo_se"]] <- exposure(city3, alt.graph="se", valued=TRUE) -city4[["expo_se"]] <- exposure(city4, alt.graph="se", valued=TRUE) +city1[["expo_se"]] <- exposure(city1, alt.graph="se", valued=TRUE) +city2[["expo_se"]] <- exposure(city2, alt.graph="se", valued=TRUE) +city3[["expo_se"]] <- exposure(city3, alt.graph="se", valued=TRUE) +city4[["expo_se"]] <- exposure(city4, alt.graph="se", valued=TRUE) # Concatenating all diffnet <- c(city1, city2, city3, city4) diff --git a/docs/reference/classify_adopters-1.png b/docs/reference/classify_adopters-1.png index 6d15df7..2aa34e0 100644 Binary files a/docs/reference/classify_adopters-1.png and b/docs/reference/classify_adopters-1.png differ diff --git a/docs/reference/classify_adopters.html b/docs/reference/classify_adopters.html index 29f0506..9a26b45 100644 --- a/docs/reference/classify_adopters.html +++ b/docs/reference/classify_adopters.html @@ -264,11 +264,11 @@

See a + vertex_covariate_dist

Examples

diff --git a/docs/reference/cumulative_adopt_count.html b/docs/reference/cumulative_adopt_count.html index 632484f..5f50340 100644 --- a/docs/reference/cumulative_adopt_count.html +++ b/docs/reference/cumulative_adopt_count.html @@ -163,11 +163,11 @@

See a + vertex_covariate_dist

diff --git a/docs/reference/dgr-1.png b/docs/reference/dgr-1.png index c7d983c..7dfc094 100644 Binary files a/docs/reference/dgr-1.png and b/docs/reference/dgr-1.png differ diff --git a/docs/reference/dgr-2.png b/docs/reference/dgr-2.png index 3560b9b..521335d 100644 Binary files a/docs/reference/dgr-2.png and b/docs/reference/dgr-2.png differ diff --git a/docs/reference/dgr.html b/docs/reference/dgr.html index 78f3d0e..c6122b7 100644 --- a/docs/reference/dgr.html +++ b/docs/reference/dgr.html @@ -218,11 +218,11 @@

See a

Other statistics: bass, classify_adopters, cumulative_adopt_count, - ego_variance, exposure, + ego_variance, exposure, hazard_rate, infection, moran, struct_equiv, threshold, - vertex_covariate_dist

+ vertex_covariate_dist

Other visualizations: diffusionMap, drawColorKey, grid_distribution, @@ -237,7 +237,7 @@

Examp
# Comparing degree measurements --------------------------------------------- # Creating an undirected graph -graph <- rgraph_ba() +graph <- rgraph_ba() graph
#> 11 x 11 sparse Matrix of class "dgCMatrix"
#> [[ suppressing 11 column names ‘1’, ‘2’, ‘3’ ... ]]
#> #> 1 1 . . . . . . . . . . #> 2 . 1 . . . . . . . . . @@ -274,7 +274,7 @@

Examp any(d_valued!=d_unvalued)

#> [1] TRUE
# Classic Scale-free plot --------------------------------------------------- set.seed(1122) -g <- rgraph_ba(t=1e3-1) +g <- rgraph_ba(t=1e3-1) hist(dgr(g))
# Since by default uses logscale, here we suppress the warnings # on points been discarded for <=0. diff --git a/docs/reference/diffnet-arithmetic-1.png b/docs/reference/diffnet-arithmetic-1.png index 52726c1..b395073 100644 Binary files a/docs/reference/diffnet-arithmetic-1.png and b/docs/reference/diffnet-arithmetic-1.png differ diff --git a/docs/reference/diffnet-class-1.png b/docs/reference/diffnet-class-1.png index 12919d6..6b89f88 100644 Binary files a/docs/reference/diffnet-class-1.png and b/docs/reference/diffnet-class-1.png differ diff --git a/docs/reference/diffnet-class.html b/docs/reference/diffnet-class.html index aade60b..ddc9b57 100644 --- a/docs/reference/diffnet-class.html +++ b/docs/reference/diffnet-class.html @@ -388,7 +388,7 @@

Examp
# Creating a random graph set.seed(123) -graph <- rgraph_ba(t=9) +graph <- rgraph_ba(t=9) graph <- lapply(1:5, function(x) graph) # Pretty TOA diff --git a/docs/reference/diffnet_index.html b/docs/reference/diffnet_index.html index 975ad9f..c589cca 100644 --- a/docs/reference/diffnet_index.html +++ b/docs/reference/diffnet_index.html @@ -248,7 +248,7 @@

Examp
# Creating a random diffusion network --------------------------------------- set.seed(111) -graph <- rdiffnet(100,5) +graph <- rdiffnet(100,5) # Accessing to a static attribute graph[["real_threshold"]]
#> [1] 0.62034522 0.54853665 0.84659582 0.03114472 0.07245070 0.41045318 @@ -721,10 +721,10 @@

Examp # Adding attributes (dynamic) ----------------------------------------------- # Preparing the data set.seed(1122) -x <- rdiffnet(30, 5, seed.p.adopt=.15) +x <- rdiffnet(30, 5, seed.p.adopt=.15) # Calculating exposure, and storing it diffe -expoM <- exposure(x) +expoM <- exposure(x) expoL <- lapply(seq_len(x$meta$nper), function(x) expoM[,x,drop=FALSE]) expoD <- do.call(rbind, expoL) diff --git a/docs/reference/diffnetmatmult.html b/docs/reference/diffnetmatmult.html index 079e738..45c92e8 100644 --- a/docs/reference/diffnetmatmult.html +++ b/docs/reference/diffnetmatmult.html @@ -184,7 +184,7 @@

Examp # Random diffnet graph set.seed(773) -net <- rdiffnet(100, 4, seed.graph='small-world', rgraph.args=list(k=8)) +net <- rdiffnet(100, 4, seed.graph='small-world', rgraph.args=list(k=8)) netsim <- net # According to Dekker (2006), Simmelian ties can be computed as follows diff --git a/docs/reference/diffusionMap.html b/docs/reference/diffusionMap.html index 29fccba..b1beee7 100644 --- a/docs/reference/diffusionMap.html +++ b/docs/reference/diffusionMap.html @@ -264,7 +264,7 @@

Examp set.seed(1231) # Random scale-free diffusion network -x <- rdiffnet(1000, 4, seed.graph="scale-free", seed.p.adopt = .025, +x <- rdiffnet(1000, 4, seed.graph="scale-free", seed.p.adopt = .025, rewire = FALSE, seed.nodes = "central", rgraph.arg=list(self=FALSE, m=4), threshold.dist = function(id) runif(1,.2,.4)) diff --git a/docs/reference/drawColorKey-1.png b/docs/reference/drawColorKey-1.png index cf96666..4fe03db 100644 Binary files a/docs/reference/drawColorKey-1.png and b/docs/reference/drawColorKey-1.png differ diff --git a/docs/reference/edgelist_to_adjmat-1.png b/docs/reference/edgelist_to_adjmat-1.png index 6fa24d1..a38f155 100644 Binary files a/docs/reference/edgelist_to_adjmat-1.png and b/docs/reference/edgelist_to_adjmat-1.png differ diff --git a/docs/reference/edges_coords-2.png b/docs/reference/edges_coords-2.png index 051f13f..317f94a 100644 Binary files a/docs/reference/edges_coords-2.png and b/docs/reference/edges_coords-2.png differ diff --git a/docs/reference/ego_variance.html b/docs/reference/ego_variance.html index b5a0e88..353a31a 100644 --- a/docs/reference/ego_variance.html +++ b/docs/reference/ego_variance.html @@ -170,21 +170,21 @@

Details the function specified in funname, and, if all=FALSE \(f_i = \sum_j a_{ij}f(y_i,y_j)^2/\sum_ja_{ij}\), otherwise \(f_i = f_j = \frac{1}{n^2}\sum_{i,j}f(y_i,y_j)\)

-

This is an auxiliary function for struct_test. The idea is +

This is an auxiliary function for struct_test. The idea is to compute an adjusted measure of disimilarity between vertices, so the closest in terms of \(f\) is \(i\) to its neighbors, the smaller the relative variance.

See also

-
diff --git a/docs/reference/egonet_attrs.html b/docs/reference/egonet_attrs.html index 092e04f..a3823b8 100644 --- a/docs/reference/egonet_attrs.html +++ b/docs/reference/egonet_attrs.html @@ -252,7 +252,7 @@

See a

Examples

# Simple example with diffnet ----------------------------------------------- set.seed(1001) -diffnet <- rdiffnet(150, 5, seed.graph="small-world") +diffnet <- rdiffnet(150, 5, seed.graph="small-world") # Adding attributes indeg <- dgr(diffnet, cmode="indegree") diff --git a/docs/reference/exposure.html b/docs/reference/exposure.html index aa8ca23..5ccee9b 100644 --- a/docs/reference/exposure.html +++ b/docs/reference/exposure.html @@ -250,7 +250,7 @@

Details

If normalize=FALSE then denominator, \(S_t \times x_t\), is not included. This can be useful when, for example, exposure needs to be computed as a count instead of a proportion. A good example of this can be -found at the examples section of the function rdiffnet.

+found at the examples section of the function rdiffnet.

References

@@ -268,14 +268,14 @@

See a ego_variance, hazard_rate, infection, moran, struct_equiv, threshold, - vertex_covariate_dist

+ vertex_covariate_dist

Examples

# Calculating lagged exposure ----------------------------------------------- set.seed(8) -graph <- rdiffnet(20, 4) +graph <- rdiffnet(20, 4) expo0 <- exposure(graph) expo1 <- exposure(graph, lags = 1) @@ -286,7 +286,7 @@

Examp # Calculating the exposure based on Structural Equivalence ------------------ set.seed(113132) -graph <- rdiffnet(100, 10) +graph <- rdiffnet(100, 10) SE <- lapply(struct_equiv(graph), "[[", "SE") SE <- lapply(SE, function(x) { diff --git a/docs/reference/hazard_rate-1.png b/docs/reference/hazard_rate-1.png index ca6e12b..78d7356 100644 Binary files a/docs/reference/hazard_rate-1.png and b/docs/reference/hazard_rate-1.png differ diff --git a/docs/reference/hazard_rate.html b/docs/reference/hazard_rate.html index 1f27129..d86f403 100644 --- a/docs/reference/hazard_rate.html +++ b/docs/reference/hazard_rate.html @@ -258,10 +258,10 @@

See a

Other statistics: bass, classify_adopters, cumulative_adopt_count, dgr, - ego_variance, exposure, + ego_variance, exposure, infection, moran, struct_equiv, threshold, - vertex_covariate_dist

+ vertex_covariate_dist

Other visualizations: dgr, diffusionMap, drawColorKey, grid_distribution, diff --git a/docs/reference/infection.html b/docs/reference/infection.html index 6ac6126..fbe9f05 100644 --- a/docs/reference/infection.html +++ b/docs/reference/infection.html @@ -247,10 +247,10 @@

See a

Other statistics: bass, classify_adopters, cumulative_adopt_count, dgr, - ego_variance, exposure, + ego_variance, exposure, hazard_rate, moran, struct_equiv, threshold, - vertex_covariate_dist

+ vertex_covariate_dist

Examples

diff --git a/docs/reference/matrix_compare.html b/docs/reference/matrix_compare.html index f6daf0f..c283009 100644 --- a/docs/reference/matrix_compare.html +++ b/docs/reference/matrix_compare.html @@ -188,7 +188,7 @@

Details

See also

Other dyadic-level comparison functions: vertex_covariate_compare, - vertex_covariate_dist

+ vertex_covariate_dist

Examples

@@ -196,8 +196,8 @@

Examp # Creating two random matrices set.seed(89) -A <- rgraph_ba(t = 9, m = 4) -B <- rgraph_ba(t = 9, m = 4) +A <- rgraph_ba(t = 9, m = 4) +B <- rgraph_ba(t = 9, m = 4) A;B

#> 10 x 10 sparse Matrix of class "dgCMatrix"
#> [[ suppressing 10 column names ‘1’, ‘2’, ‘3’ ... ]]
#> #> 1 1 . . . . . . . . . #> 2 1 . . . . . . . . . @@ -232,8 +232,8 @@

Examp # More elaborated example (speed) -------------------------------------------

# NOT RUN { set.seed(123123123) -A <- rgraph_ba(t = 5e3, m = 2) -B <- rgraph_ba(t = 5e3, m = 2) +A <- rgraph_ba(t = 5e3, m = 2) +B <- rgraph_ba(t = 5e3, m = 2) Am <- as.matrix(A) Bm <- as.matrix(B) @@ -241,7 +241,7 @@

Examp compfun <- function(a,b) ifelse(a > b, a, b) -microbenchmark::microbenchmark( +microbenchmark::microbenchmark( diffnet = matrix_compare(A, B, compfun), R = matrix(ifelse(Am > Bm, Am, Bm), ncol=ncol(Am)), times = 10 diff --git a/docs/reference/mentor_matching-1.png b/docs/reference/mentor_matching-1.png index ad4184a..7183107 100644 Binary files a/docs/reference/mentor_matching-1.png and b/docs/reference/mentor_matching-1.png differ diff --git a/docs/reference/moran.html b/docs/reference/moran.html index 4fb2b92..581a028 100644 --- a/docs/reference/moran.html +++ b/docs/reference/moran.html @@ -190,12 +190,12 @@

See a + vertex_covariate_dist

+

Other Functions for inference: bootnet, + struct_test

Examples

@@ -203,7 +203,7 @@

Examp # NOT RUN { # Generating a small random graph set.seed(123) - graph <- rgraph_ba(t = 4) + graph <- rgraph_ba(t = 4) w <- approx_geodesic(graph) x <- rnorm(5) diff --git a/docs/reference/netmatch.html b/docs/reference/netmatch.html index 0d8bcbe..6c4441d 100644 --- a/docs/reference/netmatch.html +++ b/docs/reference/netmatch.html @@ -21,9 +21,11 @@ + + + - @@ -38,6 +40,7 @@ + @@ -62,7 +65,7 @@ netdiffuseR - 1.19.999 + 1.20.0 diff --git a/docs/reference/network.html b/docs/reference/network.html index c9436fa..f00b1c7 100644 --- a/docs/reference/network.html +++ b/docs/reference/network.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -222,7 +225,7 @@

See a

Examples

# Cohersing a diffnet to a list of networks --------------------------------- set.seed(1) -ans <- diffnet_to_network(rdiffnet(20, 2)) +ans <- diffnet_to_network(rdiffnet(20, 2)) ans
#> $`1` #> Network attributes: #> vertices = 20 @@ -283,7 +286,7 @@

Examp #> Dynamic attributes : -

# A random diffusion network ------------------------------------------------ set.seed(87) -dn <- rdiffnet(50, 4) +dn <- rdiffnet(50, 4) ans <- diffnet_to_networkDynamic(dn)
#> Argument base.net not specified, using first element of network.list instead #> Created net.obs.period to describe network #> Network observation period info: diff --git a/docs/reference/nvertices.html b/docs/reference/nvertices.html index 30145ad..bdc0a61 100644 --- a/docs/reference/nvertices.html +++ b/docs/reference/nvertices.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0
@@ -165,7 +168,7 @@

Details

Examples

# Creating a dynamic graph (we will use this for all the classes) ----------- set.seed(13133) -diffnet <- rdiffnet(100, 4) +diffnet <- rdiffnet(100, 4) # Lets use the first time period as a static graph graph_mat <- diffnet$graph[[1]] diff --git a/docs/reference/permute_graph.html b/docs/reference/permute_graph.html index f0b8c5c..b583f6c 100644 --- a/docs/reference/permute_graph.html +++ b/docs/reference/permute_graph.html @@ -21,9 +21,11 @@ + + + - @@ -37,6 +39,7 @@ + @@ -61,7 +64,7 @@ netdiffuseR - 1.19.999 + 1.20.0
@@ -174,8 +177,8 @@

R

See also

This function can be used as null distribution in struct_test

-

Other simulation functions: rdiffnet, - rewire_graph, rgraph_ba, +

Other simulation functions: rdiffnet, + rewire_graph, rgraph_ba, rgraph_er, rgraph_ws, ring_lattice

@@ -183,7 +186,7 @@

See a

Examples

# Simple example ------------------------------------------------------------ set.seed(1231) -g <- rgraph_ba(t=9) +g <- rgraph_ba(t=9) g
#> 10 x 10 sparse Matrix of class "dgCMatrix"
#> [[ suppressing 10 column names ‘1’, ‘2’, ‘3’ ... ]]
#> #> 1 1 . . . . . . . . . #> 2 1 . . . . . . . . . diff --git a/docs/reference/plot.diffnet-1.png b/docs/reference/plot.diffnet-1.png index 3b838c5..911505a 100644 Binary files a/docs/reference/plot.diffnet-1.png and b/docs/reference/plot.diffnet-1.png differ diff --git a/docs/reference/plot.diffnet.html b/docs/reference/plot.diffnet.html index 22e78b2..4d791ba 100644 --- a/docs/reference/plot.diffnet.html +++ b/docs/reference/plot.diffnet.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0
diff --git a/docs/reference/plot_adopters-1.png b/docs/reference/plot_adopters-1.png index 8e33850..22c313c 100644 Binary files a/docs/reference/plot_adopters-1.png and b/docs/reference/plot_adopters-1.png differ diff --git a/docs/reference/plot_adopters-2.png b/docs/reference/plot_adopters-2.png index c52b9ad..c076d53 100644 Binary files a/docs/reference/plot_adopters-2.png and b/docs/reference/plot_adopters-2.png differ diff --git a/docs/reference/plot_adopters.html b/docs/reference/plot_adopters.html index 25c5c57..338ce31 100644 --- a/docs/reference/plot_adopters.html +++ b/docs/reference/plot_adopters.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -224,7 +227,7 @@

See a

Examples

# Generating a random diffnet ----------------------------------------------- set.seed(821) -diffnet <- rdiffnet(100, 5, seed.graph="small-world", seed.nodes="central") +diffnet <- rdiffnet(100, 5, seed.graph="small-world", seed.nodes="central") plot_adopters(diffnet)
# Alternatively, we can use a TOA Matrix diff --git a/docs/reference/plot_diffnet-1.png b/docs/reference/plot_diffnet-1.png index 25c52b6..2dc08db 100644 Binary files a/docs/reference/plot_diffnet-1.png and b/docs/reference/plot_diffnet-1.png differ diff --git a/docs/reference/plot_diffnet.html b/docs/reference/plot_diffnet.html index d5dcfc9..c764761 100644 --- a/docs/reference/plot_diffnet.html +++ b/docs/reference/plot_diffnet.html @@ -21,9 +21,11 @@ + + + - @@ -36,6 +38,7 @@ + @@ -60,7 +63,7 @@ netdiffuseR - 1.19.999 + 1.20.0
diff --git a/docs/reference/plot_diffnet2.html b/docs/reference/plot_diffnet2.html index 3b2c89f..42c32af 100644 --- a/docs/reference/plot_diffnet2.html +++ b/docs/reference/plot_diffnet2.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -137,11 +140,10 @@

Another way of visualizing diffusion

# S3 method for default plot_diffnet2(graph, toa, pers = min(toa, na.rm = TRUE):max(toa, na.rm = TRUE), - color.ramp = grDevices::colorRamp(c("steelblue", "gray", "tomato")), - layout = NULL, key.width = 0.1, key.args = list(), - main = "Diffusion dynamics", add.map = NULL, - diffmap.args = list(kde2d.args = list(n = 100)), diffmap.alpha = 0.5, - include.white = "first", vertex.size = "degree", + color.ramp = grDevices::colorRamp(viridis::magma(20)), layout = NULL, + key.width = 0.1, key.args = list(), main = "Diffusion dynamics", + add.map = NULL, diffmap.args = list(kde2d.args = list(n = 100)), + diffmap.alpha = 0.5, include.white = "first", vertex.size = "degree", minmax.relative.size = getOption("diffnet.minmax.relative.size", c(0.01, 0.04)), no.graph = FALSE, ...)
diff --git a/docs/reference/plot_infectsuscep-1.png b/docs/reference/plot_infectsuscep-1.png index 442dca7..bf7ec50 100644 Binary files a/docs/reference/plot_infectsuscep-1.png and b/docs/reference/plot_infectsuscep-1.png differ diff --git a/docs/reference/plot_infectsuscep.html b/docs/reference/plot_infectsuscep.html index f9cf34c..3a087b4 100644 --- a/docs/reference/plot_infectsuscep.html +++ b/docs/reference/plot_infectsuscep.html @@ -21,9 +21,11 @@ + + + - @@ -36,6 +38,7 @@ + @@ -60,7 +63,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -139,9 +142,8 @@

Plot distribution of infect/suscep

main = "Distribution of Infectiousness and\nSusceptibility", xlab = "Infectiousness of ego", ylab = "Susceptibility of ego", sub = ifelse(logscale, "(in log-scale)", NA), - color.palette = grDevices::colorRampPalette(c("skyblue", "tomato")), - include.grid = TRUE, exclude.zeros = FALSE, - valued = getOption("diffnet.valued", FALSE), ...)
+ color.palette = viridis::viridis_pal(), include.grid = TRUE, + exclude.zeros = FALSE, valued = getOption("diffnet.valued", FALSE), ...)

Arguments

@@ -257,7 +259,7 @@

R

See also

Infectiousness and susceptibility are computed via infection and -susceptibility.

+susceptibility.

Other visualizations: dgr, diffusionMap, drawColorKey, grid_distribution, diff --git a/docs/reference/plot_threshold-1.png b/docs/reference/plot_threshold-1.png index 1790d8d..9a2fc6f 100644 Binary files a/docs/reference/plot_threshold-1.png and b/docs/reference/plot_threshold-1.png differ diff --git a/docs/reference/plot_threshold-2.png b/docs/reference/plot_threshold-2.png index b0c4933..68bae95 100644 Binary files a/docs/reference/plot_threshold-2.png and b/docs/reference/plot_threshold-2.png differ diff --git a/docs/reference/plot_threshold.html b/docs/reference/plot_threshold.html index ae15d10..da41d3f 100644 --- a/docs/reference/plot_threshold.html +++ b/docs/reference/plot_threshold.html @@ -21,9 +21,11 @@ + + + - @@ -35,6 +37,7 @@ + @@ -59,7 +62,7 @@ netdiffuseR - 1.19.999 + 1.20.0

@@ -162,7 +165,7 @@

Arg

- + @@ -182,7 +185,7 @@

Arg

- + @@ -313,7 +316,7 @@

Details

See also

Use threshold to retrieve the corresponding threshold -obtained returned by exposure.

+obtained returned by exposure.

Other visualizations: dgr, diffusionMap, drawColorKey, grid_distribution, @@ -334,7 +337,7 @@

Examp adopt <- toa_mat(toa) # Computing exposure -expos <- exposure(graph, adopt$cumadopt) +expos <- exposure(graph, adopt$cumadopt) plot_threshold(graph, expos, toa)

# Calculating degree (for sizing the vertices) diff --git a/docs/reference/pretty_within.html b/docs/reference/pretty_within.html index 9e530bb..f20dcea 100644 --- a/docs/reference/pretty_within.html +++ b/docs/reference/pretty_within.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0
diff --git a/docs/reference/rdiffnet-1.png b/docs/reference/rdiffnet-1.png index 299bc52..5562e66 100644 Binary files a/docs/reference/rdiffnet-1.png and b/docs/reference/rdiffnet-1.png differ diff --git a/docs/reference/rdiffnet.html b/docs/reference/rdiffnet.html index 79b2f79..caa9b4a 100644 --- a/docs/reference/rdiffnet.html +++ b/docs/reference/rdiffnet.html @@ -21,9 +21,11 @@ + + + - @@ -35,6 +37,7 @@ + @@ -59,7 +62,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -204,7 +207,7 @@

Arg

- + @@ -257,7 +260,7 @@

Details (Any class of accepted graph format (see netdiffuseR-graphs)), a graph itself or a character scalar in which the user sets the algorithm used to generate the first network (network in t=1), this can be either "scale-free" -(Barabasi-Albert model using the rgraph_ba function, the default), +(Barabasi-Albert model using the rgraph_ba function, the default), "bernoulli" (Erdos-Renyi model using the rgraph_er function), or "small-world" (Watts-Strogatz model using the rgraph_ws function). The list rgraph.args passes arguments to the chosen algorithm.

@@ -297,7 +300,7 @@

Details

See also

Other simulation functions: permute_graph, - rewire_graph, rgraph_ba, + rewire_graph, rgraph_ba, rgraph_er, rgraph_ws, ring_lattice

diff --git a/docs/reference/read_pajek.html b/docs/reference/read_pajek.html index 66757b9..2590faf 100644 --- a/docs/reference/read_pajek.html +++ b/docs/reference/read_pajek.html @@ -21,9 +21,11 @@ + + + - @@ -31,10 +33,13 @@ +data frames including a data frame of the vertices. (function on development) +Read UCINET graph files +Other datasets http://moreno.ss.uci.edu/data.html" /> + @@ -59,7 +64,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -128,6 +133,8 @@

Read foreign graph formats

Reading pajek and Ucinet files, this function returns weighted edgelists in the form of data frames including a data frame of the vertices. (function on development)

+

Read UCINET graph files +Other datasets http://moreno.ss.uci.edu/data.html

diff --git a/docs/reference/read_ucinet_head.html b/docs/reference/read_ucinet_head.html index df325ed..3c2b788 100644 --- a/docs/reference/read_ucinet_head.html +++ b/docs/reference/read_ucinet_head.html @@ -21,9 +21,11 @@ + + + - @@ -35,6 +37,7 @@ + @@ -59,7 +62,7 @@ netdiffuseR - 1.19.999 + 1.20.0 diff --git a/docs/reference/recode.html b/docs/reference/recode.html index 188d881..18f9069 100644 --- a/docs/reference/recode.html +++ b/docs/reference/recode.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0 diff --git a/docs/reference/rescale_vertex_igraph-1.png b/docs/reference/rescale_vertex_igraph-1.png index b4255a0..0a4b3f8 100644 Binary files a/docs/reference/rescale_vertex_igraph-1.png and b/docs/reference/rescale_vertex_igraph-1.png differ diff --git a/docs/reference/rescale_vertex_igraph.html b/docs/reference/rescale_vertex_igraph.html index 6a61853..0cdbeaa 100644 --- a/docs/reference/rescale_vertex_igraph.html +++ b/docs/reference/rescale_vertex_igraph.html @@ -21,9 +21,11 @@ + + + - @@ -36,6 +38,7 @@ + @@ -60,7 +63,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -210,8 +213,20 @@

See a

Examples

-library(igraph) - +library(igraph)
#> +#> Attaching package: ‘igraph’
#> The following objects are masked from ‘package:sna’: +#> +#> betweenness, bonpow, closeness, components, degree, dyad.census, +#> evcent, hierarchy, is.connected, neighborhood, triad.census
#> The following objects are masked from ‘package:network’: +#> +#> %c%, %s%, add.edges, add.vertices, delete.edges, delete.vertices, +#> get.edge.attribute, get.edges, get.vertex.attribute, is.bipartite, +#> is.directed, list.edge.attributes, list.vertex.attributes, +#> set.edge.attribute, set.vertex.attribute
#> The following objects are masked from ‘package:stats’: +#> +#> decompose, spectrum
#> The following object is masked from ‘package:base’: +#> +#> union
# Random graph and coordinates set.seed(2134) g <- barabasi.game(10) diff --git a/docs/reference/rewire_graph-1.png b/docs/reference/rewire_graph-1.png index 9ee1342..788cafa 100644 Binary files a/docs/reference/rewire_graph-1.png and b/docs/reference/rewire_graph-1.png differ diff --git a/docs/reference/rewire_graph.html b/docs/reference/rewire_graph.html index a6a8262..327586e 100644 --- a/docs/reference/rewire_graph.html +++ b/docs/reference/rewire_graph.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0
@@ -197,7 +200,7 @@

Details preserves the degree sequence of the graph and "endpoints" does not. The "swap" algorithm is specially useful to asses the non-randomness of a graph's structural properties, furthermore it is this algorithm the one used -in the struct_test routine implemented in netdiffuseR.

+in the struct_test routine implemented in netdiffuseR.

Rewiring assumes a weighted network, hence \(G(i,j) = k = G(i',j')\), where \(i',j'\) are the new end points of the edge and \(k\) may not be equal to one.

@@ -276,8 +279,8 @@

References

@@ -305,7 +308,7 @@

R

See also

Other simulation functions: permute_graph, - rdiffnet, rgraph_ba, + rdiffnet, rgraph_ba, rgraph_er, rgraph_ws, ring_lattice

diff --git a/docs/reference/rgraph_ba-1.png b/docs/reference/rgraph_ba-1.png index c3fd032..922f25f 100644 Binary files a/docs/reference/rgraph_ba-1.png and b/docs/reference/rgraph_ba-1.png differ diff --git a/docs/reference/rgraph_ba.html b/docs/reference/rgraph_ba.html index b3bf620..a65f9a8 100644 --- a/docs/reference/rgraph_ba.html +++ b/docs/reference/rgraph_ba.html @@ -21,9 +21,11 @@ + + + - @@ -37,6 +39,7 @@ + @@ -61,7 +64,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -214,7 +217,7 @@

R

See also

Other simulation functions: permute_graph, - rdiffnet, rewire_graph, + rdiffnet, rewire_graph, rgraph_er, rgraph_ws, ring_lattice

diff --git a/docs/reference/rgraph_er.html b/docs/reference/rgraph_er.html index 07d8403..8f2f513 100644 --- a/docs/reference/rgraph_er.html +++ b/docs/reference/rgraph_er.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -196,8 +199,8 @@

R

See also

Other simulation functions: permute_graph, - rdiffnet, rewire_graph, - rgraph_ba, rgraph_ws, + rdiffnet, rewire_graph, + rgraph_ba, rgraph_ws, ring_lattice

diff --git a/docs/reference/rgraph_ws-1.png b/docs/reference/rgraph_ws-1.png index b3b3dca..e5d8b0c 100644 Binary files a/docs/reference/rgraph_ws-1.png and b/docs/reference/rgraph_ws-1.png differ diff --git a/docs/reference/rgraph_ws.html b/docs/reference/rgraph_ws.html index 8077a3a..b085ded 100644 --- a/docs/reference/rgraph_ws.html +++ b/docs/reference/rgraph_ws.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -189,8 +192,8 @@

R

See also

Other simulation functions: permute_graph, - rdiffnet, rewire_graph, - rgraph_ba, rgraph_er, + rdiffnet, rewire_graph, + rgraph_ba, rgraph_er, ring_lattice

diff --git a/docs/reference/ring_lattice.html b/docs/reference/ring_lattice.html index 8b73f12..8ca8f17 100644 --- a/docs/reference/ring_lattice.html +++ b/docs/reference/ring_lattice.html @@ -21,9 +21,11 @@ + + + - @@ -35,6 +37,7 @@ + @@ -59,7 +62,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -168,8 +171,8 @@

R

See also

Other simulation functions: permute_graph, - rdiffnet, rewire_graph, - rgraph_ba, rgraph_er, + rdiffnet, rewire_graph, + rgraph_ba, rgraph_er, rgraph_ws

diff --git a/docs/reference/round_to_seq-1.png b/docs/reference/round_to_seq-1.png index 5cb1192..b0d1439 100644 Binary files a/docs/reference/round_to_seq-1.png and b/docs/reference/round_to_seq-1.png differ diff --git a/docs/reference/round_to_seq.html b/docs/reference/round_to_seq.html index dfe9476..e56c5f0 100644 --- a/docs/reference/round_to_seq.html +++ b/docs/reference/round_to_seq.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0 diff --git a/docs/reference/select_egoalter.html b/docs/reference/select_egoalter.html index 67363f9..3634308 100644 --- a/docs/reference/select_egoalter.html +++ b/docs/reference/select_egoalter.html @@ -21,9 +21,11 @@ + + + - @@ -38,6 +40,7 @@ + @@ -62,7 +65,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -216,7 +219,7 @@

R

Examples

# Simple example ------------------------------------------------------------ set.seed(1312) -dn <- rdiffnet(20, 5, seed.graph="small-world") +dn <- rdiffnet(20, 5, seed.graph="small-world") ans <- adopt_changes(dn) str(ans)
#> Classes ‘diffnet_adoptChanges’ and 'data.frame': 80 obs. of 50 variables: @@ -436,7 +439,7 @@

Contents

Author

-George G. Vega Yon, Stephanie R. Dyal, Timothy B, Hayes, Thomas W. Valente +George G. Vega Yon & Thomas W. Valente
diff --git a/docs/reference/struct_equiv.html b/docs/reference/struct_equiv.html index 721dcb3..113fbe7 100644 --- a/docs/reference/struct_equiv.html +++ b/docs/reference/struct_equiv.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -214,10 +217,10 @@

See a + vertex_covariate_dist

Examples

@@ -314,7 +317,7 @@

Contents

Author

-George G. Vega Yon, Stephanie R. Dyal, Timothy B, Hayes, Thomas W. Valente +George G. Vega Yon & Thomas W. Valente diff --git a/docs/reference/struct_test-1.png b/docs/reference/struct_test-1.png index 7eb53c1..3da7285 100644 Binary files a/docs/reference/struct_test-1.png and b/docs/reference/struct_test-1.png differ diff --git a/docs/reference/struct_test.html b/docs/reference/struct_test.html index c795f38..fb08462 100644 --- a/docs/reference/struct_test.html +++ b/docs/reference/struct_test.html @@ -21,9 +21,11 @@ + + + - @@ -37,6 +39,7 @@ + @@ -61,7 +64,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -289,14 +292,14 @@

R

See also

-

Other Functions for inference: bootnet, +

Other Functions for inference: bootnet, moran

Examples

# Creating a random graph set.seed(881) -diffnet <- rdiffnet(100, 5, seed.graph="small-world") +diffnet <- rdiffnet(100, 5, seed.graph="small-world") # Testing structure-dependency of threshold res <- struct_test(diffnet, function(g) mean(threshold(g), na.rm=TRUE), R=100) diff --git a/docs/reference/summary.diffnet.html b/docs/reference/summary.diffnet.html index 5cb00a4..8d1671d 100644 --- a/docs/reference/summary.diffnet.html +++ b/docs/reference/summary.diffnet.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0
diff --git a/docs/reference/survey_to_diffnet-1.png b/docs/reference/survey_to_diffnet-1.png index d228a1b..eda8ccb 100644 Binary files a/docs/reference/survey_to_diffnet-1.png and b/docs/reference/survey_to_diffnet-1.png differ diff --git a/docs/reference/survey_to_diffnet.html b/docs/reference/survey_to_diffnet.html index 94c93e5..50b419b 100644 --- a/docs/reference/survey_to_diffnet.html +++ b/docs/reference/survey_to_diffnet.html @@ -21,9 +21,11 @@ + + + - @@ -36,6 +38,7 @@ + @@ -60,7 +63,7 @@ netdiffuseR - 1.19.999 + 1.20.0
diff --git a/docs/reference/threshold.html b/docs/reference/threshold.html index abf37d3..46574e3 100644 --- a/docs/reference/threshold.html +++ b/docs/reference/threshold.html @@ -21,9 +21,11 @@ + + + - @@ -35,6 +37,7 @@ + @@ -59,7 +62,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -127,7 +130,7 @@

Retrive threshold levels from the exposure matrix

Thresholds are each vertexes exposure at the time of adoption. -Substantively it is the proportion of adopters required for each ego to adopt. (see exposure).

+Substantively it is the proportion of adopters required for each ego to adopt. (see exposure).

@@ -140,7 +143,7 @@

Arg

+exposure) or a diffnet object.

@@ -162,7 +165,7 @@

Arg

- +
expo

\(n\times T\) matrix. Esposure to the innovation obtained from exposure

\(n\times T\) matrix. Esposure to the innovation obtained from exposure

...
attrs

Passed to exposure (via threshold).

Passed to exposure (via threshold).

undirected
exposure.args

List. Arguments to be passed to exposure.

List. Arguments to be passed to exposure.

name
obj

Either a \(n\times T\) matrix (eposure to the innovation obtained from -exposure) or a diffnet object.

toa
...

Further arguments to be passed to exposure.

Further arguments to be passed to exposure.

@@ -182,10 +185,10 @@

See a

Other statistics: bass, classify_adopters, cumulative_adopt_count, dgr, - ego_variance, exposure, + ego_variance, exposure, hazard_rate, infection, moran, struct_equiv, - vertex_covariate_dist

+ vertex_covariate_dist

Examples

@@ -197,7 +200,7 @@

Examp # Computing exposure using Structural Equivalnece adopt <- toa_mat(toa) se <- struct_equiv(graph)
#> Warning: no non-missing arguments to max; returning -Inf
#> Warning: no non-missing arguments to max; returning -Inf
#> Warning: no non-missing arguments to max; returning -Inf
se <- lapply(se, function(x) methods::as((x$SE)^(-1), "dgCMatrix")) -expo <- exposure(graph, adopt$cumadopt, alt.graph=se)
#> Warning: The -alt.graph- will be treated as 0/1 graph (value=FALSE).
+expo <- exposure(graph, adopt$cumadopt, alt.graph=se)
#> Warning: The -alt.graph- will be treated as 0/1 graph (value=FALSE).
# Retrieving threshold threshold(expo, toa)
#> threshold #> 1 0.75 @@ -230,7 +233,7 @@

Contents

Author

-George G. Vega Yon, Stephanie R. Dyal, Timothy B. Hayes & Thomas W. Valente +George G. Vega Yon & Thomas W. Valente
diff --git a/docs/reference/toa_diff.html b/docs/reference/toa_diff.html index a113092..ef36a07 100644 --- a/docs/reference/toa_diff.html +++ b/docs/reference/toa_diff.html @@ -21,9 +21,11 @@ + + + - @@ -35,6 +37,7 @@ + @@ -59,7 +62,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -194,7 +197,7 @@

Contents

Author

-George G. Vega Yon, Stephanie R. Dyal, Timothy B. Hayes & Thomas W. Valente +George G. Vega Yon & Thomas W. Valente diff --git a/docs/reference/toa_mat.html b/docs/reference/toa_mat.html index 48ec99a..0fba4a8 100644 --- a/docs/reference/toa_mat.html +++ b/docs/reference/toa_mat.html @@ -21,9 +21,11 @@ + + + - @@ -37,6 +39,7 @@ + @@ -61,7 +64,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -258,7 +261,7 @@

Contents

Author

-George G. Vega Yon, Stephanie R. Dyal, Timothy B. Hayes & Thomas W. Valente +George G. Vega Yon & Thomas W. Valente diff --git a/docs/reference/transformGraphBy.html b/docs/reference/transformGraphBy.html index 0fba826..e17eaab 100644 --- a/docs/reference/transformGraphBy.html +++ b/docs/reference/transformGraphBy.html @@ -21,9 +21,11 @@ + + + - @@ -37,6 +39,7 @@ + @@ -61,7 +64,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -180,8 +183,8 @@

Examp # Two Random graphs of different size set.seed(123) -g0 <- rgraph_ba(m=2, self=FALSE) -g1 <- rgraph_ba(m=3, t=19, self=FALSE) +g0 <- rgraph_ba(m=2, self=FALSE) +g1 <- rgraph_ba(m=3, t=19, self=FALSE) # Need a place to store both networks together! G <- methods::new( diff --git a/docs/reference/vertex_covariate_compare.html b/docs/reference/vertex_covariate_compare.html index 0e57b47..6769d2e 100644 --- a/docs/reference/vertex_covariate_compare.html +++ b/docs/reference/vertex_covariate_compare.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -169,7 +172,7 @@

Details

See also

Other dyadic-level comparison functions: matrix_compare, - vertex_covariate_dist

+ vertex_covariate_dist

Examples

diff --git a/docs/reference/vertex_covariate_dist.html b/docs/reference/vertex_covariate_dist.html index c80acae..b758ef3 100644 --- a/docs/reference/vertex_covariate_dist.html +++ b/docs/reference/vertex_covariate_dist.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0 @@ -187,7 +190,7 @@

See a

Other statistics: bass, classify_adopters, cumulative_adopt_count, dgr, - ego_variance, exposure, + ego_variance, exposure, hazard_rate, infection, moran, struct_equiv, threshold

diff --git a/docs/reference/weighted_var.html b/docs/reference/weighted_var.html index 04e5f88..df83047 100644 --- a/docs/reference/weighted_var.html +++ b/docs/reference/weighted_var.html @@ -21,9 +21,11 @@ + + + - @@ -34,6 +36,7 @@ + @@ -58,7 +61,7 @@ netdiffuseR - 1.19.999 + 1.20.0 diff --git a/inst/CITATION b/inst/CITATION index 2dd8bbd..84b3e4a 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -2,11 +2,12 @@ year <- sub("-.*", "", meta$Date) note <- sprintf("R package version %s", meta$Version) bibentry(bibtype = "Manual", - title = "{netdiffuseR}: Analysis of Diffusion and Contagion Processes on Networks", + title = "{{netdiffuseR: Analysis of Diffusion and Contagion Processes on Networks}}", author = c( person("George", "Vega Yon", comment = c(ORCID = "0000-0002-3171-0844")), person("Thomas", "Valente") ), year = year, note = note, - url = "https://github.com/USCCANA/netdiffuseR") + url = "https://github.com/USCCANA/netdiffuseR", + doi = "10.5281/zenodo.1039317") diff --git a/man/as.array.diffnet.Rd b/man/as.array.diffnet.Rd index b97ec97..aae491a 100644 --- a/man/as.array.diffnet.Rd +++ b/man/as.array.diffnet.Rd @@ -41,4 +41,3 @@ Other diffnet methods: \code{\link{\%*\%}}, \code{\link{diffnet-class}}, \code{\link{diffnet_index}}, \code{\link{plot.diffnet}}, \code{\link{summary.diffnet}} } -\concept{diffnet methods} diff --git a/man/bass.Rd b/man/bass.Rd index 7a13117..5f59c86 100644 --- a/man/bass.Rd +++ b/man/bass.Rd @@ -135,4 +135,3 @@ Other statistics: \code{\link{classify_adopters}}, \author{ George G. Vega Yon } -\concept{statistics} diff --git a/man/bootnet.Rd b/man/bootnet.Rd index ea99121..b6ada8f 100644 --- a/man/bootnet.Rd +++ b/man/bootnet.Rd @@ -3,6 +3,7 @@ \name{bootnet} \alias{bootnet} \alias{resample_graph} +\alias{bootnet} \alias{c.diffnet_bootnet} \alias{print.diffnet_bootnet} \alias{hist.diffnet_bootnet} @@ -116,4 +117,3 @@ Retrieved from \url{https://insna.org/PDF/Connections/v22/1999_I-2_61-70.pdf} Other Functions for inference: \code{\link{moran}}, \code{\link{struct_test}} } -\concept{Functions for inference} diff --git a/man/brfarmers.Rd b/man/brfarmers.Rd index 99638d0..fe3eb24 100644 --- a/man/brfarmers.Rd +++ b/man/brfarmers.Rd @@ -197,5 +197,4 @@ Other diffusion datasets: \code{\link{brfarmersDiffNet}}, \code{\link{medInnovationsDiffNet}}, \code{\link{medInnovations}} } -\concept{diffusion datasets} \keyword{datasets} diff --git a/man/brfarmersDiffNet.Rd b/man/brfarmersDiffNet.Rd index 1ddf48b..25d456c 100644 --- a/man/brfarmersDiffNet.Rd +++ b/man/brfarmersDiffNet.Rd @@ -18,4 +18,3 @@ Other diffusion datasets: \code{\link{brfarmers}}, \code{\link{medInnovationsDiffNet}}, \code{\link{medInnovations}} } -\concept{diffusion datasets} diff --git a/man/c.diffnet.Rd b/man/c.diffnet.Rd index cdb6aa9..0ce751a 100644 --- a/man/c.diffnet.Rd +++ b/man/c.diffnet.Rd @@ -64,4 +64,3 @@ Other diffnet methods: \code{\link{\%*\%}}, \code{\link{diffnet-class}}, \code{\link{diffnet_index}}, \code{\link{plot.diffnet}}, \code{\link{summary.diffnet}} } -\concept{diffnet methods} diff --git a/man/classify_adopters.Rd b/man/classify_adopters.Rd index 2131a37..eb7d3e1 100644 --- a/man/classify_adopters.Rd +++ b/man/classify_adopters.Rd @@ -140,4 +140,3 @@ Other statistics: \code{\link{bass}}, \author{ George G. Vega Yon } -\concept{statistics} diff --git a/man/cumulative_adopt_count.Rd b/man/cumulative_adopt_count.Rd index 0c1610d..d98cee6 100644 --- a/man/cumulative_adopt_count.Rd +++ b/man/cumulative_adopt_count.Rd @@ -39,5 +39,4 @@ Other statistics: \code{\link{bass}}, \author{ George G. Vega Yon & Thomas W. Valente } -\concept{statistics} \keyword{univar} diff --git a/man/dgr.Rd b/man/dgr.Rd index 3276a0b..0f572f2 100644 --- a/man/dgr.Rd +++ b/man/dgr.Rd @@ -108,6 +108,4 @@ Other visualizations: \code{\link{diffusionMap}}, \author{ George G. Vega Yon } -\concept{statistics} -\concept{visualizations} \keyword{univar} diff --git a/man/diffnet-arithmetic.Rd b/man/diffnet-arithmetic.Rd index 3d231c9..d2f3968 100644 --- a/man/diffnet-arithmetic.Rd +++ b/man/diffnet-arithmetic.Rd @@ -83,4 +83,3 @@ Other diffnet methods: \code{\link{\%*\%}}, \code{\link{diffnet-class}}, \code{\link{diffnet_index}}, \code{\link{plot.diffnet}}, \code{\link{summary.diffnet}} } -\concept{diffnet methods} diff --git a/man/diffnet-class.Rd b/man/diffnet-class.Rd index 415ffdd..c6a137b 100644 --- a/man/diffnet-class.Rd +++ b/man/diffnet-class.Rd @@ -295,5 +295,3 @@ Other data management functions: \code{\link{edgelist_to_adjmat}}, \author{ George G. Vega Yon } -\concept{data management functions} -\concept{diffnet methods} diff --git a/man/diffnet_index.Rd b/man/diffnet_index.Rd index 9173f9b..eb7a30f 100644 --- a/man/diffnet_index.Rd +++ b/man/diffnet_index.Rd @@ -139,4 +139,3 @@ Other diffnet methods: \code{\link{\%*\%}}, \author{ George G. Vega Yon } -\concept{diffnet methods} diff --git a/man/diffnetmatmult.Rd b/man/diffnetmatmult.Rd index 273c286..94cf163 100644 --- a/man/diffnetmatmult.Rd +++ b/man/diffnetmatmult.Rd @@ -59,4 +59,3 @@ Other diffnet methods: \code{\link{as.array.diffnet}}, \code{\link{diffnet-class}}, \code{\link{diffnet_index}}, \code{\link{plot.diffnet}}, \code{\link{summary.diffnet}} } -\concept{diffnet methods} diff --git a/man/diffusion-data.Rd b/man/diffusion-data.Rd index 9519c6b..10d84f3 100644 --- a/man/diffusion-data.Rd +++ b/man/diffusion-data.Rd @@ -92,4 +92,3 @@ Other diffusion datasets: \code{\link{brfarmersDiffNet}}, \author{ Thomas W. Valente } -\concept{diffusion datasets} diff --git a/man/diffusionMap.Rd b/man/diffusionMap.Rd index b4577f7..c0d10db 100644 --- a/man/diffusionMap.Rd +++ b/man/diffusionMap.Rd @@ -163,4 +163,3 @@ Other visualizations: \code{\link{dgr}}, \author{ George G. Vega Yon } -\concept{visualizations} diff --git a/man/drawColorKey.Rd b/man/drawColorKey.Rd index 3bc4324..3a2d85b 100644 --- a/man/drawColorKey.Rd +++ b/man/drawColorKey.Rd @@ -72,5 +72,4 @@ Other visualizations: \code{\link{dgr}}, \author{ George G. Vega Yon } -\concept{visualizations} \keyword{misc} diff --git a/man/edgelist_to_adjmat.Rd b/man/edgelist_to_adjmat.Rd index 5323135..591701c 100644 --- a/man/edgelist_to_adjmat.Rd +++ b/man/edgelist_to_adjmat.Rd @@ -164,5 +164,4 @@ Other data management functions: \code{\link{diffnet-class}}, \author{ George G. Vega Yon & Thomas W. Valente } -\concept{data management functions} \keyword{manip} diff --git a/man/ego_variance.Rd b/man/ego_variance.Rd index dc28752..2cd64ac 100644 --- a/man/ego_variance.Rd +++ b/man/ego_variance.Rd @@ -53,4 +53,3 @@ Other statistics: \code{\link{bass}}, \code{\link{struct_equiv}}, \code{\link{threshold}}, \code{\link{vertex_covariate_dist}} } -\concept{statistics} diff --git a/man/egonet_attrs.Rd b/man/egonet_attrs.Rd index 93ac87f..f787df5 100644 --- a/man/egonet_attrs.Rd +++ b/man/egonet_attrs.Rd @@ -137,4 +137,3 @@ Other data management functions: \code{\link{diffnet-class}}, \author{ George G. Vega Yon } -\concept{data management functions} diff --git a/man/exposure.Rd b/man/exposure.Rd index 02cee58..aa29355 100644 --- a/man/exposure.Rd +++ b/man/exposure.Rd @@ -2,6 +2,7 @@ % Please edit documentation in R/stats.R \name{exposure} \alias{exposure} +\alias{exposure} \title{Ego exposure} \usage{ exposure(graph, cumadopt, attrs = NULL, alt.graph = NULL, @@ -238,5 +239,4 @@ Other statistics: \code{\link{bass}}, \author{ George G. Vega Yon & Thomas W. Valente } -\concept{statistics} \keyword{univar} diff --git a/man/fakeDynEdgelist.Rd b/man/fakeDynEdgelist.Rd index 8b1734d..c765ac3 100644 --- a/man/fakeDynEdgelist.Rd +++ b/man/fakeDynEdgelist.Rd @@ -29,4 +29,3 @@ Other diffusion datasets: \code{\link{brfarmersDiffNet}}, \author{ George G. Vega Yon } -\concept{diffusion datasets} diff --git a/man/fakeEdgelist.Rd b/man/fakeEdgelist.Rd index a91e210..b4654a3 100644 --- a/man/fakeEdgelist.Rd +++ b/man/fakeEdgelist.Rd @@ -28,4 +28,3 @@ Other diffusion datasets: \code{\link{brfarmersDiffNet}}, \author{ George G. Vega Yon } -\concept{diffusion datasets} diff --git a/man/fakesurvey.Rd b/man/fakesurvey.Rd index 127bc94..1f1a81f 100644 --- a/man/fakesurvey.Rd +++ b/man/fakesurvey.Rd @@ -35,4 +35,3 @@ Other diffusion datasets: \code{\link{brfarmersDiffNet}}, \author{ George G. Vega Yon } -\concept{diffusion datasets} diff --git a/man/fakesurveyDyn.Rd b/man/fakesurveyDyn.Rd index 088b12d..0223149 100644 --- a/man/fakesurveyDyn.Rd +++ b/man/fakesurveyDyn.Rd @@ -36,4 +36,3 @@ Other diffusion datasets: \code{\link{brfarmersDiffNet}}, \author{ George G. Vega Yon } -\concept{diffusion datasets} diff --git a/man/grid_distribution.Rd b/man/grid_distribution.Rd index f7a88c7..f75cabb 100644 --- a/man/grid_distribution.Rd +++ b/man/grid_distribution.Rd @@ -49,6 +49,5 @@ Other visualizations: \code{\link{dgr}}, \code{\link{plot_threshold}}, \code{\link{rescale_vertex_igraph}} } -\concept{visualizations} \keyword{dplot} \keyword{misc} diff --git a/man/hazard_rate.Rd b/man/hazard_rate.Rd index 9c60b7e..8ef327c 100644 --- a/man/hazard_rate.Rd +++ b/man/hazard_rate.Rd @@ -136,6 +136,4 @@ Other visualizations: \code{\link{dgr}}, \author{ George G. Vega Yon & Thomas W. Valente } -\concept{statistics} -\concept{visualizations} \keyword{univar} diff --git a/man/igraph.Rd b/man/igraph.Rd index 1d9c547..f62be92 100644 --- a/man/igraph.Rd +++ b/man/igraph.Rd @@ -45,4 +45,3 @@ igraph::vertex_attr(x[[1]], "toa") Other Foreign: \code{\link{network}}, \code{\link{read_pajek}}, \code{\link{read_ucinet_head}} } -\concept{Foreign} diff --git a/man/infection.Rd b/man/infection.Rd index 54bd4c0..ab0332b 100644 --- a/man/infection.Rd +++ b/man/infection.Rd @@ -3,6 +3,7 @@ \name{infection} \alias{infection} \alias{susceptibility} +\alias{susceptibility} \title{Susceptibility and Infection} \usage{ infection(graph, toa, t0 = NULL, normalize = TRUE, K = 1L, r = 0.5, @@ -140,5 +141,4 @@ Other statistics: \code{\link{bass}}, \author{ George G. Vega Yon } -\concept{statistics} \keyword{univar} diff --git a/man/isolated.Rd b/man/isolated.Rd index 9f7539f..00d2087 100644 --- a/man/isolated.Rd +++ b/man/isolated.Rd @@ -68,5 +68,4 @@ Other data management functions: \code{\link{diffnet-class}}, \author{ George G. Vega Yon } -\concept{data management functions} \keyword{manip} diff --git a/man/kfamily.Rd b/man/kfamily.Rd index af94761..402413b 100644 --- a/man/kfamily.Rd +++ b/man/kfamily.Rd @@ -474,4 +474,3 @@ Other diffusion datasets: \code{\link{brfarmersDiffNet}}, \code{\link{medInnovationsDiffNet}}, \code{\link{medInnovations}} } -\concept{diffusion datasets} diff --git a/man/kfamilyDiffNet.Rd b/man/kfamilyDiffNet.Rd index 564d9e4..623eae5 100644 --- a/man/kfamilyDiffNet.Rd +++ b/man/kfamilyDiffNet.Rd @@ -17,4 +17,3 @@ Other diffusion datasets: \code{\link{brfarmersDiffNet}}, \code{\link{medInnovationsDiffNet}}, \code{\link{medInnovations}} } -\concept{diffusion datasets} diff --git a/man/matrix_compare.Rd b/man/matrix_compare.Rd index f6d59a2..3956fff 100644 --- a/man/matrix_compare.Rd +++ b/man/matrix_compare.Rd @@ -100,4 +100,3 @@ microbenchmark::microbenchmark( Other dyadic-level comparison functions: \code{\link{vertex_covariate_compare}}, \code{\link{vertex_covariate_dist}} } -\concept{dyadic-level comparison functions} diff --git a/man/medInnovations.Rd b/man/medInnovations.Rd index 3138c07..39d2332 100644 --- a/man/medInnovations.Rd +++ b/man/medInnovations.Rd @@ -100,4 +100,3 @@ Other diffusion datasets: \code{\link{brfarmersDiffNet}}, \code{\link{kfamily}}, \code{\link{medInnovationsDiffNet}} } -\concept{diffusion datasets} diff --git a/man/medInnovationsDiffNet.Rd b/man/medInnovationsDiffNet.Rd index c3e04a2..512b7aa 100644 --- a/man/medInnovationsDiffNet.Rd +++ b/man/medInnovationsDiffNet.Rd @@ -16,4 +16,3 @@ Other diffusion datasets: \code{\link{brfarmersDiffNet}}, \code{\link{fakesurvey}}, \code{\link{kfamilyDiffNet}}, \code{\link{kfamily}}, \code{\link{medInnovations}} } -\concept{diffusion datasets} diff --git a/man/moran.Rd b/man/moran.Rd index 76cd494..096944b 100644 --- a/man/moran.Rd +++ b/man/moran.Rd @@ -75,5 +75,3 @@ Other Functions for inference: \code{\link{bootnet}}, \author{ George G. Vega Yon } -\concept{Functions for inference} -\concept{statistics} diff --git a/man/netdiffuseR-graphs.Rd b/man/netdiffuseR-graphs.Rd index 5b251dc..f6591b8 100644 --- a/man/netdiffuseR-graphs.Rd +++ b/man/netdiffuseR-graphs.Rd @@ -48,4 +48,3 @@ when no names are provided, these will be created from scratch. \author{ George G. Vega Yon } -\concept{graph formats} diff --git a/man/netmatch.Rd b/man/netmatch.Rd index f0f65c8..c9c6afa 100644 --- a/man/netmatch.Rd +++ b/man/netmatch.Rd @@ -3,6 +3,7 @@ \name{netmatch} \alias{netmatch} \alias{netmatch_prepare} +\alias{netmatch} \title{Matching Estimators with Network Data} \usage{ netmatch_prepare(dat, graph, timevar, depvar, covariates, treat_thr = rep(1L, diff --git a/man/network.Rd b/man/network.Rd index 5dd60ee..b5ab9c3 100644 --- a/man/network.Rd +++ b/man/network.Rd @@ -102,4 +102,3 @@ networkDynamic_to_diffnet(ans, toavar = "toa") Other Foreign: \code{\link{igraph}}, \code{\link{read_pajek}}, \code{\link{read_ucinet_head}} } -\concept{Foreign} diff --git a/man/permute_graph.Rd b/man/permute_graph.Rd index 2c54314..0147973 100644 --- a/man/permute_graph.Rd +++ b/man/permute_graph.Rd @@ -65,4 +65,3 @@ Other simulation functions: \code{\link{rdiffnet}}, \author{ George G. Vega Yon } -\concept{simulation functions} diff --git a/man/plot.diffnet.Rd b/man/plot.diffnet.Rd index 0ebc6d9..f909507 100644 --- a/man/plot.diffnet.Rd +++ b/man/plot.diffnet.Rd @@ -63,4 +63,3 @@ Other diffnet methods: \code{\link{\%*\%}}, \author{ George G. Vega Yon } -\concept{diffnet methods} diff --git a/man/plot_adopters.Rd b/man/plot_adopters.Rd index 4574a40..47aa8d4 100644 --- a/man/plot_adopters.Rd +++ b/man/plot_adopters.Rd @@ -75,4 +75,3 @@ Other visualizations: \code{\link{dgr}}, \author{ George G. Vega Yon } -\concept{visualizations} diff --git a/man/plot_diffnet.Rd b/man/plot_diffnet.Rd index 62361b0..ddfac74 100644 --- a/man/plot_diffnet.Rd +++ b/man/plot_diffnet.Rd @@ -115,5 +115,4 @@ Other visualizations: \code{\link{dgr}}, \author{ George G. Vega Yon } -\concept{visualizations} \keyword{hplot} diff --git a/man/plot_diffnet2.Rd b/man/plot_diffnet2.Rd index 093f34f..7613c5c 100644 --- a/man/plot_diffnet2.Rd +++ b/man/plot_diffnet2.Rd @@ -107,4 +107,3 @@ Other visualizations: \code{\link{dgr}}, \author{ George G. Vega Yon } -\concept{visualizations} diff --git a/man/plot_infectsuscep.Rd b/man/plot_infectsuscep.Rd index d6b2d8a..1071a86 100644 --- a/man/plot_infectsuscep.Rd +++ b/man/plot_infectsuscep.Rd @@ -109,5 +109,4 @@ Other visualizations: \code{\link{dgr}}, \author{ George G. Vega Yon } -\concept{visualizations} \keyword{hplot} diff --git a/man/plot_threshold.Rd b/man/plot_threshold.Rd index 60c150d..73af42c 100644 --- a/man/plot_threshold.Rd +++ b/man/plot_threshold.Rd @@ -147,5 +147,4 @@ Other visualizations: \code{\link{dgr}}, \author{ George G. Vega Yon } -\concept{visualizations} \keyword{hplot} diff --git a/man/rdiffnet.Rd b/man/rdiffnet.Rd index 2537bb7..8d99f09 100644 --- a/man/rdiffnet.Rd +++ b/man/rdiffnet.Rd @@ -3,6 +3,7 @@ \name{rdiffnet} \alias{rdiffnet} \alias{rdiffnet_multiple} +\alias{rdiffnet} \title{Random diffnet network} \usage{ rdiffnet_multiple(R, statistic, ..., ncpus = 1L, cl = NULL) @@ -184,4 +185,3 @@ Other simulation functions: \code{\link{permute_graph}}, \author{ George G. Vega Yon } -\concept{simulation functions} diff --git a/man/read_pajek.Rd b/man/read_pajek.Rd index 927f435..a6fe010 100644 --- a/man/read_pajek.Rd +++ b/man/read_pajek.Rd @@ -30,6 +30,9 @@ For \code{read_ml}, a list with two elements: \description{ Reading pajek and Ucinet files, this function returns weighted edgelists in the form of data frames including a data frame of the vertices. (function on development) + +Read UCINET graph files +Other datasets http://moreno.ss.uci.edu/data.html } \details{ Since .net files allow working with multi-relational networks (more than one @@ -67,4 +70,3 @@ Other Foreign: \code{\link{igraph}}, \code{\link{network}}, \author{ George G. Vega Yon } -\concept{Foreign} diff --git a/man/read_ucinet_head.Rd b/man/read_ucinet_head.Rd index e42d422..6a7d446 100644 --- a/man/read_ucinet_head.Rd +++ b/man/read_ucinet_head.Rd @@ -38,4 +38,3 @@ Read UCINET files (binary) Other Foreign: \code{\link{igraph}}, \code{\link{network}}, \code{\link{read_pajek}} } -\concept{Foreign} diff --git a/man/rescale_vertex_igraph.Rd b/man/rescale_vertex_igraph.Rd index 35471bf..095fd4c 100644 --- a/man/rescale_vertex_igraph.Rd +++ b/man/rescale_vertex_igraph.Rd @@ -116,4 +116,3 @@ Other visualizations: \code{\link{dgr}}, \author{ George G. Vega Yon } -\concept{visualizations} diff --git a/man/rewire_graph.Rd b/man/rewire_graph.Rd index 4b1cd35..bdb05eb 100644 --- a/man/rewire_graph.Rd +++ b/man/rewire_graph.Rd @@ -223,4 +223,3 @@ Other simulation functions: \code{\link{permute_graph}}, \author{ George G. Vega Yon } -\concept{simulation functions} diff --git a/man/rgraph_ba.Rd b/man/rgraph_ba.Rd index 2822745..c912026 100644 --- a/man/rgraph_ba.Rd +++ b/man/rgraph_ba.Rd @@ -3,6 +3,7 @@ \name{rgraph_ba} \alias{rgraph_ba} \alias{scale-free} +\alias{rgraph_ba} \title{Scale-free and Homophilic Random Networks} \usage{ rgraph_ba(m0 = 1L, m = 1L, t = 10L, graph = NULL, self = TRUE, @@ -112,10 +113,15 @@ Other simulation functions: \code{\link{permute_graph}}, \author{ George G. Vega Yon } -\concept{Barabasi-Albert model} -\concept{Bollabas} -\concept{Homophilic random graph} -\concept{Random graph} -\concept{Scale-free random graph} -\concept{simulation functions} +\concept{ +Scale-free random graph + +Barabasi-Albert model + +Bollabas + +Homophilic random graph + +Random graph +} \keyword{distribution} diff --git a/man/rgraph_er.Rd b/man/rgraph_er.Rd index 861296e..d9c991c 100644 --- a/man/rgraph_er.Rd +++ b/man/rgraph_er.Rd @@ -78,7 +78,9 @@ Other simulation functions: \code{\link{permute_graph}}, \author{ George G. Vega Yon } -\concept{Bernoulli Random graph} -\concept{Erdos-Renyi random graph} -\concept{simulation functions} +\concept{ +Bernoulli Random graph + +Erdos-Renyi random graph +} \keyword{distribution} diff --git a/man/rgraph_ws.Rd b/man/rgraph_ws.Rd index 7342f75..774dfc8 100644 --- a/man/rgraph_ws.Rd +++ b/man/rgraph_ws.Rd @@ -70,4 +70,3 @@ Other simulation functions: \code{\link{permute_graph}}, \author{ George G. Vega Yon } -\concept{simulation functions} diff --git a/man/ring_lattice.Rd b/man/ring_lattice.Rd index 8984335..12b6f5f 100644 --- a/man/ring_lattice.Rd +++ b/man/ring_lattice.Rd @@ -35,4 +35,3 @@ Other simulation functions: \code{\link{permute_graph}}, \code{\link{rgraph_ba}}, \code{\link{rgraph_er}}, \code{\link{rgraph_ws}} } -\concept{simulation functions} diff --git a/man/struct_equiv.Rd b/man/struct_equiv.Rd index 8be970e..d215237 100644 --- a/man/struct_equiv.Rd +++ b/man/struct_equiv.Rd @@ -118,5 +118,4 @@ Other statistics: \code{\link{bass}}, \author{ George G. Vega Yon & Thomas W. Valente } -\concept{statistics} \keyword{univar} diff --git a/man/struct_test.Rd b/man/struct_test.Rd index dabc5a5..b359ea2 100644 --- a/man/struct_test.Rd +++ b/man/struct_test.Rd @@ -3,6 +3,7 @@ \name{struct_test} \alias{struct_test} \alias{n_rewires} +\alias{struct_test} \alias{c.diffnet_struct_test} \alias{print.diffnet_struct_test} \alias{hist.diffnet_struct_test} @@ -177,4 +178,3 @@ Other Functions for inference: \code{\link{bootnet}}, \author{ George G. Vega Yon } -\concept{Functions for inference} diff --git a/man/summary.diffnet.Rd b/man/summary.diffnet.Rd index 309c786..e79e4f0 100644 --- a/man/summary.diffnet.Rd +++ b/man/summary.diffnet.Rd @@ -73,4 +73,3 @@ Other diffnet methods: \code{\link{\%*\%}}, \author{ George G. Vega Yon } -\concept{diffnet methods} diff --git a/man/survey_to_diffnet.Rd b/man/survey_to_diffnet.Rd index deb4dba..7d586e6 100644 --- a/man/survey_to_diffnet.Rd +++ b/man/survey_to_diffnet.Rd @@ -178,4 +178,3 @@ Other data management functions: \code{\link{diffnet-class}}, \author{ Vega Yon } -\concept{data management functions} diff --git a/man/threshold.Rd b/man/threshold.Rd index d371df1..2eb61e3 100644 --- a/man/threshold.Rd +++ b/man/threshold.Rd @@ -68,5 +68,4 @@ Other statistics: \code{\link{bass}}, \author{ George G. Vega Yon & Thomas W. Valente } -\concept{statistics} \keyword{univar} diff --git a/man/vertex_covariate_compare.Rd b/man/vertex_covariate_compare.Rd index c7830aa..0fd48da 100644 --- a/man/vertex_covariate_compare.Rd +++ b/man/vertex_covariate_compare.Rd @@ -49,4 +49,3 @@ vertex_covariate_compare(G, x, "<=") Other dyadic-level comparison functions: \code{\link{matrix_compare}}, \code{\link{vertex_covariate_dist}} } -\concept{dyadic-level comparison functions} diff --git a/man/vertex_covariate_dist.Rd b/man/vertex_covariate_dist.Rd index b3e3e90..e368d9f 100644 --- a/man/vertex_covariate_dist.Rd +++ b/man/vertex_covariate_dist.Rd @@ -2,6 +2,7 @@ % Please edit documentation in R/RcppExports.R, R/stats.R \name{vertex_covariate_dist} \alias{vertex_covariate_dist} +\alias{vertex_covariate_dist} \alias{p-norm} \alias{mahalanobis} \alias{minkowski} @@ -98,5 +99,3 @@ Other dyadic-level comparison functions: \code{\link{matrix_compare}}, \author{ George G. Vega Yon } -\concept{dyadic-level comparison functions} -\concept{statistics}