From be91c93e4a220cb001644a77dfc4ec6e61dd3caf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 08:06:02 +0000 Subject: [PATCH 01/20] Update CITATION.cff --- CITATION.cff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 940ae6b7377..e0aea16cea8 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -8,7 +8,7 @@ message: 'To cite package "igraph" in publications use:' type: software license: GPL-2.0-or-later title: 'igraph: Network Analysis and Visualization' -version: 1.5.99.9000 +version: 1.5.99.9002 abstract: Routines for simple graphs and network analysis. It can handle large graphs very well and provides functions for generating random and regular graphs, graph visualization, centrality methods and much more. @@ -86,7 +86,7 @@ references: - family-names: Müller given-names: Kirill year: '2023' - notes: R package version 1.5.99.9000 + notes: R package version 1.5.99.9002 doi: 10.5281/zenodo.7682609 url: https://CRAN.R-project.org/package=igraph - type: software From 236565b3a0a73891c3ab7a54258a36b4616cc450 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Nov 2023 07:44:03 +0000 Subject: [PATCH 02/20] Update CITATION.cff --- CITATION.cff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index e0aea16cea8..0109d05c2d5 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -8,7 +8,7 @@ message: 'To cite package "igraph" in publications use:' type: software license: GPL-2.0-or-later title: 'igraph: Network Analysis and Visualization' -version: 1.5.99.9002 +version: 1.5.99.9003 abstract: Routines for simple graphs and network analysis. It can handle large graphs very well and provides functions for generating random and regular graphs, graph visualization, centrality methods and much more. @@ -86,7 +86,7 @@ references: - family-names: Müller given-names: Kirill year: '2023' - notes: R package version 1.5.99.9002 + notes: R package version 1.5.99.9003 doi: 10.5281/zenodo.7682609 url: https://CRAN.R-project.org/package=igraph - type: software From cdd79cd41187eaaa8c3331e70985d4f998645334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Fri, 24 Nov 2023 15:57:49 +0100 Subject: [PATCH 03/20] fix test file --- tests/testthat/test-count.multiple.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testthat/test-count.multiple.R b/tests/testthat/test-count.multiple.R index da25fe5f823..36f4771b2bc 100644 --- a/tests/testthat/test-count.multiple.R +++ b/tests/testthat/test-count.multiple.R @@ -25,10 +25,10 @@ test_that("any_multiple(), count_multiple(), which_multiple() works", { ## Direction of the edge is important - expect_false(any_multiple(graph(c(1, 2, 2, 1)))) - expect_that(which_multiple(graph(c(1, 2, 2, 1))), equals(c(FALSE, FALSE))) + expect_false(any_multiple(make_graph(c(1, 2, 2, 1)))) + expect_that(which_multiple(make_graph(c(1, 2, 2, 1))), equals(c(FALSE, FALSE))) expect_that( - which_multiple(graph(c(1, 2, 2, 1), dir = FALSE)), + which_multiple(make_graph(c(1, 2, 2, 1), dir = FALSE)), equals(c(FALSE, TRUE)) ) From eddf86e7d48c4be3bc9f04ea7610e2811dacc02d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 27 Nov 2023 08:21:04 +0100 Subject: [PATCH 04/20] rm deprecated test --- tests/testthat/test-notable.R | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/testthat/test-notable.R b/tests/testthat/test-notable.R index c1734e4d331..37232e3bf26 100644 --- a/tests/testthat/test-notable.R +++ b/tests/testthat/test-notable.R @@ -1,9 +1,3 @@ -test_that("notable graphs work with make_graph", { - g <- make_graph("Levi") - g2 <- graph.famous("Levi") - expect_true(identical_graphs(g, g2)) -}) - test_that("make_graph for notable graphs is case insensitive", { g <- make_graph("Levi") g2 <- make_graph("levi") From 3786165cd2ba9509206c573604ab424822afddf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 27 Nov 2023 08:27:34 +0100 Subject: [PATCH 05/20] replace graph.famous --- tests/testthat/test-dimSelect.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-dimSelect.R b/tests/testthat/test-dimSelect.R index afd8087f5eb..288166c3ded 100644 --- a/tests/testthat/test-dimSelect.R +++ b/tests/testthat/test-dimSelect.R @@ -1,7 +1,7 @@ test_that("dimensionality selection works", { set.seed(42) - k <- graph.famous("zachary") + k <- make_graph("zachary") ev <- eigen(get.adjacency(k), only.values = TRUE)$values kdim <- dim_select(ev) expect_that(kdim, equals(4)) From 4c915bb15c9beadfb9a3536e63b205b648332549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 27 Nov 2023 09:43:13 +0100 Subject: [PATCH 06/20] manually remove useless test lines --- tests/testthat/test-get.shortest.paths.R | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/testthat/test-get.shortest.paths.R b/tests/testthat/test-get.shortest.paths.R index b39686e53b1..b4406bac2d2 100644 --- a/tests/testthat/test-get.shortest.paths.R +++ b/tests/testthat/test-get.shortest.paths.R @@ -21,13 +21,10 @@ test_that("shortest_paths works", { g <- graph_from_data_frame(as.data.frame(edges)) all1 <- all_shortest_paths(g, "s", "t", weights = NA)$vpaths - all2 <- all_shortest_paths(g, "s", "t")$vpaths s1 <- shortest_paths(g, "s", "t", weights = NA) - s2 <- get.shortest.paths(g, "s", "t") expect_true(s1$vpath %in% all1) - expect_true(s2$vpath %in% all2) }) test_that("shortest_paths can handle negative weights", { From 17570323fa39da2991d2f6132a0c9c7ce7b6d12b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 27 Nov 2023 10:14:12 +0100 Subject: [PATCH 07/20] replace calls to deprecated functions in tests, automatically --- .../test-adjacency.spectral.embedding.R | 2 +- tests/testthat/test-attributes.R | 2 +- tests/testthat/test-betweenness.R | 2 +- tests/testthat/test-bug-154.R | 4 +- tests/testthat/test-coloring.R | 2 +- tests/testthat/test-correlated.R | 8 +- tests/testthat/test-count.multiple.R | 4 +- tests/testthat/test-dimSelect.R | 2 +- tests/testthat/test-dot.product.game.R | 4 +- tests/testthat/test-graph.atlas.R | 4 +- tests/testthat/test-hrg.R | 2 +- tests/testthat/test-hsbm.R | 12 +- tests/testthat/test-identical_graphs.R | 2 +- .../test-laplacian.spectral.embedding.R | 6 +- tests/testthat/test-layout.sugiyama.R | 2 +- tests/testthat/test-operators.R | 8 +- tests/testthat/test-operators4.R | 6 +- tests/testthat/test-rewire.R | 6 +- tests/testthat/test-scan.R | 10 +- tests/testthat/test-transitivity.R | 2 +- tools/deprecate-tests.R | 118 ++++++++++++++++++ 21 files changed, 163 insertions(+), 45 deletions(-) create mode 100644 tools/deprecate-tests.R diff --git a/tests/testthat/test-adjacency.spectral.embedding.R b/tests/testthat/test-adjacency.spectral.embedding.R index 04e7f333116..240f24c1181 100644 --- a/tests/testthat/test-adjacency.spectral.embedding.R +++ b/tests/testthat/test-adjacency.spectral.embedding.R @@ -266,7 +266,7 @@ test_that("Issue #51 is resolved", { pref.matrix <- diag(0.2, 2) + 0.2 block.sizes <- c(800, 800) n <- sum(block.sizes) - g <- sbm.game(n, pref.matrix, block.sizes, directed = TRUE) + g <- sample_sbm(n, pref.matrix, block.sizes, directed = TRUE) for (i in 1:25) { ase <- embed_adjacency_matrix(g, 2) diff --git a/tests/testthat/test-attributes.R b/tests/testthat/test-attributes.R index 925e4c152dd..eab32231e6b 100644 --- a/tests/testthat/test-attributes.R +++ b/tests/testthat/test-attributes.R @@ -194,7 +194,7 @@ test_that("we can set all attributes some vertices/edges", { }) test_that("cannot use vs/es from another graph", { - g <- graph.ring(10) + g <- make_ring(10) g2 <- g + 1 v <- V(g)[1:4] expect_error(g2 - v, "Cannot use a vertex sequence from another graph") diff --git a/tests/testthat/test-betweenness.R b/tests/testthat/test-betweenness.R index 23bb59472bc..9b3fc11e915 100644 --- a/tests/testthat/test-betweenness.R +++ b/tests/testthat/test-betweenness.R @@ -91,7 +91,7 @@ test_that("shortest paths are compared with tolerance when calculating betweenne 5.2605598, 6.6816853, 4.9482123, 1.8989790 ) - g <- graph.data.frame(edges, directed = FALSE) + g <- graph_from_data_frame(edges, directed = FALSE) result <- betweenness(g, weights = edges.dists) expect_that(result[1:5], equals(c("1" = 0, "2" = 44, "3" = 71, "4" = 36.5, "6" = 44))) diff --git a/tests/testthat/test-bug-154.R b/tests/testthat/test-bug-154.R index 873f4befa11..b8deee40325 100644 --- a/tests/testthat/test-bug-154.R +++ b/tests/testthat/test-bug-154.R @@ -1,6 +1,6 @@ test_that("graph.get.subisomorphisms.vf2() works even if the graph has a vertex attribute named x", { - g <- graph.full(4) + g <- make_full_graph(4) V(g)$x <- 1:4 - subs <- graph.get.subisomorphisms.vf2(g, graph.ring(4)) + subs <- graph.get.subisomorphisms.vf2(g, make_ring(4)) expect_equal(length(subs), 24) }) diff --git a/tests/testthat/test-coloring.R b/tests/testthat/test-coloring.R index da942c5920a..62570ac5f9a 100644 --- a/tests/testthat/test-coloring.R +++ b/tests/testthat/test-coloring.R @@ -24,7 +24,7 @@ test_that("simplify_and_colorize works", { expect_true(is_simple(result)) expect_that(vcount(result), equals(vcount(g))) - expect_that(get.edgelist(result), equals(matrix(c(1:4, 2:5), ncol = 2))) + expect_that(as_edgelist(result), equals(matrix(c(1:4, 2:5), ncol = 2))) expect_that(V(result)$color, equals(c(0, 0, 0, 0, 1))) expect_that(E(result)$color, equals(c(1, 4, 1, 2))) }) diff --git a/tests/testthat/test-correlated.R b/tests/testthat/test-correlated.R index 0370e877176..9b9c3670a1e 100644 --- a/tests/testthat/test-correlated.R +++ b/tests/testthat/test-correlated.R @@ -28,7 +28,7 @@ test_that("sample_correlated_gnp works when p is not given", { test_that("sample_correlated_gnp works even for non-ER graphs", { set.seed(42) - g <- grg.game(100, 0.2) + g <- sample_grg(100, 0.2) g2 <- sample_correlated_gnp(g, corr = 1) expect_that(g[], equals(g2[])) @@ -50,7 +50,7 @@ test_that("sample_correlated_gnp corner cases work", { set.seed(42) is.full <- function(g) { - g2 <- graph.full(vcount(g), directed = is.directed(g)) + g2 <- make_full_graph(vcount(g), directed = is_directed(g)) graph.isomorphic(g, g2) } @@ -77,12 +77,12 @@ test_that("permutation works for sample_correlated_gnp", { g <- erdos.renyi.game(10, .3) perm <- sample(vcount(g)) g2 <- sample_correlated_gnp(g, corr = .99999, p = .3, permutation = perm) - g <- permute.vertices(g, perm) + g <- permute(g, perm) expect_that(g[], equals(g2[])) g <- erdos.renyi.game(10, .3) perm <- sample(vcount(g)) g2 <- sample_correlated_gnp(g, corr = 1, p = .3, permutation = perm) - g <- permute.vertices(g, perm) + g <- permute(g, perm) expect_that(g[], equals(g2[])) }) diff --git a/tests/testthat/test-count.multiple.R b/tests/testthat/test-count.multiple.R index 36f4771b2bc..18d030cb70e 100644 --- a/tests/testthat/test-count.multiple.R +++ b/tests/testthat/test-count.multiple.R @@ -1,5 +1,5 @@ test_that("any_multiple(), count_multiple(), which_multiple() works", { - # g <- barabasi.game(10, m = 3, algorithm = "bag") + # g <- sample_pa(10, m = 3, algorithm = "bag") g <- graph_from_edgelist(cbind( c(2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 10), c(1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 3, 4, 3, 1, 1, 1, 3, 1, 2, 4, 1, 1, 2, 4, 1, 4, 1) @@ -33,7 +33,7 @@ test_that("any_multiple(), count_multiple(), which_multiple() works", { ) ## Remove multiple edges but keep multiplicity - # g <- barabasi.game(10, m = 3, algorithm = "bag") + # g <- sample_pa(10, m = 3, algorithm = "bag") g <- graph_from_edgelist(cbind( c(2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 10), c(1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 4, 1, 4, 1, 1, 6, 4, 1, 5, 8) diff --git a/tests/testthat/test-dimSelect.R b/tests/testthat/test-dimSelect.R index 288166c3ded..8121091f46f 100644 --- a/tests/testthat/test-dimSelect.R +++ b/tests/testthat/test-dimSelect.R @@ -2,7 +2,7 @@ test_that("dimensionality selection works", { set.seed(42) k <- make_graph("zachary") - ev <- eigen(get.adjacency(k), only.values = TRUE)$values + ev <- eigen(as_adjacency_matrix(k), only.values = TRUE)$values kdim <- dim_select(ev) expect_that(kdim, equals(4)) diff --git a/tests/testthat/test-dot.product.game.R b/tests/testthat/test-dot.product.game.R index b27886a2c7f..4b8891ed7b9 100644 --- a/tests/testthat/test-dot.product.game.R +++ b/tests/testthat/test-dot.product.game.R @@ -15,10 +15,10 @@ test_that("Dot product rng works", { vecs <- replicate(5, rep(1 / 2, 4)) g <- sample_dot_product(vecs) - expect_that(g[], is_equivalent_to(graph.full(5)[])) + expect_that(g[], is_equivalent_to(make_full_graph(5)[])) g2 <- sample_dot_product(vecs, directed = TRUE) - expect_that(g2[], is_equivalent_to(graph.full(5, directed = TRUE)[])) + expect_that(g2[], is_equivalent_to(make_full_graph(5, directed = TRUE)[])) vecs <- replicate(100, rep(sqrt(1 / 8), 4)) g <- sample_dot_product(vecs) diff --git a/tests/testthat/test-graph.atlas.R b/tests/testthat/test-graph.atlas.R index 08167827cda..b6c418857ce 100644 --- a/tests/testthat/test-graph.atlas.R +++ b/tests/testthat/test-graph.atlas.R @@ -1,9 +1,9 @@ test_that("graph.atlas works", { - g124 <- graph.atlas(124) + g124 <- graph_from_atlas(124) expect_true(graph.isomorphic(g124, make_graph(c(1, 2, 2, 3, 3, 4, 4, 5, 1, 5, 1, 3, 2, 6), directed = FALSE ))) - g234 <- graph.atlas(234) + g234 <- graph_from_atlas(234) expect_true(graph.isomorphic(g234, make_graph(c(1, 6, 2, 6, 3, 6, 4, 6, 5, 6), n = 7, directed = FALSE diff --git a/tests/testthat/test-hrg.R b/tests/testthat/test-hrg.R index 123156636bc..4bb1671c784 100644 --- a/tests/testthat/test-hrg.R +++ b/tests/testthat/test-hrg.R @@ -11,7 +11,7 @@ test_that("as.hclust.igraphHRG() works", { set.seed(42) g <- make_graph("zachary") - hrg <- hrg.fit(g) + hrg <- fit_hrg(g) expect_snapshot({ summary(as.hclust(hrg)) }) diff --git a/tests/testthat/test-hsbm.R b/tests/testthat/test-hsbm.R index 90ffe5deb5d..25ee15d62fd 100644 --- a/tests/testthat/test-hsbm.R +++ b/tests/testthat/test-hsbm.R @@ -10,28 +10,28 @@ test_that("HSBM works", { g <- sample_hierarchical_sbm(100, 10, rho = c(3, 3, 4) / 10, C = C, p = 0) expect_that(ecount(g), equals(172)) expect_that(vcount(g), equals(100)) - expect_false(is.directed(g)) + expect_false(is_directed(g)) set.seed(42) g2 <- sample_hierarchical_sbm(100, 10, rho = c(3, 3, 4) / 10, C = C, p = 1) expect_that(ecount(g2), equals(ecount(g) + 10 * 9 * (90 + 10) / 2)) expect_that(vcount(g2), equals(100)) - expect_true(is.simple(g2)) + expect_true(is_simple(g2)) set.seed(42) g3 <- sample_hierarchical_sbm(100, 10, rho = c(3, 3, 4) / 10, C = C, p = 1e-15) expect_that(ecount(g3), equals(ecount(g))) expect_that(vcount(g3), equals(100)) - expect_true(is.simple(g3)) + expect_true(is_simple(g3)) set.seed(42) g4 <- sample_hierarchical_sbm(100, 10, rho = c(3, 3, 4) / 10, C = C, p = 1 - 1e-15) expect_that(ecount(g4), equals(ecount(g2))) expect_that(vcount(g4), equals(100)) - expect_true(is.simple(g4)) + expect_true(is_simple(g4)) }) test_that("HSBM with 1 cluster per block works", { @@ -88,7 +88,7 @@ test_that("HSBM with list arguments works", { m = c(3, 10, 5, 3), rho = list(rho1, rho2, rho3, rho4), C = list(C1, C2, C3, C4), p = 1 ) - expect_true(is.simple(gg1)) + expect_true(is_simple(gg1)) set.seed(42) gg11 <- sample_hierarchical_sbm(21, @@ -109,7 +109,7 @@ test_that("HSBM with list arguments works", { m = c(3, 10, 5, 3), rho = list(rho1, rho2, rho3, rho4), C = list(C1, C2, C3, C4), p = 0 ) - expect_true(is.simple(gg2)) + expect_true(is_simple(gg2)) gg22 <- sample_hierarchical_sbm(21, m = c(3, 10, 5, 3), rho = list(rho1, rho2, rho3, rho4), diff --git a/tests/testthat/test-identical_graphs.R b/tests/testthat/test-identical_graphs.R index 481e59892db..b6f5bed6484 100644 --- a/tests/testthat/test-identical_graphs.R +++ b/tests/testthat/test-identical_graphs.R @@ -10,7 +10,7 @@ test_that("identical_graphs works", { }) test_that("identical_graphs considers attributes", { - g <- barabasi.game(10) + g <- sample_pa(10) g2 <- g expect_true(identical_graphs(g, g2)) diff --git a/tests/testthat/test-laplacian.spectral.embedding.R b/tests/testthat/test-laplacian.spectral.embedding.R index da4cc184b24..2f907298ef4 100644 --- a/tests/testthat/test-laplacian.spectral.embedding.R +++ b/tests/testthat/test-laplacian.spectral.embedding.R @@ -211,7 +211,7 @@ test_that("Undirected, weighted, D-A case works", { E(g)$weight <- sample(1:5, ecount(g), replace = TRUE) no <- 3 - A <- as(Matrix::Matrix(diag(graph.strength(g)), doDiag = FALSE), "generalMatrix") - g[] + A <- as(Matrix::Matrix(diag(strength(g)), doDiag = FALSE), "generalMatrix") - g[] ss <- eigen(A) D <- ss$values @@ -473,8 +473,8 @@ test_that("Directed, weighted case works", { E(g)$weight <- sample(1:5, ecount(g), replace = TRUE) no <- 3 - O12 <- diag(1 / sqrt(graph.strength(g, mode = "out"))) - P12 <- diag(1 / sqrt(graph.strength(g, mode = "in"))) + O12 <- diag(1 / sqrt(strength(g, mode = "out"))) + P12 <- diag(1 / sqrt(strength(g, mode = "in"))) A <- O12 %*% g[] %*% P12 ss <- svd(A) diff --git a/tests/testthat/test-layout.sugiyama.R b/tests/testthat/test-layout.sugiyama.R index 6dc3cfb8611..c5376f16835 100644 --- a/tests/testthat/test-layout.sugiyama.R +++ b/tests/testthat/test-layout.sugiyama.R @@ -1,5 +1,5 @@ test_that("layout_with_sugiyama does not demote matrices to vectors in res$layout.dummy", { ex <- graph_from_literal(A -+ B:C, B -+ C:D) - layex <- layout.sugiyama(ex, layers = NULL) + layex <- layout_with_sugiyama(ex, layers = NULL) expect_that(nrow(layex$layout.dummy), equals(1)) }) diff --git a/tests/testthat/test-operators.R b/tests/testthat/test-operators.R index 0fe34e3727b..55447c41fd8 100644 --- a/tests/testthat/test-operators.R +++ b/tests/testthat/test-operators.R @@ -55,7 +55,7 @@ test_that("Union of directed named graphs", { make_graph(~ 1:2:3:4:5, 1 -+ 2, 1 -+ 3, 2 -+ 4, 3 -+ 4, 1 -+ 5, 4 -+ 5) ) - gg <- graph.union(graphs) + gg <- union.igraph(graphs) expect_equal(vcount(gg), 5) expect_equal(ecount(gg), 10) @@ -77,17 +77,17 @@ test_that("edge reversal works", { g <- make_graph(~ 1 -+ 2, 1 -+ 3, 1 -+ 4, 2 -+ 3, 3 -+ 4) g2 <- reverse_edges(g) expect_that(vcount(g2), equals(vcount(g))) - expect_that(get.edgelist(g2), equals(get.edgelist(g)[, c(2, 1)])) + expect_that(as_edgelist(g2), equals(as_edgelist(g)[, c(2, 1)])) # graph with isolated vertices g <- make_graph(~ 1:2:3:4:5, 1 -+ 2, 1 -+ 4) g2 <- reverse_edges(g) expect_that(vcount(g2), equals(vcount(g))) - expect_that(get.edgelist(g2), equals(get.edgelist(g)[, c(2, 1)])) + expect_that(as_edgelist(g2), equals(as_edgelist(g)[, c(2, 1)])) }) test_that("t() is aliased to edge reversal for graphs", { g <- make_graph(~ 1 -+ 2, 1 -+ 3, 1 -+ 4, 2 -+ 3, 3 -+ 4) expect_that(vcount(t(g)), equals(vcount(g))) - expect_that(get.edgelist(t(g)), equals(get.edgelist(g)[, c(2, 1)])) + expect_that(as_edgelist(t(g)), equals(as_edgelist(g)[, c(2, 1)])) }) diff --git a/tests/testthat/test-operators4.R b/tests/testthat/test-operators4.R index 411ffdf1e78..a023a615dd4 100644 --- a/tests/testthat/test-operators4.R +++ b/tests/testthat/test-operators4.R @@ -65,7 +65,7 @@ test_that("union of unnamed graphs works", { E(g1)$b1 <- letters[1:10] E(g2)$b2 <- letters[11:23] - g <- graph.union(g1, g2) + g <- union.igraph(g1, g2) expect_that( sort(graph_attr_names(g)), @@ -109,7 +109,7 @@ test_that("union of named graphs works", { E(g1)$b1 <- letters[1:10] E(g2)$b2 <- letters[11:23] - g <- graph.union(g1, g2) + g <- union.igraph(g1, g2) expect_that( sort(graph_attr_names(g)), @@ -390,7 +390,7 @@ test_that("union of non-named graphs keeps attributes properly", { E(g)$weight <- sample(ecount(g)) E(g2)$weight <- sample(ecount(g2)) - gu <- graph.union(g, g2) + gu <- union.igraph(g, g2) rn <- function(D) { rownames(D) <- paste(D[, 1], D[, 2], sep = "-") diff --git a/tests/testthat/test-rewire.R b/tests/testthat/test-rewire.R index 1913fc4fdfd..d197365e4ca 100644 --- a/tests/testthat/test-rewire.R +++ b/tests/testthat/test-rewire.R @@ -1,5 +1,5 @@ test_that("rewire(each_edge(mode='in')) keeps the in-degree distribution", { - g <- barabasi.game(1000) + g <- sample_pa(1000) g2 <- g %>% rewire(each_edge(mode = "in", multiple = T, prob = 0.2)) expect_that(degree(g, mode = "in"), equals(degree(g2, mode = "in"))) @@ -7,7 +7,7 @@ test_that("rewire(each_edge(mode='in')) keeps the in-degree distribution", { }) test_that("rewire(each_edge(mode='out')) keeps the out-degree distribution", { - g <- barabasi.game(1000) + g <- sample_pa(1000) g2 <- g %>% rewire(each_edge(mode = "out", multiple = T, prob = 0.2)) expect_that(degree(g, mode = "out"), equals(degree(g2, mode = "out"))) @@ -15,7 +15,7 @@ test_that("rewire(each_edge(mode='out')) keeps the out-degree distribution", { }) test_that("rewire() with zero probability does not do anything", { - g <- barabasi.game(100) + g <- sample_pa(100) g2 <- g %>% rewire(each_edge(prob = 0)) expect_true(identical_graphs(g, g2)) }) diff --git a/tests/testthat/test-scan.R b/tests/testthat/test-scan.R index d50db2759b1..5b5e6060d3d 100644 --- a/tests/testthat/test-scan.R +++ b/tests/testthat/test-scan.R @@ -144,12 +144,12 @@ test_that("Issue 18 is really resolved", { g <- make_graph(el) - sc1 <- sapply(graph.neighborhood(g, order = 1, mode = "all"), ecount) + sc1 <- sapply(make_ego_graph(g, order = 1, mode = "all"), ecount) sc2 <- local_scan(graph.us = g, mode = "all", k = 1) expect_that(sc1, equals(sc2)) - g2 <- induced.subgraph(g, 5:8) - sc21 <- sapply(graph.neighborhood(g2, order = 1, mode = "all"), ecount) + g2 <- induced_subgraph(g, 5:8) + sc21 <- sapply(make_ego_graph(g2, order = 1, mode = "all"), ecount) sc22 <- local_scan(graph.us = g2, mode = "all", k = 1) expect_that(sc21, equals(sc22)) }) @@ -164,8 +164,8 @@ test_that("Issue 20 is resolved", { }) test_that("FUN argument works, #32", { - r1 <- local_scan(graph.ring(10), k = 1, FUN = "ecount") - r2 <- local_scan(graph.ring(10), k = 1, FUN = ecount) + r1 <- local_scan(make_ring(10), k = 1, FUN = "ecount") + r2 <- local_scan(make_ring(10), k = 1, FUN = ecount) expect_that(r1, equals(rep(2, 10))) expect_that(r2, equals(rep(2, 10))) }) diff --git a/tests/testthat/test-transitivity.R b/tests/testthat/test-transitivity.R index 7ff9dfe71b4..8334be01639 100644 --- a/tests/testthat/test-transitivity.R +++ b/tests/testthat/test-transitivity.R @@ -23,7 +23,7 @@ test_that("transitivity works", { test_that("no integer overflow", { set.seed(42) - g <- graph.star(80000, mode = "undirected") + edges(sample(2:1000), 100) + g <- make_star(80000, mode = "undirected") + edges(sample(2:1000), 100) mtr <- min(transitivity(g, type = "local"), na.rm = TRUE) expect_true(mtr > 0) }) diff --git a/tools/deprecate-tests.R b/tools/deprecate-tests.R new file mode 100644 index 00000000000..a3efad52aad --- /dev/null +++ b/tools/deprecate-tests.R @@ -0,0 +1,118 @@ +# parse script ---- +zzz_script <- withr::local_tempfile() +curl::curl_download( + url = "https://raw.githubusercontent.com/igraph/rigraph/62c80b042dc30f5f7601f7d337218460d5a9b7d9/R/zzz-deprecate.R", + destfile = zzz_script +) + +parse_script <- function(path) { + path |> + parse(keep.source = TRUE) |> + xmlparsedata::xml_parse_data(pretty = TRUE) |> + xml2::read_xml() +} + +xml <- parse_script(zzz_script) + +# extract all calls to deprecated() +deprecated_calls <- xml2::xml_find_all( + xml, + ".//SYMBOL_FUNCTION_CALL[text()='deprecated']" +) + +tibblify_call <- function(deprecated_call) { + args <- deprecated_call |> + xml2::xml_parent() |> + xml2::xml_siblings() |> + purrr::keep(~xml2::xml_name(.x) == "expr") + old <- xml2::xml_text(args[[1]]) + new <- xml2::xml_text(args[[2]]) + tibble::tibble(old = gsub('"', '', old), new = new) +} + +deprecated_df <- purrr::map_df(deprecated_calls, tibblify_call) + +# parse main scripts ---- + +test_scripts <- fs::dir_ls(here::here("R"), glob = "*.R") + +fix_test_script <- function(test_script, deprecated_df) { + + test_lines <- brio::read_lines(test_script) + + look_for_one <- function(test_lines, old_name, new_name) { + old_name <- sub("\\.", "\\\\.", old_name) + + test_lines <- gsub( + sprintf("^%s\\(", old_name), + sprintf("%s(", new_name), + test_lines, + perl = TRUE + ) + test_lines <- gsub( + sprintf(" %s\\(", old_name), + sprintf(" %s(", new_name), + test_lines, + perl = TRUE + ) + test_lines <- gsub( + sprintf("\\(%s\\(", old_name), + sprintf("(%s(", new_name), + test_lines, + perl = TRUE + ) + } + + test_lines <- purrr::reduce2( + deprecated_df$old, deprecated_df$new, + \(test_lines, old_name, new_name) look_for_one(test_lines, old_name, new_name), + .init = test_lines + ) + + brio::write_lines(test_lines, test_script) +} + +purrr::walk(test_scripts, fix_test_script, deprecated_df = deprecated_df) + + +# parse test scripts ---- + +test_scripts <- fs::dir_ls(here::here("tests", "testthat"), glob = "*.R") + +fix_test_script <- function(test_script, deprecated_df) { + + test_lines <- brio::read_lines(test_script) + + look_for_one <- function(test_lines, old_name, new_name) { + old_name <- sub("\\.", "\\\\.", old_name) + + test_lines <- gsub( + sprintf("^%s\\(", old_name), + sprintf("%s(", new_name), + test_lines, + perl = TRUE + ) + test_lines <- gsub( + sprintf(" %s\\(", old_name), + sprintf(" %s(", new_name), + test_lines, + perl = TRUE + ) + test_lines <- gsub( + sprintf("\\(%s\\(", old_name), + sprintf("(%s(", new_name), + test_lines, + perl = TRUE + ) + } + + test_lines <- purrr::reduce2( + deprecated_df$old, deprecated_df$new, + \(test_lines, old_name, new_name) look_for_one(test_lines, old_name, new_name), + .init = test_lines + ) + + brio::write_lines(test_lines, test_script) +} + +purrr::walk(test_scripts, fix_test_script, deprecated_df = deprecated_df) From a797a877936cf56d4941c1c55cd4816f694f95f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 20 Nov 2023 11:21:28 +0100 Subject: [PATCH 08/20] refactor: start deprecation script --- R/zzz-deprecate.R | 4 +- tools/deprecate-template.txt | 14 ++ tools/deprecate.R | 271 +++++++++++++++++++++++++++++++++++ 3 files changed, 287 insertions(+), 2 deletions(-) create mode 100644 tools/deprecate-template.txt create mode 100644 tools/deprecate.R diff --git a/R/zzz-deprecate.R b/R/zzz-deprecate.R index c950fc3300c..2855616994d 100644 --- a/R/zzz-deprecate.R +++ b/R/zzz-deprecate.R @@ -156,7 +156,7 @@ deprecated("edge.betweenness.community", cluster_edge_betweenness) #' @export edge.connectivity deprecated("edge.connectivity", edge_connectivity) #' @export edge.disjoint.paths -deprecated("edge.disjoint.paths", edge_disjoint_paths) +deprecated("edge.disjoint.paths", edge_connectivity) #' @export establishment.game deprecated("establishment.game", sample_traits) #' @export evcent @@ -533,7 +533,7 @@ deprecated("watts.strogatz.game", sample_smallworld) #' @export write.graph deprecated("write.graph", write_graph) #' @export graph.famous -deprecated("graph.famous", make_famous_graph) +deprecated("graph.famous", make_graph) #' @export igraph.from.graphNEL deprecated("igraph.from.graphNEL", graph_from_graphnel) #' @export igraph.to.graphNEL diff --git a/tools/deprecate-template.txt b/tools/deprecate-template.txt new file mode 100644 index 00000000000..d89192d9dec --- /dev/null +++ b/tools/deprecate-template.txt @@ -0,0 +1,14 @@ +#' {{new_title}} +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `{{old}}()` was renamed to `{{new}}()` to create a more +#' consistent API. +{{inheritParamsOrNot}} +#' @keywords internal +#' @export +{{old}} <- function({{{new_usage}}}) { # nocov start + lifecycle::deprecate_soft("1.6.0", "{{old}}()", "{{new}}()") + {{new}}({{args}}) +} # nocov end diff --git a/tools/deprecate.R b/tools/deprecate.R new file mode 100644 index 00000000000..560f0c261f1 --- /dev/null +++ b/tools/deprecate.R @@ -0,0 +1,271 @@ +# parse script ---- +zzz_script <- here::here("R", "zzz-deprecate.R") + +parse_script <- function(path) { + path |> + parse(keep.source = TRUE) |> + xmlparsedata::xml_parse_data(pretty = TRUE) |> + xml2::read_xml() +} + +xml <- parse_script(zzz_script) + +# extract all calls to deprecated() +deprecated_calls <- xml2::xml_find_all( + xml, + ".//SYMBOL_FUNCTION_CALL[text()='deprecated']" +) + +tibblify_call <- function(deprecated_call) { + args <- deprecated_call |> + xml2::xml_parent() |> + xml2::xml_siblings() |> + purrr::keep(~xml2::xml_name(.x) == "expr") + old <- xml2::xml_text(args[[1]]) + new <- xml2::xml_text(args[[2]]) + tibble::tibble(old = gsub('"', '', old), new = new) +} + +deprecated_df <- purrr::map_df(deprecated_calls, tibblify_call) + +# remove ALL the aliases ---- +# to the deprecated functions as they will +# get an actual page +clean_alias <- function(aliases, x) { + output <- gsub(sprintf(" %s ", x), " ", aliases) + output <- gsub(sprintf(" %s$", x), "", output) + + output[!grepl("@aliases", output)] <- sub( + "#' ", "#' @aliases ", + output[!grepl("@aliases", output)] + ) + + output +} + + +remove_aliases <- function(script, to_be_deprecated) { + lines <- brio::read_lines(script) + + which_aliases <- grepl("@aliases", lines) | + (grepl("@aliases", dplyr::lag(lines, 1)) & + grepl("^#' (?!\\@)", lines, perl = TRUE)) + aliases_present <- (sum(which_aliases) > 0) + + if (aliases_present) { + + aliases <- lines[which_aliases] + aliases <- purrr::reduce( + to_be_deprecated, + \(aliases, x) clean_alias(aliases, x ), + .init = aliases + ) + lines[which_aliases] <- aliases + lines <- purrr::discard( + lines, + \(x) trimws(x) == "#' @aliases" + ) + } + + brio::write_lines(lines, script) +} + +purrr::walk( + fs::dir_ls(here::here("R")) , + remove_aliases, + to_be_deprecated = deprecated_df$old, + .progress = TRUE +) + +# parse ALL the package scripts ---- +file.create("R/aaa-NOT-auto.R") + +.parse_impl_assignements <- function() { + scripts <- fs::dir_ls(here::here("R")) |> + purrr::keep(~(.x != zzz_script)) |> + purrr::map(parse_script) + + parse_script_function_call <- function(xml) { + kiddos <- xml2::xml_children(xml) + candidates <- kiddos[xml2::xml_name(kiddos) == "expr"] + candidates <- candidates[purrr::map_int(candidates, ~length(xml2::xml_children(.x))) == 3] + + purrr::map_df( + candidates, + ~ tibble::tibble( + left = xml2::xml_children(.x)[[1]] |> xml2::xml_text(), + right = xml2::xml_children(.x)[[3]] |> xml2::xml_text() + ) + ) + } + + purrr::map_df(scripts, parse_script_function_call) +} +parse_impl_assignements <- memoise::memoise(.parse_impl_assignements) + +parse_package_defs <- function() { + scripts <- fs::dir_ls(here::here("R")) |> + purrr::keep(~(.x != zzz_script)) |> + purrr::map(parse_script) + + parse_script_function_call <- function(script, script_name) { + fns <- xml2::xml_find_all(script, ".//FUNCTION[text()='function']") + is_fn_definition <- function(fn) { + siblings <- fn |> xml2::xml_parent() |> xml2::xml_siblings() + (length(siblings) == 2) && (xml2::xml_name(siblings[[2]]) == "LEFT_ASSIGN") + } + fns <- purrr::keep(fns, is_fn_definition) + + parse_function <- function(fn) { + whole_definition <- fn |> xml2::xml_parent()|> xml2::xml_parent() + line1 <- xml2::xml_attr(whole_definition, "line1") + line2 <- xml2::xml_attr(whole_definition, "line2") + name <- whole_definition |> xml2::xml_child() |> xml2::xml_text() + + if (name %in% c( + "tk_off", + "get_all_options", + "tkigraph", + ".tkigraph.clusters", + "show.communities", + "sortPopup" + )) { + return( + tibble::tibble( + line1 = line1, + line2 = line2, + name = name, + usage = "", + args = "" + ) + ) + } + + args <- xml2::xml_find_all(whole_definition, "./*/SYMBOL_FORMALS") |> xml2::xml_text() + if (length(args) > 0) { + if ("..." %in% args) { + if (length(args) == 1) { + args <- "..." + } else { + args <- toString(c(glue::glue("{args[args!='...']} = {args[args!='...']}"), "...")) + } + } else { + args <- toString(glue::glue("{args} = {args}")) + } + + usage_wrap <- xml2::xml_children(whole_definition)[[3]] |> xml2::xml_children() + # TODO use XPath not numbers? although this should work? + usage <- usage_wrap[3:(length(usage_wrap)-2)] |> xml2::xml_text() |> paste(collapse = " ") + } else { + args <- "" + usage <- "" + } + + tibble::tibble( + line1 = line1, + line2 = line2, + name = name, + usage = usage, + args = args + ) + } + script_df <- purrr::map_df(fns, parse_function) + script_df$script_name <- script_name + script_df + } + + purrr::map2_df(scripts, names(scripts), parse_script_function_call) +} + +# get docs from pkgdown ---- +get_title <- function(fn_name) { + + if (fn_name == "adjacent_triangles") { + fn_name <- "count_triangles" + } + + rd_href <- pkgdown:::get_rd_from_help("igraph", fn_name) + pkgdown:::extract_title(rd_href) +} +topics <- pkgdown::as_pkgdown()[["topics"]] + +# treat calls ---- +treat_call <- function(old, new, topics) { + + if (old %in% c("igraph.eigen.default", "igraph.arpack.default")) { + return() + } + + pkg_defs <- parse_package_defs() + template <- paste(readLines(here::here("tools", "deprecate-template.txt")), collapse = "\n") + + relevant_row <- pkg_defs[pkg_defs[["name"]] == new,] + + if (nrow(relevant_row) == 0) { + relevant_row <- pkg_defs[pkg_defs[["name"]] == sprintf("%s_impl", new),] + } + + if (nrow(relevant_row) == 0) { + assignments <- parse_impl_assignements() + actual_def <- assignments[["right"]][assignments[["left"]] == new] + relevant_row <- pkg_defs[pkg_defs[["name"]] == actual_def,] + } + + if (nrow(relevant_row) > 1) { + relevant_row <- relevant_row[!grepl("aaa-auto", relevant_row[["script_name"]]),] + } + + if (grepl("_impl$", new)) { + new <- sub("_impl$", "", new) + } + + if (!nzchar(relevant_row[["args"]])) { + inheritParamsOrNot <- "#'" + } else { + inheritParamsOrNot <- sprintf("#' @inheritParams %s", new) + } + + new_text <- whisker::whisker.render( + template, + data = list( + old = old, + new = new, + args = relevant_row[["args"]], + inheritParamsOrNot = inheritParamsOrNot, + new_usage = relevant_row[["usage"]], + new_title = stringr::str_squish(get_title(new)) + ) + ) + if (grepl("aaa\\-auto\\.R", relevant_row[["script_name"]])) { + + script_lines <- brio::read_lines("R/aaa-NOT-auto.R") + new_lines <- append( + script_lines, + values = c("", strsplit(new_text, "\n")[[1]]) + ) + brio::write_lines(new_lines, "R/aaa-NOT-auto.R") + } else { + script_lines <- brio::read_lines(relevant_row[["script_name"]]) + new_lines <- append( + script_lines, + values = c("", strsplit(new_text, "\n")[[1]]), + after = as.numeric(relevant_row[["line2"]]) + ) + brio::write_lines(new_lines, relevant_row[["script_name"]]) + } +} +purrr::walk2( + deprecated_df[["old"]], + deprecated_df[["new"]], + treat_call, + topics = topics, + .progress = TRUE +) + +# document ---- +usethis::use_lifecycle() +devtools::document() + + +# delete script ---- +fs::file_delete(zzz_script) From b74683239de7d6e96df94df1d455f774a4a04035 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 27 Nov 2023 08:27:51 +0100 Subject: [PATCH 09/20] changes from script --- NAMESPACE | 3 +- R/aaa-NOT-auto.R | 885 +++++++++++++++++++++++++ R/adjacency.R | 16 +- R/assortativity.R | 2 +- R/attributes.R | 243 ++++++- R/basic.R | 16 +- R/bipartite.R | 17 +- R/centrality.R | 137 +++- R/centralization.R | 40 +- R/cliques.R | 93 ++- R/cohesive.blocks.R | 95 ++- R/community.R | 270 +++++++- R/components.R | 48 +- R/console.R | 16 +- R/conversion.R | 128 +++- R/data_frame.R | 32 +- R/decomposition.R | 16 +- R/degseq.R | 18 +- R/demo.R | 16 +- R/fit.R | 16 +- R/flow.R | 117 +++- R/foreign.R | 49 +- R/games.R | 286 +++++++- R/glet.R | 31 +- R/hrg.R | 51 +- R/incidence.R | 16 +- R/interface.R | 80 ++- R/iterators.R | 2 +- R/layout.R | 193 +++++- R/layout_drl.R | 19 +- R/make.R | 273 +++++++- R/minimum.spanning.tree.R | 16 +- R/motifs.R | 65 +- R/operators.R | 101 ++- R/other.R | 33 +- R/par.R | 32 +- R/paths.R | 3 +- R/plot.common.R | 16 +- R/plot.shapes.R | 63 +- R/scg.R | 16 +- R/simple.R | 2 +- R/structural.properties.R | 324 ++++++++- R/structure.info.R | 16 +- R/test.R | 32 +- R/tkplot.R | 152 ++++- R/topology.R | 6 +- R/triangles.R | 2 +- R/zzz-deprecate.R | 564 ---------------- man/add.edges.Rd | 29 + man/add.vertex.shape.Rd | 37 ++ man/add.vertices.Rd | 28 + man/add_edges.Rd | 1 - man/add_vertices.Rd | 1 - man/adjacent.triangles.Rd | 23 + man/aging.ba.game.Rd | 74 +++ man/aging.barabasi.game.Rd | 74 +++ man/aging.prefatt.game.Rd | 74 +++ man/alpha.centrality.Rd | 57 ++ man/alpha_centrality.Rd | 1 - man/are.connected.Rd | 22 + man/are_adjacent.Rd | 1 - man/articulation.points.Rd | 19 + man/articulation_points.Rd | 1 - man/as_adj_list.Rd | 2 - man/as_adjacency_matrix.Rd | 1 - man/as_biadjacency_matrix.Rd | 1 - man/as_edgelist.Rd | 1 - man/as_graphnel.Rd | 1 - man/as_membership.Rd | 1 - man/assortativity.Rd | 2 - man/assortativity.degree.Rd | 26 + man/assortativity.nominal.Rd | 30 + man/asymmetric.preference.game.Rd | 35 + man/authority.score.Rd | 37 ++ man/autocurve.edges.Rd | 21 + man/automorphisms.Rd | 33 + man/average.path.length.Rd | 43 ++ man/ba.game.Rd | 73 ++ man/barabasi.game.Rd | 73 ++ man/betweenness.Rd | 1 - man/bfs.Rd | 1 - man/biconnected.components.Rd | 19 + man/biconnected_components.Rd | 1 - man/bipartite.mapping.Rd | 18 + man/bipartite.projection.Rd | 51 ++ man/bipartite.projection.size.Rd | 23 + man/bipartite.random.game.Rd | 48 ++ man/bipartite_mapping.Rd | 1 - man/bipartite_projection.Rd | 2 - man/blockGraphs.Rd | 24 + man/bonpow.Rd | 46 ++ man/callaway.traits.game.Rd | 37 ++ man/canonical.permutation.Rd | 32 + man/canonical_permutation.Rd | 1 - man/centr_betw.Rd | 1 - man/centr_betw_tmax.Rd | 1 - man/centr_clo.Rd | 1 - man/centr_clo_tmax.Rd | 1 - man/centr_degree.Rd | 1 - man/centr_degree_tmax.Rd | 1 - man/centr_eigen.Rd | 1 - man/centr_eigen_tmax.Rd | 1 - man/centralization.betweenness.Rd | 24 + man/centralization.betweenness.tmax.Rd | 25 + man/centralization.closeness.Rd | 28 + man/centralization.closeness.tmax.Rd | 29 + man/centralization.degree.Rd | 32 + man/centralization.degree.tmax.Rd | 33 + man/centralization.evcent.Rd | 36 + man/centralization.evcent.tmax.Rd | 33 + man/centralize.Rd | 1 - man/centralize.scores.Rd | 26 + man/cited.type.game.Rd | 39 ++ man/citing.cited.type.game.Rd | 39 ++ man/clique.number.Rd | 19 + man/cliques.Rd | 4 - man/cluster.distribution.Rd | 27 + man/cluster_edge_betweenness.Rd | 2 - man/cluster_fast_greedy.Rd | 2 - man/cluster_fluid_communities.Rd | 1 - man/cluster_infomap.Rd | 2 - man/cluster_label_prop.Rd | 2 - man/cluster_leading_eigen.Rd | 2 - man/cluster_leiden.Rd | 1 - man/cluster_louvain.Rd | 2 - man/cluster_optimal.Rd | 2 - man/cluster_spinglass.Rd | 2 - man/cluster_walktrap.Rd | 2 - man/clusters.Rd | 22 + man/code.length.Rd | 15 + man/cohesive.blocks.Rd | 28 + man/cohesive_blocks.Rd | 4 - man/communities.Rd | 40 +- man/compare.Rd | 1 - man/complementer.Rd | 1 - man/components.Rd | 4 - man/compose.Rd | 1 - man/connect.neighborhood.Rd | 28 + man/consensus_tree.Rd | 1 - man/console.Rd | 1 - man/contract.Rd | 1 - man/contract.vertices.Rd | 29 + man/convex.hull.Rd | 18 + man/convex_hull.Rd | 1 - man/coreness.Rd | 1 - man/count.multiple.Rd | 21 + man/count_automorphisms.Rd | 2 - man/count_motifs.Rd | 1 - man/count_triangles.Rd | 1 - man/create.communities.Rd | 38 ++ man/curve_multiple.Rd | 1 - man/cutat.Rd | 23 + man/decompose.Rd | 1 - man/decompose.graph.Rd | 37 ++ man/degree.Rd | 1 - man/degree.distribution.Rd | 24 + man/degree.sequence.game.Rd | 32 + man/delete.edges.Rd | 23 + man/delete.vertices.Rd | 20 + man/delete_edge_attr.Rd | 1 - man/delete_edges.Rd | 1 - man/delete_graph_attr.Rd | 1 - man/delete_vertex_attr.Rd | 1 - man/delete_vertices.Rd | 1 - man/dendPlot.Rd | 24 + man/dendPlot.communities.Rd | 35 + man/dendPlot.igraphHRG.Rd | 24 + man/dfs.Rd | 1 - man/diameter.Rd | 2 - man/difference.igraph.Rd | 1 - man/disjoint_union.Rd | 1 - man/distances.Rd | 5 - man/diversity.Rd | 1 - man/dominator.tree.Rd | 27 + man/dominator_tree.Rd | 1 - man/dyad.census.Rd | 18 + man/dyad_census.Rd | 1 - man/edge.betweenness.Rd | 37 ++ man/edge.betweenness.community.Rd | 65 ++ man/edge.connectivity.Rd | 32 + man/edge.disjoint.paths.Rd | 32 + man/edge_attr.Rd | 1 - man/edge_attr_names.Rd | 1 - man/edge_connectivity.Rd | 3 - man/edge_density.Rd | 1 - man/ego.Rd | 3 - man/eigen_centrality.Rd | 1 - man/establishment.game.Rd | 37 ++ man/evcent.Rd | 46 ++ man/exportPajek.Rd | 40 ++ man/farthest.nodes.Rd | 31 + man/fastgreedy.community.Rd | 41 ++ man/fit_hrg.Rd | 1 - man/fit_power_law.Rd | 1 - man/forest.fire.game.Rd | 27 + man/get.adjacency.Rd | 55 ++ man/get.adjedgelist.Rd | 31 + man/get.adjlist.Rd | 35 + man/get.all.shortest.paths.Rd | 45 ++ man/get.data.frame.Rd | 21 + man/get.diameter.Rd | 31 + man/get.edge.attribute.Rd | 24 + man/get.edgelist.Rd | 22 + man/get.graph.attribute.Rd | 21 + man/get.incidence.Rd | 38 ++ man/get.shortest.paths.Rd | 81 +++ man/get.stochastic.Rd | 28 + man/get.vertex.attribute.Rd | 24 + man/getIgraphOpt.Rd | 22 + man/graph.Rd | 61 ++ man/graph.adhesion.Rd | 26 + man/graph.adjacency.Rd | 57 ++ man/graph.adjlist.Rd | 33 + man/graph.atlas.Rd | 18 + man/graph.automorphisms.Rd | 33 + man/graph.bfs.Rd | 76 +++ man/graph.bipartite.Rd | 30 + man/graph.cohesion.Rd | 20 + man/graph.complementer.Rd | 20 + man/graph.compose.Rd | 26 + man/graph.coreness.Rd | 23 + man/graph.data.frame.Rd | 27 + man/graph.de.bruijn.Rd | 20 + man/graph.density.Rd | 23 + man/graph.dfs.Rd | 69 ++ man/graph.difference.Rd | 19 + man/graph.disjoint.union.Rd | 18 + man/graph.diversity.Rd | 24 + man/graph.edgelist.Rd | 20 + man/graph.eigen.Rd | 33 + man/graph.empty.Rd | 20 + man/graph.extended.chordal.ring.Rd | 23 + man/graph.famous.Rd | 61 ++ man/graph.formula.Rd | 24 + man/graph.full.Rd | 22 + man/graph.full.bipartite.Rd | 28 + man/graph.full.citation.Rd | 20 + man/graph.graphdb.Rd | 56 ++ man/graph.incidence.Rd | 56 ++ man/graph.intersection.Rd | 19 + man/graph.isocreate.Rd | 22 + man/graph.kautz.Rd | 20 + man/graph.knn.Rd | 45 ++ man/graph.laplacian.Rd | 35 + man/graph.lattice.Rd | 43 ++ man/graph.lcf.Rd | 22 + man/graph.maxflow.Rd | 26 + man/graph.mincut.Rd | 35 + man/graph.motifs.Rd | 25 + man/graph.motifs.est.Rd | 37 ++ man/graph.motifs.no.Rd | 24 + man/graph.neighborhood.Rd | 38 ++ man/graph.ring.Rd | 27 + man/graph.star.Rd | 26 + man/graph.strength.Rd | 38 ++ man/graph.tree.Rd | 27 + man/graph.union.Rd | 24 + man/graph_attr.Rd | 1 - man/graph_attr_names.Rd | 1 - man/graph_from_adj_list.Rd | 1 - man/graph_from_adjacency_matrix.Rd | 1 - man/graph_from_atlas.Rd | 1 - man/graph_from_biadjacency_matrix.Rd | 1 - man/graph_from_data_frame.Rd | 2 - man/graph_from_edgelist.Rd | 1 - man/graph_from_graphdb.Rd | 1 - man/graph_from_graphnel.Rd | 1 - man/graph_from_isomorphism_class.Rd | 1 - man/graph_from_lcf.Rd | 1 - man/graph_from_literal.Rd | 1 - man/graphlet_basis.Rd | 2 - man/graphlets.candidate.basis.Rd | 23 + man/graphlets.project.Rd | 36 + man/grg.game.Rd | 26 + man/groups.Rd | 1 - man/growing.random.game.Rd | 25 + man/has.multiple.Rd | 18 + man/hrg.Rd | 1 - man/hrg.consensus.Rd | 29 + man/hrg.create.Rd | 21 + man/hrg.dendrogram.Rd | 18 + man/hrg.fit.Rd | 29 + man/hrg.game.Rd | 18 + man/hrg.predict.Rd | 39 ++ man/hub.score.Rd | 32 + man/hub_score.Rd | 2 - man/igraph.console.Rd | 15 + man/igraph.from.graphNEL.Rd | 30 + man/igraph.options.Rd | 20 + man/igraph.sample.Rd | 22 + man/igraph.shape.noclip.Rd | 15 + man/igraph.shape.noplot.Rd | 15 + man/igraph.to.graphNEL.Rd | 18 + man/igraph.version.Rd | 15 + man/igraph_demo.Rd | 1 - man/igraph_options.Rd | 2 - man/igraph_test.Rd | 1 - man/igraph_version.Rd | 1 - man/igraphdemo.Rd | 19 + man/igraphtest.Rd | 15 + man/independence.number.Rd | 19 + man/independent.vertex.sets.Rd | 25 + man/induced.subgraph.Rd | 34 + man/infomap.community.Rd | 43 ++ man/interconnected.islands.game.Rd | 25 + man/intersection.igraph.Rd | 1 - man/is.bipartite.Rd | 18 + man/is.chordal.Rd | 38 ++ man/is.connected.Rd | 22 + man/is.dag.Rd | 19 + man/is.degree.sequence.Rd | 22 + man/is.directed.Rd | 18 + man/is.graphical.degree.sequence.Rd | 33 + man/is.hierarchical.Rd | 15 + man/is.igraph.Rd | 18 + man/is.loop.Rd | 21 + man/is.matching.Rd | 26 + man/is.maximal.matching.Rd | 26 + man/is.minimal.separator.Rd | 22 + man/is.multiple.Rd | 21 + man/is.mutual.Rd | 21 + man/is.named.Rd | 18 + man/is.separator.Rd | 22 + man/is.simple.Rd | 18 + man/is.weighted.Rd | 18 + man/is_chordal.Rd | 1 - man/is_dag.Rd | 1 - man/is_degseq.Rd | 1 - man/is_directed.Rd | 1 - man/is_graphical.Rd | 1 - man/is_igraph.Rd | 1 - man/is_min_separator.Rd | 1 - man/is_named.Rd | 1 - man/is_separator.Rd | 1 - man/is_weighted.Rd | 1 - man/ivs.Rd | 4 - man/k.regular.game.Rd | 26 + man/knn.Rd | 1 - man/label.propagation.community.Rd | 43 ++ man/laplacian_matrix.Rd | 1 - man/largest.cliques.Rd | 19 + man/largest.independent.vertex.sets.Rd | 19 + man/lastcit.game.Rd | 34 + man/layout.auto.Rd | 24 + man/layout.bipartite.Rd | 33 + man/layout.davidson.harel.Rd | 55 ++ man/layout.drl.Rd | 47 ++ man/layout.gem.Rd | 44 ++ man/layout.graphopt.Rd | 52 ++ man/layout.grid.Rd | 29 + man/layout.mds.Rd | 29 + man/layout.merge.Rd | 23 + man/layout.norm.Rd | 36 + man/layout.star.Rd | 24 + man/layout.sugiyama.Rd | 52 ++ man/layout_as_bipartite.Rd | 1 - man/layout_as_star.Rd | 1 - man/layout_nicely.Rd | 1 - man/layout_on_grid.Rd | 1 - man/layout_with_dh.Rd | 1 - man/layout_with_drl.Rd | 1 - man/layout_with_gem.Rd | 1 - man/layout_with_graphopt.Rd | 1 - man/layout_with_mds.Rd | 1 - man/layout_with_sugiyama.Rd | 1 - man/leading.eigenvector.community.Rd | 52 ++ man/line.graph.Rd | 18 + man/list.edge.attributes.Rd | 18 + man/list.graph.attributes.Rd | 18 + man/list.vertex.attributes.Rd | 18 + man/make_bipartite_graph.Rd | 2 - man/make_chordal_ring.Rd | 1 - man/make_clusters.Rd | 2 - man/make_de_bruijn_graph.Rd | 1 - man/make_empty_graph.Rd | 1 - man/make_full_bipartite_graph.Rd | 1 - man/make_full_citation_graph.Rd | 1 - man/make_full_graph.Rd | 1 - man/make_graph.Rd | 2 - man/make_kautz_graph.Rd | 1 - man/make_lattice.Rd | 1 - man/make_line_graph.Rd | 1 - man/make_ring.Rd | 1 - man/make_star.Rd | 1 - man/make_tree.Rd | 1 - man/matching.Rd | 3 - man/max_cardinality.Rd | 1 - man/max_flow.Rd | 1 - man/maxcohesion.Rd | 15 + man/maximal.cliques.Rd | 37 ++ man/maximal.cliques.count.Rd | 31 + man/maximal.independent.vertex.sets.Rd | 19 + man/maximum.bipartite.matching.Rd | 41 ++ man/maximum.cardinality.search.Rd | 19 + man/merge_coords.Rd | 2 - man/min_cut.Rd | 1 - man/min_separators.Rd | 1 - man/min_st_separators.Rd | 1 - man/minimal.st.separators.Rd | 19 + man/minimum.size.separators.Rd | 19 + man/minimum.spanning.tree.Rd | 32 + man/mod.matrix.Rd | 27 + man/modularity.igraph.Rd | 2 - man/motifs.Rd | 1 - man/mst.Rd | 1 - man/multilevel.community.Rd | 32 + man/neighborhood.size.Rd | 38 ++ man/no.clusters.Rd | 22 + man/norm_coords.Rd | 1 - man/optimal.community.Rd | 27 + man/page.rank.Rd | 63 ++ man/page_rank.Rd | 1 - man/path.length.hist.Rd | 21 + man/permute.Rd | 1 - man/permute.vertices.Rd | 22 + man/piecewise.layout.Rd | 23 + man/plotHierarchy.Rd | 27 + man/plot_dendrogram.communities.Rd | 2 - man/plot_dendrogram.igraphHRG.Rd | 1 - man/power.law.fit.Rd | 52 ++ man/power_centrality.Rd | 1 - man/predict_edges.Rd | 1 - man/preference.game.Rd | 44 ++ man/read.graph.Rd | 33 + man/read_graph.Rd | 1 - man/remove.edge.attribute.Rd | 20 + man/remove.graph.attribute.Rd | 20 + man/remove.vertex.attribute.Rd | 20 + man/running.mean.Rd | 21 + man/running_mean.Rd | 1 - man/sample_bipartite.Rd | 1 - man/sample_degseq.Rd | 1 - man/sample_fitness.Rd | 1 - man/sample_fitness_pl.Rd | 1 - man/sample_forestfire.Rd | 1 - man/sample_grg.Rd | 1 - man/sample_growing.Rd | 1 - man/sample_hrg.Rd | 1 - man/sample_islands.Rd | 1 - man/sample_k_regular.Rd | 1 - man/sample_last_cit.Rd | 3 - man/sample_motifs.Rd | 1 - man/sample_pa.Rd | 2 - man/sample_pa_age.Rd | 3 - man/sample_pref.Rd | 2 - man/sample_sbm.Rd | 1 - man/sample_seq.Rd | 1 - man/sample_smallworld.Rd | 1 - man/sample_traits_callaway.Rd | 2 - man/sbm.game.Rd | 31 + man/set.edge.attribute.Rd | 27 + man/set.graph.attribute.Rd | 22 + man/set.vertex.attribute.Rd | 27 + man/set_edge_attr.Rd | 1 - man/set_graph_attr.Rd | 1 - man/set_vertex_attr.Rd | 1 - man/shapes.Rd | 4 - man/shortest.paths.Rd | 56 ++ man/showtrace.Rd | 15 + man/simplify.Rd | 1 - man/spectrum.Rd | 1 - man/spinglass.community.Rd | 94 +++ man/split_join_distance.Rd | 1 - man/stCuts.Rd | 22 + man/stMincuts.Rd | 28 + man/st_cuts.Rd | 1 - man/st_min_cuts.Rd | 1 - man/static.fitness.game.Rd | 39 ++ man/static.power.law.game.Rd | 47 ++ man/stochastic_matrix.Rd | 1 - man/strength.Rd | 1 - man/subgraph.Rd | 1 - man/subgraph.centrality.Rd | 23 + man/subgraph_centrality.Rd | 1 - man/tkplot.Rd | 12 +- man/tkplot.canvas.Rd | 18 + man/tkplot.center.Rd | 18 + man/tkplot.close.Rd | 20 + man/tkplot.export.postscript.Rd | 18 + man/tkplot.fit.to.screen.Rd | 22 + man/tkplot.getcoords.Rd | 20 + man/tkplot.off.Rd | 15 + man/tkplot.reshape.Rd | 25 + man/tkplot.rotate.Rd | 22 + man/tkplot.setcoords.Rd | 21 + man/topo_sort.Rd | 1 - man/topological.sort.Rd | 24 + man/triad.census.Rd | 19 + man/triad_census.Rd | 1 - man/unfold.tree.Rd | 26 + man/unfold_tree.Rd | 1 - man/union.igraph.Rd | 1 - man/vertex.connectivity.Rd | 30 + man/vertex.disjoint.paths.Rd | 22 + man/vertex.shapes.Rd | 20 + man/vertex_attr.Rd | 1 - man/vertex_attr_names.Rd | 1 - man/vertex_connectivity.Rd | 3 - man/walktrap.community.Rd | 47 ++ man/watts.strogatz.game.Rd | 31 + man/which_multiple.Rd | 4 - man/which_mutual.Rd | 1 - man/write.graph.Rd | 34 + man/write_graph.Rd | 1 - 504 files changed, 11672 insertions(+), 1072 deletions(-) create mode 100644 R/aaa-NOT-auto.R delete mode 100644 R/zzz-deprecate.R create mode 100644 man/add.edges.Rd create mode 100644 man/add.vertex.shape.Rd create mode 100644 man/add.vertices.Rd create mode 100644 man/adjacent.triangles.Rd create mode 100644 man/aging.ba.game.Rd create mode 100644 man/aging.barabasi.game.Rd create mode 100644 man/aging.prefatt.game.Rd create mode 100644 man/alpha.centrality.Rd create mode 100644 man/are.connected.Rd create mode 100644 man/articulation.points.Rd create mode 100644 man/assortativity.degree.Rd create mode 100644 man/assortativity.nominal.Rd create mode 100644 man/asymmetric.preference.game.Rd create mode 100644 man/authority.score.Rd create mode 100644 man/autocurve.edges.Rd create mode 100644 man/automorphisms.Rd create mode 100644 man/average.path.length.Rd create mode 100644 man/ba.game.Rd create mode 100644 man/barabasi.game.Rd create mode 100644 man/biconnected.components.Rd create mode 100644 man/bipartite.mapping.Rd create mode 100644 man/bipartite.projection.Rd create mode 100644 man/bipartite.projection.size.Rd create mode 100644 man/bipartite.random.game.Rd create mode 100644 man/blockGraphs.Rd create mode 100644 man/bonpow.Rd create mode 100644 man/callaway.traits.game.Rd create mode 100644 man/canonical.permutation.Rd create mode 100644 man/centralization.betweenness.Rd create mode 100644 man/centralization.betweenness.tmax.Rd create mode 100644 man/centralization.closeness.Rd create mode 100644 man/centralization.closeness.tmax.Rd create mode 100644 man/centralization.degree.Rd create mode 100644 man/centralization.degree.tmax.Rd create mode 100644 man/centralization.evcent.Rd create mode 100644 man/centralization.evcent.tmax.Rd create mode 100644 man/centralize.scores.Rd create mode 100644 man/cited.type.game.Rd create mode 100644 man/citing.cited.type.game.Rd create mode 100644 man/clique.number.Rd create mode 100644 man/cluster.distribution.Rd create mode 100644 man/clusters.Rd create mode 100644 man/code.length.Rd create mode 100644 man/cohesive.blocks.Rd create mode 100644 man/connect.neighborhood.Rd create mode 100644 man/contract.vertices.Rd create mode 100644 man/convex.hull.Rd create mode 100644 man/count.multiple.Rd create mode 100644 man/create.communities.Rd create mode 100644 man/cutat.Rd create mode 100644 man/decompose.graph.Rd create mode 100644 man/degree.distribution.Rd create mode 100644 man/degree.sequence.game.Rd create mode 100644 man/delete.edges.Rd create mode 100644 man/delete.vertices.Rd create mode 100644 man/dendPlot.Rd create mode 100644 man/dendPlot.communities.Rd create mode 100644 man/dendPlot.igraphHRG.Rd create mode 100644 man/dominator.tree.Rd create mode 100644 man/dyad.census.Rd create mode 100644 man/edge.betweenness.Rd create mode 100644 man/edge.betweenness.community.Rd create mode 100644 man/edge.connectivity.Rd create mode 100644 man/edge.disjoint.paths.Rd create mode 100644 man/establishment.game.Rd create mode 100644 man/evcent.Rd create mode 100644 man/exportPajek.Rd create mode 100644 man/farthest.nodes.Rd create mode 100644 man/fastgreedy.community.Rd create mode 100644 man/forest.fire.game.Rd create mode 100644 man/get.adjacency.Rd create mode 100644 man/get.adjedgelist.Rd create mode 100644 man/get.adjlist.Rd create mode 100644 man/get.all.shortest.paths.Rd create mode 100644 man/get.data.frame.Rd create mode 100644 man/get.diameter.Rd create mode 100644 man/get.edge.attribute.Rd create mode 100644 man/get.edgelist.Rd create mode 100644 man/get.graph.attribute.Rd create mode 100644 man/get.incidence.Rd create mode 100644 man/get.shortest.paths.Rd create mode 100644 man/get.stochastic.Rd create mode 100644 man/get.vertex.attribute.Rd create mode 100644 man/getIgraphOpt.Rd create mode 100644 man/graph.Rd create mode 100644 man/graph.adhesion.Rd create mode 100644 man/graph.adjacency.Rd create mode 100644 man/graph.adjlist.Rd create mode 100644 man/graph.atlas.Rd create mode 100644 man/graph.automorphisms.Rd create mode 100644 man/graph.bfs.Rd create mode 100644 man/graph.bipartite.Rd create mode 100644 man/graph.cohesion.Rd create mode 100644 man/graph.complementer.Rd create mode 100644 man/graph.compose.Rd create mode 100644 man/graph.coreness.Rd create mode 100644 man/graph.data.frame.Rd create mode 100644 man/graph.de.bruijn.Rd create mode 100644 man/graph.density.Rd create mode 100644 man/graph.dfs.Rd create mode 100644 man/graph.difference.Rd create mode 100644 man/graph.disjoint.union.Rd create mode 100644 man/graph.diversity.Rd create mode 100644 man/graph.edgelist.Rd create mode 100644 man/graph.eigen.Rd create mode 100644 man/graph.empty.Rd create mode 100644 man/graph.extended.chordal.ring.Rd create mode 100644 man/graph.famous.Rd create mode 100644 man/graph.formula.Rd create mode 100644 man/graph.full.Rd create mode 100644 man/graph.full.bipartite.Rd create mode 100644 man/graph.full.citation.Rd create mode 100644 man/graph.graphdb.Rd create mode 100644 man/graph.incidence.Rd create mode 100644 man/graph.intersection.Rd create mode 100644 man/graph.isocreate.Rd create mode 100644 man/graph.kautz.Rd create mode 100644 man/graph.knn.Rd create mode 100644 man/graph.laplacian.Rd create mode 100644 man/graph.lattice.Rd create mode 100644 man/graph.lcf.Rd create mode 100644 man/graph.maxflow.Rd create mode 100644 man/graph.mincut.Rd create mode 100644 man/graph.motifs.Rd create mode 100644 man/graph.motifs.est.Rd create mode 100644 man/graph.motifs.no.Rd create mode 100644 man/graph.neighborhood.Rd create mode 100644 man/graph.ring.Rd create mode 100644 man/graph.star.Rd create mode 100644 man/graph.strength.Rd create mode 100644 man/graph.tree.Rd create mode 100644 man/graph.union.Rd create mode 100644 man/graphlets.candidate.basis.Rd create mode 100644 man/graphlets.project.Rd create mode 100644 man/grg.game.Rd create mode 100644 man/growing.random.game.Rd create mode 100644 man/has.multiple.Rd create mode 100644 man/hrg.consensus.Rd create mode 100644 man/hrg.create.Rd create mode 100644 man/hrg.dendrogram.Rd create mode 100644 man/hrg.fit.Rd create mode 100644 man/hrg.game.Rd create mode 100644 man/hrg.predict.Rd create mode 100644 man/hub.score.Rd create mode 100644 man/igraph.console.Rd create mode 100644 man/igraph.from.graphNEL.Rd create mode 100644 man/igraph.options.Rd create mode 100644 man/igraph.sample.Rd create mode 100644 man/igraph.shape.noclip.Rd create mode 100644 man/igraph.shape.noplot.Rd create mode 100644 man/igraph.to.graphNEL.Rd create mode 100644 man/igraph.version.Rd create mode 100644 man/igraphdemo.Rd create mode 100644 man/igraphtest.Rd create mode 100644 man/independence.number.Rd create mode 100644 man/independent.vertex.sets.Rd create mode 100644 man/induced.subgraph.Rd create mode 100644 man/infomap.community.Rd create mode 100644 man/interconnected.islands.game.Rd create mode 100644 man/is.bipartite.Rd create mode 100644 man/is.chordal.Rd create mode 100644 man/is.connected.Rd create mode 100644 man/is.dag.Rd create mode 100644 man/is.degree.sequence.Rd create mode 100644 man/is.directed.Rd create mode 100644 man/is.graphical.degree.sequence.Rd create mode 100644 man/is.hierarchical.Rd create mode 100644 man/is.igraph.Rd create mode 100644 man/is.loop.Rd create mode 100644 man/is.matching.Rd create mode 100644 man/is.maximal.matching.Rd create mode 100644 man/is.minimal.separator.Rd create mode 100644 man/is.multiple.Rd create mode 100644 man/is.mutual.Rd create mode 100644 man/is.named.Rd create mode 100644 man/is.separator.Rd create mode 100644 man/is.simple.Rd create mode 100644 man/is.weighted.Rd create mode 100644 man/k.regular.game.Rd create mode 100644 man/label.propagation.community.Rd create mode 100644 man/largest.cliques.Rd create mode 100644 man/largest.independent.vertex.sets.Rd create mode 100644 man/lastcit.game.Rd create mode 100644 man/layout.auto.Rd create mode 100644 man/layout.bipartite.Rd create mode 100644 man/layout.davidson.harel.Rd create mode 100644 man/layout.drl.Rd create mode 100644 man/layout.gem.Rd create mode 100644 man/layout.graphopt.Rd create mode 100644 man/layout.grid.Rd create mode 100644 man/layout.mds.Rd create mode 100644 man/layout.merge.Rd create mode 100644 man/layout.norm.Rd create mode 100644 man/layout.star.Rd create mode 100644 man/layout.sugiyama.Rd create mode 100644 man/leading.eigenvector.community.Rd create mode 100644 man/line.graph.Rd create mode 100644 man/list.edge.attributes.Rd create mode 100644 man/list.graph.attributes.Rd create mode 100644 man/list.vertex.attributes.Rd create mode 100644 man/maxcohesion.Rd create mode 100644 man/maximal.cliques.Rd create mode 100644 man/maximal.cliques.count.Rd create mode 100644 man/maximal.independent.vertex.sets.Rd create mode 100644 man/maximum.bipartite.matching.Rd create mode 100644 man/maximum.cardinality.search.Rd create mode 100644 man/minimal.st.separators.Rd create mode 100644 man/minimum.size.separators.Rd create mode 100644 man/minimum.spanning.tree.Rd create mode 100644 man/mod.matrix.Rd create mode 100644 man/multilevel.community.Rd create mode 100644 man/neighborhood.size.Rd create mode 100644 man/no.clusters.Rd create mode 100644 man/optimal.community.Rd create mode 100644 man/page.rank.Rd create mode 100644 man/path.length.hist.Rd create mode 100644 man/permute.vertices.Rd create mode 100644 man/piecewise.layout.Rd create mode 100644 man/plotHierarchy.Rd create mode 100644 man/power.law.fit.Rd create mode 100644 man/preference.game.Rd create mode 100644 man/read.graph.Rd create mode 100644 man/remove.edge.attribute.Rd create mode 100644 man/remove.graph.attribute.Rd create mode 100644 man/remove.vertex.attribute.Rd create mode 100644 man/running.mean.Rd create mode 100644 man/sbm.game.Rd create mode 100644 man/set.edge.attribute.Rd create mode 100644 man/set.graph.attribute.Rd create mode 100644 man/set.vertex.attribute.Rd create mode 100644 man/shortest.paths.Rd create mode 100644 man/showtrace.Rd create mode 100644 man/spinglass.community.Rd create mode 100644 man/stCuts.Rd create mode 100644 man/stMincuts.Rd create mode 100644 man/static.fitness.game.Rd create mode 100644 man/static.power.law.game.Rd create mode 100644 man/subgraph.centrality.Rd create mode 100644 man/tkplot.canvas.Rd create mode 100644 man/tkplot.center.Rd create mode 100644 man/tkplot.close.Rd create mode 100644 man/tkplot.export.postscript.Rd create mode 100644 man/tkplot.fit.to.screen.Rd create mode 100644 man/tkplot.getcoords.Rd create mode 100644 man/tkplot.off.Rd create mode 100644 man/tkplot.reshape.Rd create mode 100644 man/tkplot.rotate.Rd create mode 100644 man/tkplot.setcoords.Rd create mode 100644 man/topological.sort.Rd create mode 100644 man/triad.census.Rd create mode 100644 man/unfold.tree.Rd create mode 100644 man/vertex.connectivity.Rd create mode 100644 man/vertex.disjoint.paths.Rd create mode 100644 man/vertex.shapes.Rd create mode 100644 man/walktrap.community.Rd create mode 100644 man/watts.strogatz.game.Rd create mode 100644 man/write.graph.Rd diff --git a/NAMESPACE b/NAMESPACE index 3ad0778d3fe..a7891fb17d7 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -287,6 +287,8 @@ export(delete_graph_attr) export(delete_vertex_attr) export(delete_vertices) export(dendPlot) +export(dendPlot.communities) +export(dendPlot.igraphHRG) export(dfs) export(diameter) export(difference) @@ -935,7 +937,6 @@ importFrom(utils,capture.output) importFrom(utils,edit) importFrom(utils,head) importFrom(utils,packageDescription) -importFrom(utils,packageName) importFrom(utils,read.table) importFrom(utils,setTxtProgressBar) importFrom(utils,tail) diff --git a/R/aaa-NOT-auto.R b/R/aaa-NOT-auto.R new file mode 100644 index 00000000000..0c5c7d3d969 --- /dev/null +++ b/R/aaa-NOT-auto.R @@ -0,0 +1,885 @@ + +#' Find triangles in graphs +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `adjacent.triangles()` was renamed to `count_triangles()` to create a more +#' consistent API. +#' @inheritParams count_triangles +#' @keywords internal +#' @export +adjacent.triangles <- function(graph , vids = V(graph)) { # nocov start + lifecycle::deprecate_soft("1.6.0", "adjacent.triangles()", "count_triangles()") + count_triangles(graph = graph, vids = vids) +} # nocov end + +#' Articulation points and bridges of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `articulation.points()` was renamed to `articulation_points()` to create a more +#' consistent API. +#' @inheritParams articulation_points +#' @keywords internal +#' @export +articulation.points <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "articulation.points()", "articulation_points()") + articulation_points(graph = graph) +} # nocov end + +#' Assortativity coefficient +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `assortativity.degree()` was renamed to `assortativity_degree()` to create a more +#' consistent API. +#' @inheritParams assortativity_degree +#' @keywords internal +#' @export +assortativity.degree <- function(graph , directed = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "assortativity.degree()", "assortativity_degree()") + assortativity_degree(graph = graph, directed = directed) +} # nocov end + +#' Assortativity coefficient +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `assortativity.nominal()` was renamed to `assortativity_nominal()` to create a more +#' consistent API. +#' @inheritParams assortativity_nominal +#' @keywords internal +#' @export +assortativity.nominal <- function(graph , types , directed = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "assortativity.nominal()", "assortativity_nominal()") + assortativity_nominal(graph = graph, types = types, directed = directed) +} # nocov end + +#' Number of automorphisms +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `automorphisms()` was renamed to `count_automorphisms()` to create a more +#' consistent API. +#' @inheritParams count_automorphisms +#' @keywords internal +#' @export +automorphisms <- function(graph , colors , sh = c("fm","f","fs","fl","flm","fsm")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "automorphisms()", "count_automorphisms()") + count_automorphisms(graph = graph, colors = colors, sh = sh) +} # nocov end + +#' Shortest (directed or undirected) paths between vertices +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `average.path.length()` was renamed to `mean_distance()` to create a more +#' consistent API. +#' @inheritParams mean_distance +#' @keywords internal +#' @export +average.path.length <- function(graph , weights = NULL , directed = TRUE , unconnected = TRUE , details = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "average.path.length()", "mean_distance()") + mean_distance(graph = graph, weights = weights, directed = directed, unconnected = unconnected, details = details) +} # nocov end + +#' Biconnected components +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `biconnected.components()` was renamed to `biconnected_components()` to create a more +#' consistent API. +#' @inheritParams biconnected_components +#' @keywords internal +#' @export +biconnected.components <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "biconnected.components()", "biconnected_components()") + biconnected_components(graph = graph) +} # nocov end + +#' Decide whether a graph is bipartite +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `bipartite.mapping()` was renamed to `bipartite_mapping()` to create a more +#' consistent API. +#' @inheritParams bipartite_mapping +#' @keywords internal +#' @export +bipartite.mapping <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "bipartite.mapping()", "bipartite_mapping()") + bipartite_mapping(graph = graph) +} # nocov end + +#' Project a bipartite graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `bipartite.projection.size()` was renamed to `bipartite_projection_size()` to create a more +#' consistent API. +#' @inheritParams bipartite_projection_size +#' @keywords internal +#' @export +bipartite.projection.size <- function(graph , types = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "bipartite.projection.size()", "bipartite_projection_size()") + bipartite_projection_size(graph = graph, types = types) +} # nocov end + +#' Canonical permutation of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `canonical.permutation()` was renamed to `canonical_permutation()` to create a more +#' consistent API. +#' @inheritParams canonical_permutation +#' @keywords internal +#' @export +canonical.permutation <- function(graph , colors , sh = c("fm","f","fs","fl","flm","fsm")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "canonical.permutation()", "canonical_permutation()") + canonical_permutation(graph = graph, colors = colors, sh = sh) +} # nocov end + +#' Theoretical maximum for betweenness centralization +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `centralization.betweenness.tmax()` was renamed to `centr_betw_tmax()` to create a more +#' consistent API. +#' @inheritParams centr_betw_tmax +#' @keywords internal +#' @export +centralization.betweenness.tmax <- function(graph = NULL , nodes = 0 , directed = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "centralization.betweenness.tmax()", "centr_betw_tmax()") + centr_betw_tmax(graph = graph, nodes = nodes, directed = directed) +} # nocov end + +#' Centralize a graph according to the closeness of vertices +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `centralization.closeness()` was renamed to `centr_clo()` to create a more +#' consistent API. +#' @inheritParams centr_clo +#' @keywords internal +#' @export +centralization.closeness <- function(graph , mode = c("out","in","all","total") , normalized = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "centralization.closeness()", "centr_clo()") + centr_clo(graph = graph, mode = mode, normalized = normalized) +} # nocov end + +#' Theoretical maximum for closeness centralization +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `centralization.closeness.tmax()` was renamed to `centr_clo_tmax()` to create a more +#' consistent API. +#' @inheritParams centr_clo_tmax +#' @keywords internal +#' @export +centralization.closeness.tmax <- function(graph = NULL , nodes = 0 , mode = c("out","in","all","total")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "centralization.closeness.tmax()", "centr_clo_tmax()") + centr_clo_tmax(graph = graph, nodes = nodes, mode = mode) +} # nocov end + +#' Centralize a graph according to the degrees of vertices +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `centralization.degree()` was renamed to `centr_degree()` to create a more +#' consistent API. +#' @inheritParams centr_degree +#' @keywords internal +#' @export +centralization.degree <- function(graph , mode = c("all","out","in","total") , loops = TRUE , normalized = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "centralization.degree()", "centr_degree()") + centr_degree(graph = graph, mode = mode, loops = loops, normalized = normalized) +} # nocov end + +#' Centralize a graph according to the eigenvector centrality of vertices +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `centralization.evcent()` was renamed to `centr_eigen()` to create a more +#' consistent API. +#' @inheritParams centr_eigen +#' @keywords internal +#' @export +centralization.evcent <- function(graph , directed = FALSE , scale = TRUE , options = arpack_defaults() , normalized = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "centralization.evcent()", "centr_eigen()") + centr_eigen(graph = graph, directed = directed, scale = scale, options = options, normalized = normalized) +} # nocov end + +#' Theoretical maximum for betweenness centralization +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `centralization.evcent.tmax()` was renamed to `centr_eigen_tmax()` to create a more +#' consistent API. +#' @inheritParams centr_eigen_tmax +#' @keywords internal +#' @export +centralization.evcent.tmax <- function(graph = NULL , nodes = 0 , directed = FALSE , scale = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "centralization.evcent.tmax()", "centr_eigen_tmax()") + centr_eigen_tmax(graph = graph, nodes = nodes, directed = directed, scale = scale) +} # nocov end + +#' Centralization of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `centralize.scores()` was renamed to `centralize()` to create a more +#' consistent API. +#' @inheritParams centralize +#' @keywords internal +#' @export +centralize.scores <- function(scores , theoretical.max = 0 , normalized = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "centralize.scores()", "centralize()") + centralize(scores = scores, theoretical.max = theoretical.max, normalized = normalized) +} # nocov end + +#' Functions to find cliques, i.e. complete subgraphs in a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `clique.number()` was renamed to `clique_num()` to create a more +#' consistent API. +#' @inheritParams clique_num +#' @keywords internal +#' @export +clique.number <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "clique.number()", "clique_num()") + clique_num(graph = graph) +} # nocov end + +#' Contract several vertices into a single one +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `contract.vertices()` was renamed to `contract()` to create a more +#' consistent API. +#' @inheritParams contract +#' @keywords internal +#' @export +contract.vertices <- function(graph , mapping , vertex.attr.comb = igraph_opt("vertex.attr.comb")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "contract.vertices()", "contract()") + contract(graph = graph, mapping = mapping, vertex.attr.comb = vertex.attr.comb) +} # nocov end + +#' Convex hull of a set of vertices +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `convex.hull()` was renamed to `convex_hull()` to create a more +#' consistent API. +#' @inheritParams convex_hull +#' @keywords internal +#' @export +convex.hull <- function(data) { # nocov start + lifecycle::deprecate_soft("1.6.0", "convex.hull()", "convex_hull()") + convex_hull(data = data) +} # nocov end + +#' Find the multiple or loop edges in a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `count.multiple()` was renamed to `count_multiple()` to create a more +#' consistent API. +#' @inheritParams count_multiple +#' @keywords internal +#' @export +count.multiple <- function(graph , eids = E(graph)) { # nocov start + lifecycle::deprecate_soft("1.6.0", "count.multiple()", "count_multiple()") + count_multiple(graph = graph, eids = eids) +} # nocov end + +#' Forest Fire Network Model +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `forest.fire.game()` was renamed to `sample_forestfire()` to create a more +#' consistent API. +#' @inheritParams sample_forestfire +#' @keywords internal +#' @export +forest.fire.game <- function(nodes , fw.prob , bw.factor = 1 , ambs = 1 , directed = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "forest.fire.game()", "sample_forestfire()") + sample_forestfire(nodes = nodes, fw.prob = fw.prob, bw.factor = bw.factor, ambs = ambs, directed = directed) +} # nocov end + +#' Create graphs from adjacency lists +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.adjlist()` was renamed to `graph_from_adj_list()` to create a more +#' consistent API. +#' @inheritParams graph_from_adj_list +#' @keywords internal +#' @export +graph.adjlist <- function(adjlist , mode = c("out","in","all","total") , duplicate = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.adjlist()", "graph_from_adj_list()") + graph_from_adj_list(adjlist = adjlist, mode = mode, duplicate = duplicate) +} # nocov end + +#' Number of automorphisms +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.automorphisms()` was renamed to `count_automorphisms()` to create a more +#' consistent API. +#' @inheritParams count_automorphisms +#' @keywords internal +#' @export +graph.automorphisms <- function(graph , colors , sh = c("fm","f","fs","fl","flm","fsm")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.automorphisms()", "count_automorphisms()") + count_automorphisms(graph = graph, colors = colors, sh = sh) +} # nocov end + +#' Graph diversity +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.diversity()` was renamed to `diversity()` to create a more +#' consistent API. +#' @inheritParams diversity +#' @keywords internal +#' @export +graph.diversity <- function(graph , weights = NULL , vids = V(graph)) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.diversity()", "diversity()") + diversity(graph = graph, weights = weights, vids = vids) +} # nocov end + +#' Create a graph from an isomorphism class +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.isocreate()` was renamed to `graph_from_isomorphism_class()` to create a more +#' consistent API. +#' @inheritParams graph_from_isomorphism_class +#' @keywords internal +#' @export +graph.isocreate <- function(size , number , directed = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.isocreate()", "graph_from_isomorphism_class()") + graph_from_isomorphism_class(size = size, number = number, directed = directed) +} # nocov end + +#' Average nearest neighbor degree +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.knn()` was renamed to `knn()` to create a more +#' consistent API. +#' @inheritParams knn +#' @keywords internal +#' @export +graph.knn <- function(graph , vids = V(graph) , mode = c("all","out","in","total") , neighbor.degree.mode = c("all","out","in","total") , weights = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.knn()", "knn()") + knn(graph = graph, vids = vids, mode = mode, neighbor.degree.mode = neighbor.degree.mode, weights = weights) +} # nocov end + +#' Creating a graph from LCF notation +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.lcf()` was renamed to `graph_from_lcf()` to create a more +#' consistent API. +#' @inheritParams graph_from_lcf +#' @keywords internal +#' @export +graph.lcf <- function(n , shifts , repeats = 1) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.lcf()", "graph_from_lcf()") + graph_from_lcf(n = n, shifts = shifts, repeats = repeats) +} # nocov end + +#' Maximum flow in a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.maxflow()` was renamed to `max_flow()` to create a more +#' consistent API. +#' @inheritParams max_flow +#' @keywords internal +#' @export +graph.maxflow <- function(graph , source , target , capacity = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.maxflow()", "max_flow()") + max_flow(graph = graph, source = source, target = target, capacity = capacity) +} # nocov end + +#' Strength or weighted vertex degree +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.strength()` was renamed to `strength()` to create a more +#' consistent API. +#' @inheritParams strength +#' @keywords internal +#' @export +graph.strength <- function(graph , vids = V(graph) , mode = c("all","out","in","total") , loops = TRUE , weights = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.strength()", "strength()") + strength(graph = graph, vids = vids, mode = mode, loops = loops, weights = weights) +} # nocov end + +#' Find the multiple or loop edges in a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `has.multiple()` was renamed to `any_multiple()` to create a more +#' consistent API. +#' @inheritParams any_multiple +#' @keywords internal +#' @export +has.multiple <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "has.multiple()", "any_multiple()") + any_multiple(graph = graph) +} # nocov end + +#' Create a consensus tree from several hierarchical random graph models +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `hrg.consensus()` was renamed to `consensus_tree()` to create a more +#' consistent API. +#' @inheritParams consensus_tree +#' @keywords internal +#' @export +hrg.consensus <- function(graph , hrg = NULL , start = FALSE , num.samples = 10000) { # nocov start + lifecycle::deprecate_soft("1.6.0", "hrg.consensus()", "consensus_tree()") + consensus_tree(graph = graph, hrg = hrg, start = start, num.samples = num.samples) +} # nocov end + +#' Create a hierarchical random graph from an igraph graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `hrg.create()` was renamed to `hrg()` to create a more +#' consistent API. +#' @inheritParams hrg +#' @keywords internal +#' @export +hrg.create <- function(graph , prob) { # nocov start + lifecycle::deprecate_soft("1.6.0", "hrg.create()", "hrg()") + hrg(graph = graph, prob = prob) +} # nocov end + +#' Create an igraph graph from a hierarchical random graph model +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `hrg.dendrogram()` was renamed to `hrg_tree()` to create a more +#' consistent API. +#' @inheritParams hrg_tree +#' @keywords internal +#' @export +hrg.dendrogram <- function(hrg) { # nocov start + lifecycle::deprecate_soft("1.6.0", "hrg.dendrogram()", "hrg_tree()") + hrg_tree(hrg = hrg) +} # nocov end + +#' Sample from a hierarchical random graph model +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `hrg.game()` was renamed to `sample_hrg()` to create a more +#' consistent API. +#' @inheritParams sample_hrg +#' @keywords internal +#' @export +hrg.game <- function(hrg) { # nocov start + lifecycle::deprecate_soft("1.6.0", "hrg.game()", "sample_hrg()") + sample_hrg(hrg = hrg) +} # nocov end + +#' A graph with subgraphs that are each a random graph. +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `interconnected.islands.game()` was renamed to `sample_islands()` to create a more +#' consistent API. +#' @inheritParams sample_islands +#' @keywords internal +#' @export +interconnected.islands.game <- function(islands.n , islands.size , islands.pin , n.inter) { # nocov start + lifecycle::deprecate_soft("1.6.0", "interconnected.islands.game()", "sample_islands()") + sample_islands(islands.n = islands.n, islands.size = islands.size, islands.pin = islands.pin, n.inter = n.inter) +} # nocov end + +#' Connected components of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.connected()` was renamed to `is_connected()` to create a more +#' consistent API. +#' @inheritParams is_connected +#' @keywords internal +#' @export +is.connected <- function(graph , mode = c("weak","strong")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.connected()", "is_connected()") + is_connected(graph = graph, mode = mode) +} # nocov end + +#' Directed acyclic graphs +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.dag()` was renamed to `is_dag()` to create a more +#' consistent API. +#' @inheritParams is_dag +#' @keywords internal +#' @export +is.dag <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.dag()", "is_dag()") + is_dag(graph = graph) +} # nocov end + +#' Is a degree sequence graphical? +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.graphical.degree.sequence()` was renamed to `is_graphical()` to create a more +#' consistent API. +#' @inheritParams is_graphical +#' @keywords internal +#' @export +is.graphical.degree.sequence <- function(out.deg , in.deg = NULL , allowed.edge.types = c("simple","loops","multi","all")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.graphical.degree.sequence()", "is_graphical()") + is_graphical(out.deg = out.deg, in.deg = in.deg, allowed.edge.types = allowed.edge.types) +} # nocov end + +#' Find the multiple or loop edges in a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.loop()` was renamed to `which_loop()` to create a more +#' consistent API. +#' @inheritParams which_loop +#' @keywords internal +#' @export +is.loop <- function(graph , eids = E(graph)) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.loop()", "which_loop()") + which_loop(graph = graph, eids = eids) +} # nocov end + +#' Minimal vertex separators +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.minimal.separator()` was renamed to `is_min_separator()` to create a more +#' consistent API. +#' @inheritParams is_min_separator +#' @keywords internal +#' @export +is.minimal.separator <- function(graph , candidate) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.minimal.separator()", "is_min_separator()") + is_min_separator(graph = graph, candidate = candidate) +} # nocov end + +#' Find the multiple or loop edges in a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.multiple()` was renamed to `which_multiple()` to create a more +#' consistent API. +#' @inheritParams which_multiple +#' @keywords internal +#' @export +is.multiple <- function(graph , eids = E(graph)) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.multiple()", "which_multiple()") + which_multiple(graph = graph, eids = eids) +} # nocov end + +#' Find mutual edges in a directed graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.mutual()` was renamed to `which_mutual()` to create a more +#' consistent API. +#' @inheritParams which_mutual +#' @keywords internal +#' @export +is.mutual <- function(graph , eids = E(graph)) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.mutual()", "which_mutual()") + which_mutual(graph = graph, eids = eids) +} # nocov end + +#' Vertex separators +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.separator()` was renamed to `is_separator()` to create a more +#' consistent API. +#' @inheritParams is_separator +#' @keywords internal +#' @export +is.separator <- function(graph , candidate) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.separator()", "is_separator()") + is_separator(graph = graph, candidate = candidate) +} # nocov end + +#' Simple graphs +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.simple()` was renamed to `is_simple()` to create a more +#' consistent API. +#' @inheritParams is_simple +#' @keywords internal +#' @export +is.simple <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.simple()", "is_simple()") + is_simple(graph = graph) +} # nocov end + +#' Create a random regular graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `k.regular.game()` was renamed to `sample_k_regular()` to create a more +#' consistent API. +#' @inheritParams sample_k_regular +#' @keywords internal +#' @export +k.regular.game <- function(no.of.nodes , k , directed = FALSE , multiple = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "k.regular.game()", "sample_k_regular()") + sample_k_regular(no.of.nodes = no.of.nodes, k = k, directed = directed, multiple = multiple) +} # nocov end + +#' Functions to find cliques, i.e. complete subgraphs in a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `largest.cliques()` was renamed to `largest_cliques()` to create a more +#' consistent API. +#' @inheritParams largest_cliques +#' @keywords internal +#' @export +largest.cliques <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "largest.cliques()", "largest_cliques()") + largest_cliques(graph = graph) +} # nocov end + +#' Minimum size vertex separators +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `minimal.st.separators()` was renamed to `min_st_separators()` to create a more +#' consistent API. +#' @inheritParams min_st_separators +#' @keywords internal +#' @export +minimal.st.separators <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "minimal.st.separators()", "min_st_separators()") + min_st_separators(graph = graph) +} # nocov end + +#' Maximum cardinality search +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `maximum.cardinality.search()` was renamed to `max_cardinality()` to create a more +#' consistent API. +#' @inheritParams max_cardinality +#' @keywords internal +#' @export +maximum.cardinality.search <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "maximum.cardinality.search()", "max_cardinality()") + max_cardinality(graph = graph) +} # nocov end + +#' Minimum size vertex separators +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `minimum.size.separators()` was renamed to `min_separators()` to create a more +#' consistent API. +#' @inheritParams min_separators +#' @keywords internal +#' @export +minimum.size.separators <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "minimum.size.separators()", "min_separators()") + min_separators(graph = graph) +} # nocov end + +#' The Page Rank algorithm +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `page.rank()` was renamed to `page_rank()` to create a more +#' consistent API. +#' @inheritParams page_rank +#' @keywords internal +#' @export +page.rank <- function(graph , algo = c("prpack","arpack") , vids = V(graph) , directed = TRUE , damping = 0.85 , personalized = NULL , weights = NULL , options = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "page.rank()", "page_rank()") + page_rank(graph = graph, algo = algo, vids = vids, directed = directed, damping = damping, personalized = personalized, weights = weights, options = options) +} # nocov end + +#' Shortest (directed or undirected) paths between vertices +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `path.length.hist()` was renamed to `distance_table()` to create a more +#' consistent API. +#' @inheritParams distance_table +#' @keywords internal +#' @export +path.length.hist <- function(graph , directed = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "path.length.hist()", "distance_table()") + distance_table(graph = graph, directed = directed) +} # nocov end + +#' Permute the vertices of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `permute.vertices()` was renamed to `permute()` to create a more +#' consistent API. +#' @inheritParams permute +#' @keywords internal +#' @export +permute.vertices <- function(graph , permutation) { # nocov start + lifecycle::deprecate_soft("1.6.0", "permute.vertices()", "permute()") + permute(graph = graph, permutation = permutation) +} # nocov end + +#' Sample stochastic block model +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `sbm.game()` was renamed to `sample_sbm()` to create a more +#' consistent API. +#' @inheritParams sample_sbm +#' @keywords internal +#' @export +sbm.game <- function(n , pref.matrix , block.sizes , directed = FALSE , loops = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "sbm.game()", "sample_sbm()") + sample_sbm(n = n, pref.matrix = pref.matrix, block.sizes = block.sizes, directed = directed, loops = loops) +} # nocov end + +#' List all (s,t)-cuts of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `stCuts()` was renamed to `st_cuts()` to create a more +#' consistent API. +#' @inheritParams st_cuts +#' @keywords internal +#' @export +stCuts <- function(graph , source , target) { # nocov start + lifecycle::deprecate_soft("1.6.0", "stCuts()", "st_cuts()") + st_cuts(graph = graph, source = source, target = target) +} # nocov end + +#' List all minimum \((s,t)\)-cuts of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `stMincuts()` was renamed to `st_min_cuts()` to create a more +#' consistent API. +#' @inheritParams st_min_cuts +#' @keywords internal +#' @export +stMincuts <- function(graph , source , target , capacity = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "stMincuts()", "st_min_cuts()") + st_min_cuts(graph = graph, source = source, target = target, capacity = capacity) +} # nocov end + +#' Random graphs from vertex fitness scores +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `static.fitness.game()` was renamed to `sample_fitness()` to create a more +#' consistent API. +#' @inheritParams sample_fitness +#' @keywords internal +#' @export +static.fitness.game <- function(no.of.edges , fitness.out , fitness.in = NULL , loops = FALSE , multiple = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "static.fitness.game()", "sample_fitness()") + sample_fitness(no.of.edges = no.of.edges, fitness.out = fitness.out, fitness.in = fitness.in, loops = loops, multiple = multiple) +} # nocov end + +#' Scale-free random graphs, from vertex fitness scores +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `static.power.law.game()` was renamed to `sample_fitness_pl()` to create a more +#' consistent API. +#' @inheritParams sample_fitness_pl +#' @keywords internal +#' @export +static.power.law.game <- function(no.of.nodes , no.of.edges , exponent.out , exponent.in = -1 , loops = FALSE , multiple = FALSE , finite.size.correction = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "static.power.law.game()", "sample_fitness_pl()") + sample_fitness_pl(no.of.nodes = no.of.nodes, no.of.edges = no.of.edges, exponent.out = exponent.out, exponent.in = exponent.in, loops = loops, multiple = multiple, finite.size.correction = finite.size.correction) +} # nocov end + +#' Triad census, subgraphs with three vertices +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `triad.census()` was renamed to `triad_census()` to create a more +#' consistent API. +#' @inheritParams triad_census +#' @keywords internal +#' @export +triad.census <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "triad.census()", "triad_census()") + triad_census(graph = graph) +} # nocov end diff --git a/R/adjacency.R b/R/adjacency.R index 13053bb9a81..422b4238242 100644 --- a/R/adjacency.R +++ b/R/adjacency.R @@ -276,7 +276,6 @@ graph.adjacency.sparse <- function(adjmatrix, mode, weighted = NULL, diag = TRUE #' undirected graph will be created, `A(i,j)+A(j,i)` gives the edge #' weights.} } #' -#' @aliases graph.adjacency #' @param adjmatrix A square adjacency matrix. From igraph version 0.5.1 this #' can be a sparse matrix created with the `Matrix` package. #' @param mode Character scalar, specifies how igraph should interpret the @@ -440,6 +439,21 @@ graph_from_adjacency_matrix <- function(adjmatrix, res } +#' Create graphs from adjacency matrices +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.adjacency()` was renamed to `graph_from_adjacency_matrix()` to create a more +#' consistent API. +#' @inheritParams graph_from_adjacency_matrix +#' @keywords internal +#' @export +graph.adjacency <- function(adjmatrix , mode = c("directed","undirected","max","min","upper","lower","plus") , weighted = NULL , diag = TRUE , add.colnames = NULL , add.rownames = NA) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.adjacency()", "graph_from_adjacency_matrix()") + graph_from_adjacency_matrix(adjmatrix = adjmatrix, mode = mode, weighted = weighted, diag = diag, add.colnames = add.colnames, add.rownames = add.rownames) +} # nocov end + is_symmetric <- function(x) { if (inherits(x, "Matrix")) { Matrix::isSymmetric(x, tol = 0, tol1 = 0) diff --git a/R/assortativity.R b/R/assortativity.R index 262e45f95a4..a5d526d407d 100644 --- a/R/assortativity.R +++ b/R/assortativity.R @@ -68,7 +68,7 @@ #' `assortativity_degree()` uses vertex degree (minus one) as vertex values #' and calls `assortativity()`. #' -#' @aliases assortativity assortativity.degree assortativity.nominal +#' @aliases assortativity #' @param graph The input graph, it can be directed or undirected. #' @param values The vertex values, these can be arbitrary numeric values. #' @inheritParams rlang::args_dots_empty diff --git a/R/attributes.R b/R/attributes.R index d05897718ea..58ed286fe5d 100644 --- a/R/attributes.R +++ b/R/attributes.R @@ -42,7 +42,7 @@ #' attributes are returned in a list. #' @return A list of graph attributes, or a single graph attribute. #' -#' @aliases get.graph.attribute graph.attributes +#' @aliases graph.attributes #' @family attributes #' #' @export @@ -59,6 +59,21 @@ graph_attr <- function(graph, name) { } } +#' Graph attributes of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `get.graph.attribute()` was renamed to `graph_attr()` to create a more +#' consistent API. +#' @inheritParams graph_attr +#' @keywords internal +#' @export +get.graph.attribute <- function(graph , name) { # nocov start + lifecycle::deprecate_soft("1.6.0", "get.graph.attribute()", "graph_attr()") + graph_attr(graph = graph, name = name) +} # nocov end + #' Set all or some graph attributes #' @@ -101,7 +116,6 @@ graph_attr <- function(graph, name) { #' @return The graph with the new graph attribute added or set. #' #' @family attributes -#' @aliases set.graph.attribute #' #' @export #' @examples @@ -115,6 +129,21 @@ set_graph_attr <- function(graph, name, value) { .Call(R_igraph_mybracket3_set, graph, igraph_t_idx_attr, igraph_attr_idx_graph, name, value) } +#' Set a graph attribute +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `set.graph.attribute()` was renamed to `set_graph_attr()` to create a more +#' consistent API. +#' @inheritParams set_graph_attr +#' @keywords internal +#' @export +set.graph.attribute <- function(graph , name , value) { # nocov start + lifecycle::deprecate_soft("1.6.0", "set.graph.attribute()", "set_graph_attr()") + set_graph_attr(graph = graph, name = name, value = value) +} # nocov end + #' @export graph.attributes <- function(graph) { ensure_igraph(graph) @@ -143,7 +172,7 @@ graph.attributes <- function(graph) { #' @return The value of the vertex attribute, or the list of #' all vertex attributes, if `name` is missing. #' -#' @aliases get.vertex.attribute vertex.attributes +#' @aliases vertex.attributes #' @family attributes #' #' @export @@ -174,6 +203,21 @@ vertex_attr <- function(graph, name, index = V(graph)) { } } +#' Query vertex attributes of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `get.vertex.attribute()` was renamed to `vertex_attr()` to create a more +#' consistent API. +#' @inheritParams vertex_attr +#' @keywords internal +#' @export +get.vertex.attribute <- function(graph , name , index = V(graph)) { # nocov start + lifecycle::deprecate_soft("1.6.0", "get.vertex.attribute()", "vertex_attr()") + vertex_attr(graph = graph, name = name, index = index) +} # nocov end + #' Set one or more vertex attributes #' #' @param graph The graph. @@ -218,7 +262,6 @@ vertex_attr <- function(graph, name, index = V(graph)) { #' If `NULL`, the input is returned unchanged. #' @return The graph, with the vertex attribute added or set. #' -#' @aliases set.vertex.attribute #' @family attributes #' #' @export @@ -235,6 +278,21 @@ set_vertex_attr <- function(graph, name, index = V(graph), value) { } } +#' Set vertex attributes +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `set.vertex.attribute()` was renamed to `set_vertex_attr()` to create a more +#' consistent API. +#' @inheritParams set_vertex_attr +#' @keywords internal +#' @export +set.vertex.attribute <- function(graph , name , index = V(graph) , value) { # nocov start + lifecycle::deprecate_soft("1.6.0", "set.vertex.attribute()", "set_vertex_attr()") + set_vertex_attr(graph = graph, name = name, index = index, value = value) +} # nocov end + i_set_vertex_attr <- function(graph, name, index = V(graph), value, check = TRUE) { ensure_igraph(graph) @@ -353,7 +411,7 @@ vertex.attributes <- function(graph, index = V(graph)) { #' @return The value of the edge attribute, or the list of all #' edge attributes if `name` is missing. #' -#' @aliases get.edge.attribute edge.attributes +#' @aliases edge.attributes #' @family attributes #' #' @export @@ -384,6 +442,21 @@ edge_attr <- function(graph, name, index = E(graph)) { } } +#' Query edge attributes of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `get.edge.attribute()` was renamed to `edge_attr()` to create a more +#' consistent API. +#' @inheritParams edge_attr +#' @keywords internal +#' @export +get.edge.attribute <- function(graph , name , index = E(graph)) { # nocov start + lifecycle::deprecate_soft("1.6.0", "get.edge.attribute()", "edge_attr()") + edge_attr(graph = graph, name = name, index = index) +} # nocov end + #' Set one or more edge attributes #' #' @param graph The graph. @@ -428,7 +501,6 @@ edge_attr <- function(graph, name, index = E(graph)) { #' If `NULL`, the input is returned unchanged. #' @return The graph, with the edge attribute added or set. #' -#' @aliases set.edge.attribute #' @family attributes #' #' @export @@ -445,6 +517,21 @@ set_edge_attr <- function(graph, name, index = E(graph), value) { } } +#' Set edge attributes +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `set.edge.attribute()` was renamed to `set_edge_attr()` to create a more +#' consistent API. +#' @inheritParams set_edge_attr +#' @keywords internal +#' @export +set.edge.attribute <- function(graph , name , index = E(graph) , value) { # nocov start + lifecycle::deprecate_soft("1.6.0", "set.edge.attribute()", "set_edge_attr()") + set_edge_attr(graph = graph, name = name, index = index, value = value) +} # nocov end + i_set_edge_attr <- function(graph, name, index = E(graph), value, check = TRUE) { ensure_igraph(graph) @@ -556,7 +643,7 @@ edge.attributes <- function(graph, index = E(graph)) { #' @param graph The graph. #' @return Character vector, the names of the graph attributes. #' -#' @aliases list.graph.attributes attributes +#' @aliases attributes #' @family attributes #' #' @export @@ -572,12 +659,26 @@ graph_attr_names <- function(graph) { res } +#' List names of graph attributes +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `list.graph.attributes()` was renamed to `graph_attr_names()` to create a more +#' consistent API. +#' @inheritParams graph_attr_names +#' @keywords internal +#' @export +list.graph.attributes <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "list.graph.attributes()", "graph_attr_names()") + graph_attr_names(graph = graph) +} # nocov end + #' List names of vertex attributes #' #' @param graph The graph. #' @return Character vector, the names of the vertex attributes. #' -#' @aliases list.vertex.attributes #' @family attributes #' #' @export @@ -598,12 +699,26 @@ vertex_attr_names <- function(graph) { res } +#' List names of vertex attributes +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `list.vertex.attributes()` was renamed to `vertex_attr_names()` to create a more +#' consistent API. +#' @inheritParams vertex_attr_names +#' @keywords internal +#' @export +list.vertex.attributes <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "list.vertex.attributes()", "vertex_attr_names()") + vertex_attr_names(graph = graph) +} # nocov end + #' List names of edge attributes #' #' @param graph The graph. #' @return Character vector, the names of the edge attributes. #' -#' @aliases list.edge.attributes #' @family attributes #' #' @export @@ -621,13 +736,27 @@ edge_attr_names <- function(graph) { res } +#' List names of edge attributes +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `list.edge.attributes()` was renamed to `edge_attr_names()` to create a more +#' consistent API. +#' @inheritParams edge_attr_names +#' @keywords internal +#' @export +list.edge.attributes <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "list.edge.attributes()", "edge_attr_names()") + edge_attr_names(graph = graph) +} # nocov end + #' Delete a graph attribute #' #' @param graph The graph. #' @param name Name of the attribute to delete. #' @return The graph, with the specified attribute removed. #' -#' @aliases remove.graph.attribute #' @family attributes #' #' @export @@ -650,13 +779,27 @@ delete_graph_attr <- function(graph, name) { .Call(R_igraph_mybracket2_set, graph, igraph_t_idx_attr, igraph_attr_idx_graph, gattr) } +#' Delete a graph attribute +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `remove.graph.attribute()` was renamed to `delete_graph_attr()` to create a more +#' consistent API. +#' @inheritParams delete_graph_attr +#' @keywords internal +#' @export +remove.graph.attribute <- function(graph , name) { # nocov start + lifecycle::deprecate_soft("1.6.0", "remove.graph.attribute()", "delete_graph_attr()") + delete_graph_attr(graph = graph, name = name) +} # nocov end + #' Delete a vertex attribute #' #' @param graph The graph #' @param name The name of the vertex attribute to delete. #' @return The graph, with the specified vertex attribute removed. #' -#' @aliases remove.vertex.attribute #' @family attributes #' #' @export @@ -680,13 +823,27 @@ delete_vertex_attr <- function(graph, name) { .Call(R_igraph_mybracket2_set, graph, igraph_t_idx_attr, igraph_attr_idx_vertex, vattr) } +#' Delete a vertex attribute +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `remove.vertex.attribute()` was renamed to `delete_vertex_attr()` to create a more +#' consistent API. +#' @inheritParams delete_vertex_attr +#' @keywords internal +#' @export +remove.vertex.attribute <- function(graph , name) { # nocov start + lifecycle::deprecate_soft("1.6.0", "remove.vertex.attribute()", "delete_vertex_attr()") + delete_vertex_attr(graph = graph, name = name) +} # nocov end + #' Delete an edge attribute #' #' @param graph The graph #' @param name The name of the edge attribute to delete. #' @return The graph, with the specified edge attribute removed. #' -#' @aliases remove.edge.attribute #' @family attributes #' #' @export @@ -710,6 +867,21 @@ delete_edge_attr <- function(graph, name) { .Call(R_igraph_mybracket2_set, graph, igraph_t_idx_attr, igraph_attr_idx_edge, eattr) } +#' Delete an edge attribute +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `remove.edge.attribute()` was renamed to `delete_edge_attr()` to create a more +#' consistent API. +#' @inheritParams delete_edge_attr +#' @keywords internal +#' @export +remove.edge.attribute <- function(graph , name) { # nocov start + lifecycle::deprecate_soft("1.6.0", "remove.edge.attribute()", "delete_edge_attr()") + delete_edge_attr(graph = graph, name = name) +} # nocov end + ############# @@ -731,7 +903,6 @@ delete_edge_attr <- function(graph, name) { #' igraph, you have to check that for yourself, when assigning the vertex #' names. #' -#' @aliases is.named #' @param graph The input graph. #' @return A logical scalar. #' @author Gabor Csardi \email{csardi.gabor@@gmail.com} @@ -751,6 +922,21 @@ is_named <- function(graph) { "name" %in% vertex_attr_names(graph) } +#' Named graphs +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.named()` was renamed to `is_named()` to create a more +#' consistent API. +#' @inheritParams is_named +#' @keywords internal +#' @export +is.named <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.named()", "is_named()") + is_named(graph = graph) +} # nocov end + #' Weighted graphs @@ -769,7 +955,6 @@ is_named <- function(graph) { #' vertices, etc. Check the manual pages of the functions working with weighted #' graphs for details. #' -#' @aliases is.weighted #' @param graph The input graph. #' @return A logical scalar. #' @author Gabor Csardi \email{csardi.gabor@@gmail.com} @@ -788,6 +973,21 @@ is_weighted <- function(graph) { "weight" %in% edge_attr_names(graph) } +#' Weighted graphs +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.weighted()` was renamed to `is_weighted()` to create a more +#' consistent API. +#' @inheritParams is_weighted +#' @keywords internal +#' @export +is.weighted <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.weighted()", "is_weighted()") + is_weighted(graph = graph) +} # nocov end + #' @rdname make_bipartite_graph #' @export is_bipartite <- function(graph) { @@ -796,6 +996,21 @@ is_bipartite <- function(graph) { "type" %in% vertex_attr_names(graph) } +#' Create a bipartite graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.bipartite()` was renamed to `is_bipartite()` to create a more +#' consistent API. +#' @inheritParams is_bipartite +#' @keywords internal +#' @export +is.bipartite <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.bipartite()", "is_bipartite()") + is_bipartite(graph = graph) +} # nocov end + ############# igraph.i.attribute.combination <- function(comb) { diff --git a/R/basic.R b/R/basic.R index de2ee6da9b0..34258c28d1a 100644 --- a/R/basic.R +++ b/R/basic.R @@ -23,7 +23,6 @@ #' Is this object an igraph graph? #' -#' @aliases is.igraph #' @param graph An R object. #' @return A logical constant, `TRUE` if argument `graph` is a graph #' object. @@ -44,6 +43,21 @@ is_igraph <- function(graph) { TRUE } +#' Is this object an igraph graph? +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.igraph()` was renamed to `is_igraph()` to create a more +#' consistent API. +#' @inheritParams is_igraph +#' @keywords internal +#' @export +is.igraph <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.igraph()", "is_igraph()") + is_igraph(graph = graph) +} # nocov end + #' @export get.edge <- function(graph, id) { .Deprecated("ends", msg = paste( diff --git a/R/bipartite.R b/R/bipartite.R index 46250da34c4..191605b6c2c 100644 --- a/R/bipartite.R +++ b/R/bipartite.R @@ -41,7 +41,6 @@ #' #' `bipartite_projection()` keeps vertex attributes. #' -#' @aliases bipartite.projection bipartite.projection.size #' @param graph The input graph. It can be directed, but edge directions are #' ignored during the computation. #' @param types An optional vertex type vector to use instead of the @@ -146,6 +145,21 @@ bipartite_projection <- function(graph, types = NULL, } } +#' Project a bipartite graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `bipartite.projection()` was renamed to `bipartite_projection()` to create a more +#' consistent API. +#' @inheritParams bipartite_projection +#' @keywords internal +#' @export +bipartite.projection <- function(graph , types = NULL , multiplicity = TRUE , probe1 = NULL , which = c("both","true","false") , remove.type = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "bipartite.projection()", "bipartite_projection()") + bipartite_projection(graph = graph, types = types, multiplicity = multiplicity, probe1 = probe1, which = which, remove.type = remove.type) +} # nocov end + #' @rdname bipartite_projection #' @export bipartite_projection_size <- bipartite_projection_size_impl @@ -170,7 +184,6 @@ bipartite_projection_size <- bipartite_projection_size_impl #' least two components, then the vertices in the separate components can be #' mapped independently. #' -#' @aliases bipartite.mapping #' @param graph The input graph. #' @return A named list with two elements: \item{res}{A logical scalar, #' `TRUE` if the can be bipartite, `FALSE` otherwise.} \item{type}{A diff --git a/R/centrality.R b/R/centrality.R index 1f2da59977b..e814866b899 100644 --- a/R/centrality.R +++ b/R/centrality.R @@ -74,8 +74,8 @@ betweenness.estimate <- estimate_betweenness #' For calculating the betweenness a similar algorithm to the one proposed by #' Brandes (see References) is used. #' -#' @aliases edge.betweenness betweenness.estimate -#' edge.betweenness.estimate edge_betweenness +#' @aliases betweenness.estimate +#' @aliases edge.betweenness.estimate #' @param graph The graph to analyze. #' @param v The vertices for which the vertex betweenness will be calculated. #' @param directed Logical, whether directed paths should be considered while @@ -174,6 +174,21 @@ edge_betweenness <- function(graph, e = E(graph), res[as.numeric(e)] } +#' Vertex and edge betweenness centrality +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `edge.betweenness()` was renamed to `edge_betweenness()` to create a more +#' consistent API. +#' @inheritParams edge_betweenness +#' @keywords internal +#' @export +edge.betweenness <- function(graph , e = E(graph) , directed = TRUE , weights = NULL , cutoff = -1) { # nocov start + lifecycle::deprecate_soft("1.6.0", "edge.betweenness()", "edge_betweenness()") + edge_betweenness(graph = graph, e = e, directed = directed, weights = weights, cutoff = cutoff) +} # nocov end + #' Deprecated version of `edge_betweenness()` #' #' @description @@ -432,7 +447,7 @@ arpack_defaults <- function() { #' additional details. #' #' @aliases arpack arpack-options arpack.unpack.complex -#' arpack_defaults +#' @aliases arpack_defaults #' @param func The function to perform the matrix-vector multiplication. ARPACK #' requires to perform these by the user. The function gets the vector \eqn{x} #' as the first argument, and it should return \eqn{Ax}, where \eqn{A} is the @@ -607,7 +622,6 @@ arpack.unpack.complex <- function(vectors, values, nev) { #' eigenvalues and eigenvectors of the adjacency matrix of the graph. This #' effectively means that the measure can only be calculated for small graphs. #' -#' @aliases subgraph.centrality #' @param graph The input graph, it should be undirected, but the #' implementation does not check this currently. #' @param diag Boolean scalar, whether to include the diagonal of the adjacency @@ -641,6 +655,21 @@ subgraph_centrality <- function(graph, diag = FALSE) { res } +#' Find subgraph centrality scores of network positions +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `subgraph.centrality()` was renamed to `subgraph_centrality()` to create a more +#' consistent API. +#' @inheritParams subgraph_centrality +#' @keywords internal +#' @export +subgraph.centrality <- function(graph , diag = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "subgraph.centrality()", "subgraph_centrality()") + subgraph_centrality(graph = graph, diag = diag) +} # nocov end + #' Eigenvalues and eigenvectors of the adjacency matrix of a graph #' @@ -667,7 +696,7 @@ subgraph_centrality <- function(graph, diag = FALSE) { #' Note that ARPACK might be unstable for graphs with multiple components, e.g. #' graphs with isolate vertices. #' -#' @aliases graph.eigen spectrum igraph.eigen.default +#' @aliases spectrum igraph.eigen.default #' @param graph The input graph, can be directed or undirected. #' @param algorithm The algorithm to use. Currently only `arpack` is #' implemented, which uses the ARPACK solver. See also [arpack()]. @@ -718,6 +747,21 @@ spectrum <- function(graph, algorithm=c("arpack", "auto", "lapack", "comp_auto", options = options) } +#' Eigenvalues and eigenvectors of the adjacency matrix of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.eigen()` was renamed to `spectrum()` to create a more +#' consistent API. +#' @inheritParams spectrum +#' @keywords internal +#' @export +graph.eigen <- function(graph , algorithm = c("arpack","auto","lapack","comp_auto","comp_lapack","comp_arpack") , which = list() , options = arpack_defaults()) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.eigen()", "spectrum()") + spectrum(graph = graph, algorithm = algorithm, which = which, options = options) +} # nocov end + eigen_defaults <- function() { list( pos = "LM", howmany = 1L, il = -1L, iu = -1L, @@ -772,7 +816,6 @@ eigen_defaults <- function() { #' From igraph version 0.5 this function uses ARPACK for the underlying #' computation, see [arpack()] for more about ARPACK in igraph. #' -#' @aliases evcent #' @param graph Graph to be analyzed. #' @param directed Logical scalar, whether to consider direction of the edges #' in directed graphs. It is ignored for undirected graphs. @@ -833,12 +876,26 @@ eigen_centrality <- function(graph, options = options) } +#' Find Eigenvector Centrality Scores of Network Positions +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `evcent()` was renamed to `eigen_centrality()` to create a more +#' consistent API. +#' @inheritParams eigen_centrality +#' @keywords internal +#' @export +evcent <- function(graph , directed = FALSE , scale = TRUE , weights = NULL , options = arpack_defaults()) { # nocov start + lifecycle::deprecate_soft("1.6.0", "evcent()", "eigen_centrality()") + eigen_centrality(graph = graph, directed = directed, scale = scale, weights = weights, options = options) +} # nocov end + #' Strength or weighted vertex degree #' #' Summing up the edge weights of the adjacent edges for each vertex. #' #' -#' @aliases graph.strength #' @param graph The input graph. #' @param vids The vertices for which the strength will be calculated. #' @param mode Character string, \dQuote{out} for out-degree, \dQuote{in} for @@ -890,7 +947,6 @@ strength <- strength_impl #' #' For vertices with degree less than two the function returns `NaN`. #' -#' @aliases graph.diversity #' @param graph The input graph. Edge directions are ignored. #' @param weights `NULL`, or the vector of edge weights to use for the #' computation. If `NULL`, then the \sQuote{weight} attibute is used. Note @@ -930,7 +986,6 @@ diversity <- diversity_impl #' For undirected matrices the adjacency matrix is symmetric and the hub #' scores are the same as authority scores. #' -#' @aliases hub.score #' @param graph The input graph. #' @param scale Logical scalar, whether to scale the result to have a maximum #' score of one. If no scaling is used then the result vector has unit length @@ -987,8 +1042,22 @@ hub_score <- function(graph, scale=TRUE, weights=NULL, options=arpack_defaults() options = options) } +#' Kleinberg's hub and authority centrality scores. +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `hub.score()` was renamed to `hub_score()` to create a more +#' consistent API. +#' @inheritParams hub_score +#' @keywords internal +#' @export +hub.score <- function(graph , scale = TRUE , weights = NULL , options = arpack_defaults()) { # nocov start + lifecycle::deprecate_soft("1.6.0", "hub.score()", "hub_score()") + hub_score(graph = graph, scale = scale, weights = weights, options = options) +} # nocov end + #' @rdname hub_score -#' @aliases authority.score #' @param options A named list, to override some ARPACK options. See #' [arpack()] for details. #' @export @@ -1009,6 +1078,21 @@ authority_score <- function(graph, scale=TRUE, weights=NULL, options=arpack_defa options = options) } +#' Kleinberg's hub and authority centrality scores. +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `authority.score()` was renamed to `authority_score()` to create a more +#' consistent API. +#' @inheritParams authority_score +#' @keywords internal +#' @export +authority.score <- function(graph , scale = TRUE , weights = NULL , options = arpack_defaults()) { # nocov start + lifecycle::deprecate_soft("1.6.0", "authority.score()", "authority_score()") + authority_score(graph = graph, scale = scale, weights = weights, options = options) +} # nocov end + #' The Page Rank algorithm #' #' Calculates the Google PageRank for the specified vertices. @@ -1030,7 +1114,6 @@ authority_score <- function(graph, scale=TRUE, weights=NULL, options=arpack_defa #' PageRank for only some of the vertices does not result in any performance #' increase at all. #' -#' @aliases page.rank #' @param graph The graph object. #' @param algo Character scalar, which implementation to use to carry out the #' calculation. The default is `"prpack"`, which uses the PRPACK library @@ -1240,7 +1323,6 @@ bonpow.sparse <- function(graph, nodes = V(graph), loops = FALSE, #' theory motivates use of this measure, you should be very careful to choose a #' decay parameter on a non-ad hoc basis. #' -#' @aliases bonpow #' @param graph the input graph. #' @param nodes vertex sequence indicating which vertices are to be included in #' the calculation. By default, all vertices are included. @@ -1320,6 +1402,21 @@ power_centrality <- function(graph, nodes = V(graph), res } +#' Find Bonacich Power Centrality Scores of Network Positions +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `bonpow()` was renamed to `power_centrality()` to create a more +#' consistent API. +#' @inheritParams power_centrality +#' @keywords internal +#' @export +bonpow <- function(graph , nodes = V(graph) , loops = FALSE , exponent = 1 , rescale = FALSE , tol = 1e-7 , sparse = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "bonpow()", "power_centrality()") + power_centrality(graph = graph, nodes = nodes, loops = loops, exponent = exponent, rescale = rescale, tol = tol, sparse = sparse) +} # nocov end + alpha.centrality.dense <- function(graph, nodes = V(graph), alpha = 1, loops = FALSE, exo = 1, weights = NULL, tol = 1e-7) { @@ -1420,7 +1517,6 @@ alpha.centrality.sparse <- function(graph, nodes = V(graph), alpha = 1, #' vertices and \eqn{\alpha}{alpha} is the relative importance of the #' endogenous versus exogenous factors. #' -#' @aliases alpha.centrality #' @param graph The input graph, can be directed or undirected. In undirected #' graphs, edges are treated as if they were reciprocal directed ones. #' @param nodes Vertex sequence, the vertices for which the alpha centrality @@ -1487,3 +1583,18 @@ alpha_centrality <- function(graph, nodes = V(graph), alpha = 1, } res } + +#' Find Bonacich alpha centrality scores of network positions +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `alpha.centrality()` was renamed to `alpha_centrality()` to create a more +#' consistent API. +#' @inheritParams alpha_centrality +#' @keywords internal +#' @export +alpha.centrality <- function(graph , nodes = V(graph) , alpha = 1 , loops = FALSE , exo = 1 , weights = NULL , tol = 1e-7 , sparse = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "alpha.centrality()", "alpha_centrality()") + alpha_centrality(graph = graph, nodes = nodes, alpha = alpha, loops = loops, exo = exo, weights = weights, tol = tol, sparse = sparse) +} # nocov end diff --git a/R/centralization.R b/R/centralization.R index 8ca23ecd854..3ffdefc59c3 100644 --- a/R/centralization.R +++ b/R/centralization.R @@ -59,7 +59,7 @@ NULL #' @return A real scalar, the centralization of the graph from which #' `scores` were derived. #' -#' @aliases centralization centralize.scores +#' @aliases centralization #' @family centralization related #' #' @export @@ -107,7 +107,6 @@ centralize <- centralization_impl #' using the same parameters. If the `normalized` argument was #' `TRUE`, then the result was divided by this number.} #' -#' @aliases centralization.degree #' @family centralization related #' #' @export @@ -136,7 +135,6 @@ centr_degree <- centralization_degree_impl #' @return Real scalar, the theoretical maximum (unnormalized) graph degree #' centrality score for graphs with given order and other parameters. #' -#' @aliases centralization.degree.tmax #' @family centralization related #' #' @export @@ -171,6 +169,21 @@ centr_degree_tmax <- function(graph = NULL, nodes = 0, mode = c("all", "out", "i res } +#' Theoretical maximum for degree centralization +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `centralization.degree.tmax()` was renamed to `centr_degree_tmax()` to create a more +#' consistent API. +#' @inheritParams centr_degree_tmax +#' @keywords internal +#' @export +centralization.degree.tmax <- function(graph = NULL , nodes = 0 , mode = c("all","out","in","total") , loops = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "centralization.degree.tmax()", "centr_degree_tmax()") + centr_degree_tmax(graph = graph, nodes = nodes, mode = mode, loops = loops) +} # nocov end + #' Centralize a graph according to the betweenness of vertices #' @@ -189,7 +202,6 @@ centr_degree_tmax <- function(graph = NULL, nodes = 0, mode = c("all", "out", "i #' using the same parameters. If the `normalized` argument was #' `TRUE`, then the result was divided by this number.} #' -#' @aliases centralization.betweenness #' @family centralization related #' #' @export @@ -215,6 +227,21 @@ centr_betw <- function(graph, directed = TRUE, normalized = TRUE) { res } +#' Centralize a graph according to the betweenness of vertices +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `centralization.betweenness()` was renamed to `centr_betw()` to create a more +#' consistent API. +#' @inheritParams centr_betw +#' @keywords internal +#' @export +centralization.betweenness <- function(graph , directed = TRUE , normalized = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "centralization.betweenness()", "centr_betw()") + centr_betw(graph = graph, directed = directed, normalized = normalized) +} # nocov end + #' Theoretical maximum for betweenness centralization #' #' See [centralize()] for a summary of graph centralization. @@ -229,7 +256,6 @@ centr_betw <- function(graph, directed = TRUE, normalized = TRUE) { #' betweenness centrality score for graphs with given order and other #' parameters. #' -#' @aliases centralization.betweenness.tmax #' @family centralization related #' #' @export @@ -259,7 +285,6 @@ centr_betw_tmax <- centralization_betweenness_tmax_impl #' using the same parameters. If the `normalized` argument was #' `TRUE`, then the result was divided by this number.} #' -#' @aliases centralization.closeness #' @family centralization related #' #' @export @@ -287,7 +312,6 @@ centr_clo <- centralization_closeness_impl #' closeness centrality score for graphs with given order and other #' parameters. #' -#' @aliases centralization.closeness.tmax #' @family centralization related #' #' @export @@ -322,7 +346,6 @@ centr_clo_tmax <- centralization_closeness_tmax_impl #' \item{theoretical_max}{The same as above, the theoretical maximum #' centralization score for a graph with the same number of vertices.} #' -#' @aliases centralization.evcent #' @family centralization related #' #' @export @@ -358,7 +381,6 @@ centr_eigen <- centralization_eigenvector_centrality_impl #' betweenness centrality score for graphs with given order and other #' parameters. #' -#' @aliases centralization.evcent.tmax #' @family centralization related #' #' @export diff --git a/R/cliques.R b/R/cliques.R index 12832db2b52..f7d748514f7 100644 --- a/R/cliques.R +++ b/R/cliques.R @@ -44,7 +44,6 @@ #' `clique_size_counts()` returns a numeric vector representing a histogram #' of clique sizes, between the given minimum and maximum clique size. #' -#' @aliases maximal.cliques maximal.cliques.count clique.number largest.cliques #' @inheritParams weighted_cliques #' @param graph The input graph, directed graphs will be considered as #' undirected ones, multiple edges and loops are ignored. @@ -154,6 +153,21 @@ max_cliques <- function(graph, min = NULL, max = NULL, subset = NULL, file = NUL } } +#' Functions to find cliques, i.e. complete subgraphs in a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `maximal.cliques()` was renamed to `max_cliques()` to create a more +#' consistent API. +#' @inheritParams max_cliques +#' @keywords internal +#' @export +maximal.cliques <- function(graph , min = NULL , max = NULL , subset = NULL , file = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "maximal.cliques()", "max_cliques()") + max_cliques(graph = graph, min = min, max = max, subset = subset, file = file) +} # nocov end + #' @rdname cliques #' @export count_max_cliques <- function(graph, min = NULL, max = NULL, @@ -181,6 +195,21 @@ count_max_cliques <- function(graph, min = NULL, max = NULL, res } +#' Functions to find cliques, i.e. complete subgraphs in a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `maximal.cliques.count()` was renamed to `count_max_cliques()` to create a more +#' consistent API. +#' @inheritParams count_max_cliques +#' @keywords internal +#' @export +maximal.cliques.count <- function(graph , min = NULL , max = NULL , subset = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "maximal.cliques.count()", "count_max_cliques()") + count_max_cliques(graph = graph, min = min, max = max, subset = subset) +} # nocov end + #' @rdname cliques #' @export clique_num <- clique_number_impl @@ -268,8 +297,6 @@ weighted_clique_num <- weighted_clique_number_impl #' These functions use the algorithm described by Tsukiyama et al., see #' reference below. #' -#' @aliases independent.vertex.sets largest.independent.vertex.sets -#' maximal.independent.vertex.sets independence.number #' @param graph The input graph, directed graphs are considered as undirected, #' loop edges and multiple edges are ignored. #' @param min Numeric constant, limit for the minimum size of the independent @@ -331,6 +358,21 @@ ivs <- function(graph, min = NULL, max = NULL) { res } +#' Independent vertex sets +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `independent.vertex.sets()` was renamed to `ivs()` to create a more +#' consistent API. +#' @inheritParams ivs +#' @keywords internal +#' @export +independent.vertex.sets <- function(graph , min = NULL , max = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "independent.vertex.sets()", "ivs()") + ivs(graph = graph, min = min, max = max) +} # nocov end + #' @rdname ivs #' @export largest_ivs <- function(graph) { @@ -347,6 +389,21 @@ largest_ivs <- function(graph) { res } +#' Independent vertex sets +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `largest.independent.vertex.sets()` was renamed to `largest_ivs()` to create a more +#' consistent API. +#' @inheritParams largest_ivs +#' @keywords internal +#' @export +largest.independent.vertex.sets <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "largest.independent.vertex.sets()", "largest_ivs()") + largest_ivs(graph = graph) +} # nocov end + #' @rdname ivs #' @export maximal_ivs <- function(graph) { @@ -363,6 +420,21 @@ maximal_ivs <- function(graph) { res } +#' Independent vertex sets +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `maximal.independent.vertex.sets()` was renamed to `maximal_ivs()` to create a more +#' consistent API. +#' @inheritParams maximal_ivs +#' @keywords internal +#' @export +maximal.independent.vertex.sets <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "maximal.independent.vertex.sets()", "maximal_ivs()") + maximal_ivs(graph = graph) +} # nocov end + #' @rdname ivs #' @export ivs_size <- function(graph) { @@ -372,6 +444,21 @@ ivs_size <- function(graph) { .Call(R_igraph_independence_number, graph) } +#' Independent vertex sets +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `independence.number()` was renamed to `ivs_size()` to create a more +#' consistent API. +#' @inheritParams ivs_size +#' @keywords internal +#' @export +independence.number <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "independence.number()", "ivs_size()") + ivs_size(graph = graph) +} # nocov end + #' @rdname cliques #' @export clique_size_counts <- function(graph, min = 0, max = 0, maximal = FALSE) { diff --git a/R/cohesive.blocks.R b/R/cohesive.blocks.R index c4296b0b94e..bba12be9146 100644 --- a/R/cohesive.blocks.R +++ b/R/cohesive.blocks.R @@ -108,8 +108,8 @@ #' The generic function [plot()] plots the graph, showing one or more #' cohesive blocks in it. #' -#' @aliases cohesive.blocks cohesiveBlocks blocks blockGraphs -#' hierarchy parent plotHierarchy export_pajek maxcohesion plot.cohesiveBlocks +#' @aliases cohesiveBlocks blocks +#' @aliases hierarchy parent export_pajek plot.cohesiveBlocks #' summary.cohesiveBlocks length.cohesiveBlocks print.cohesiveBlocks #' exportPajek #' @param graph For `cohesive_blocks()` a graph object of class @@ -264,6 +264,21 @@ cohesive_blocks <- function(graph, labels = TRUE) { res } +#' Calculate Cohesive Blocks +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `cohesive.blocks()` was renamed to `cohesive_blocks()` to create a more +#' consistent API. +#' @inheritParams cohesive_blocks +#' @keywords internal +#' @export +cohesive.blocks <- function(graph , labels = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "cohesive.blocks()", "cohesive_blocks()") + cohesive_blocks(graph = graph, labels = labels) +} # nocov end + #' @rdname cohesive_blocks #' @method length cohesiveBlocks #' @family cohesive.blocks @@ -284,12 +299,43 @@ graphs_from_cohesive_blocks <- function(blocks, graph) { lapply(blocks(blocks), induced_subgraph, graph = graph) } +#' Calculate Cohesive Blocks +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `blockGraphs()` was renamed to `graphs_from_cohesive_blocks()` to create a more +#' consistent API. +#' @inheritParams graphs_from_cohesive_blocks +#' @keywords internal +#' @export +blockGraphs <- function(blocks , graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "blockGraphs()", "graphs_from_cohesive_blocks()") + graphs_from_cohesive_blocks(blocks = blocks, graph = graph) +} # nocov end + #' @family cohesive.blocks #' @export cohesion <- function(x, ...) { UseMethod("cohesion") } +#' Vertex connectivity +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.cohesion()` was renamed to `cohesion()` to create a more +#' consistent API. +#' @param x bla +#' @param ... bla +#' @keywords internal +#' @export +graph.cohesion <- function(x , ...) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.cohesion()", "cohesion()") + cohesion(x = x, ...) +} # nocov end + #' @rdname cohesive_blocks #' @method cohesion cohesiveBlocks #' @export @@ -396,6 +442,21 @@ plot_hierarchy <- function(blocks, plot(hierarchy(blocks), layout = layout, ...) } +#' Calculate Cohesive Blocks +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `plotHierarchy()` was renamed to `plot_hierarchy()` to create a more +#' consistent API. +#' @inheritParams plot_hierarchy +#' @keywords internal +#' @export +plotHierarchy <- function(blocks , layout = layout_as_tree(hierarchy(blocks),root=1) , ...) { # nocov start + lifecycle::deprecate_soft("1.6.0", "plotHierarchy()", "plot_hierarchy()") + plot_hierarchy(blocks = blocks, layout = layout, ...) +} # nocov end + exportPajek.cohesiveblocks.pf <- function(blocks, graph, file) { closeit <- FALSE if (is.character(file)) { @@ -475,6 +536,21 @@ export_pajek <- function(blocks, graph, file, } } +#' Calculate Cohesive Blocks +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `exportPajek()` was renamed to `export_pajek()` to create a more +#' consistent API. +#' @inheritParams export_pajek +#' @keywords internal +#' @export +exportPajek <- function(blocks , graph , file , project.file = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "exportPajek()", "export_pajek()") + export_pajek(blocks = blocks, graph = graph, file = file, project.file = project.file) +} # nocov end + #' @rdname cohesive_blocks #' @export max_cohesion <- function(blocks) { @@ -490,6 +566,21 @@ max_cohesion <- function(blocks) { res } +#' Calculate Cohesive Blocks +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `maxcohesion()` was renamed to `max_cohesion()` to create a more +#' consistent API. +#' @inheritParams max_cohesion +#' @keywords internal +#' @export +maxcohesion <- function(blocks) { # nocov start + lifecycle::deprecate_soft("1.6.0", "maxcohesion()", "max_cohesion()") + max_cohesion(blocks = blocks) +} # nocov end + ######################################################### ## Various designs to print the cohesive blocks diff --git a/R/community.R b/R/community.R index 82059f69f95..7dbe7a68e32 100644 --- a/R/community.R +++ b/R/community.R @@ -118,8 +118,6 @@ #' #' @rdname communities #' @family community -#' @aliases cutat -#' is.hierarchical is_hierarchical #' print.communities plot.communities #' length.communities #' as.dendrogram.communities as.hclust.communities @@ -303,7 +301,6 @@ print.communities <- function(x, ...) { #' modularity values is calculated automatically. #' @return A `communities` object. #' -#' @aliases create.communities #' #' @family community #' @export @@ -344,6 +341,21 @@ make_clusters <- function(graph, membership = NULL, algorithm = NULL, res } +#' Creates a communities object. +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `create.communities()` was renamed to `make_clusters()` to create a more +#' consistent API. +#' @inheritParams make_clusters +#' @keywords internal +#' @export +create.communities <- function(graph , membership = NULL , algorithm = NULL , merges = NULL , modularity = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "create.communities()", "make_clusters()") + make_clusters(graph = graph, membership = membership, algorithm = algorithm, merges = merges, modularity = modularity) +} # nocov end + #' @family community #' @export modularity <- function(x, ...) { @@ -458,7 +470,6 @@ modularity.communities <- function(x, ...) { } #' @rdname modularity.igraph -#' @aliases mod.matrix #' @export modularity_matrix <- function(graph, membership, weights = NULL, resolution = 1, directed = TRUE) { # Argument checks @@ -487,6 +498,21 @@ modularity_matrix <- function(graph, membership, weights = NULL, resolution = 1, res } +#' Modularity of a community structure of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `mod.matrix()` was renamed to `modularity_matrix()` to create a more +#' consistent API. +#' @inheritParams modularity_matrix +#' @keywords internal +#' @export +mod.matrix <- function(graph , membership , weights = NULL , resolution = 1 , directed = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "mod.matrix()", "modularity_matrix()") + modularity_matrix(graph = graph, membership = membership, weights = weights, resolution = resolution, directed = directed) +} # nocov end + #' @rdname communities #' @method length communities #' @export @@ -538,12 +564,42 @@ code_len <- function(communities) { communities$codelength } +#' Functions to deal with the result of network community detection +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `code.length()` was renamed to `code_len()` to create a more +#' consistent API. +#' @inheritParams code_len +#' @keywords internal +#' @export +code.length <- function(communities) { # nocov start + lifecycle::deprecate_soft("1.6.0", "code.length()", "code_len()") + code_len(communities = communities) +} # nocov end + #' @rdname communities #' @export is_hierarchical <- function(communities) { !is.null(communities$merges) } +#' Functions to deal with the result of network community detection +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.hierarchical()` was renamed to `is_hierarchical()` to create a more +#' consistent API. +#' @inheritParams is_hierarchical +#' @keywords internal +#' @export +is.hierarchical <- function(communities) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.hierarchical()", "is_hierarchical()") + is_hierarchical(communities = communities) +} # nocov end + complete.dend <- function(comm, use.modularity) { merges <- comm$merges if (nrow(merges) < comm$vcount - 1) { @@ -757,6 +813,21 @@ cut_at <- function(communities, no, steps) { } } +#' Functions to deal with the result of network community detection +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `cutat()` was renamed to `cut_at()` to create a more +#' consistent API. +#' @inheritParams cut_at +#' @keywords internal +#' @export +cutat <- function(communities , no , steps) { # nocov start + lifecycle::deprecate_soft("1.6.0", "cutat()", "cut_at()") + cut_at(communities = communities, no = no, steps = steps) +} # nocov end + #' @rdname communities #' @export show_trace <- function(communities) { @@ -798,6 +869,21 @@ show_trace <- function(communities) { res } +#' Functions to deal with the result of network community detection +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `showtrace()` was renamed to `show_trace()` to create a more +#' consistent API. +#' @inheritParams show_trace +#' @keywords internal +#' @export +showtrace <- function(communities) { # nocov start + lifecycle::deprecate_soft("1.6.0", "showtrace()", "show_trace()") + show_trace(communities = communities) +} # nocov end + ##################################################################### community.to.membership2 <- function(merges, vcount, steps) { @@ -836,7 +922,6 @@ community.to.membership2 <- function(merges, vcount, steps) { #' must be a vertex id, and the same energy function is used to find the #' community of the the given vertex. See also the examples below. #' -#' @aliases spinglass.community #' @param graph The input graph, can be directed but the direction of the edges #' is neglected. #' @param weights The weights of the edges. It must be a positive numeric vector, @@ -984,6 +1069,21 @@ cluster_spinglass <- function(graph, weights = NULL, vertex = NULL, spins = 25, res } +#' Finding communities in graphs based on statistical meachanics +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `spinglass.community()` was renamed to `cluster_spinglass()` to create a more +#' consistent API. +#' @inheritParams cluster_spinglass +#' @keywords internal +#' @export +spinglass.community <- function(graph , weights = NULL , vertex = NULL , spins = 25 , parupdate = FALSE , start.temp = 1 , stop.temp = 0.01 , cool.fact = 0.99 , update.rule = c("config","random","simple") , gamma = 1.0 , implementation = c("orig","neg") , gamma.minus = 1.0) { # nocov start + lifecycle::deprecate_soft("1.6.0", "spinglass.community()", "cluster_spinglass()") + cluster_spinglass(graph = graph, weights = weights, vertex = vertex, spins = spins, parupdate = parupdate, start.temp = start.temp, stop.temp = stop.temp, cool.fact = cool.fact, update.rule = update.rule, gamma = gamma, implementation = implementation, gamma.minus = gamma.minus) +} # nocov end + #' Finding community structure of a graph using the Leiden algorithm of Traag, #' van Eck & Waltman. #' @@ -1235,7 +1335,6 @@ cluster_fluid_communities <- function(graph, no.of.communities) { #' algorithm, see Pascal Pons, Matthieu Latapy: Computing communities in large #' networks using random walks, https://arxiv.org/abs/physics/0512106 #' -#' @aliases walktrap.community #' @param graph The input graph, edge directions are ignored in directed #' graphs. #' @param weights The weights of the edges. It must be a positive numeric vector, @@ -1317,6 +1416,21 @@ cluster_walktrap <- function(graph, weights = NULL, steps = 4, res } +#' Community structure via short random walks +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `walktrap.community()` was renamed to `cluster_walktrap()` to create a more +#' consistent API. +#' @inheritParams cluster_walktrap +#' @keywords internal +#' @export +walktrap.community <- function(graph , weights = NULL , steps = 4 , merges = TRUE , modularity = TRUE , membership = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "walktrap.community()", "cluster_walktrap()") + cluster_walktrap(graph = graph, weights = weights, steps = steps, merges = merges, modularity = modularity, membership = membership) +} # nocov end + #' Community structure detection based on edge betweenness @@ -1342,7 +1456,6 @@ cluster_walktrap <- function(graph, weights = NULL, steps = 4, #' `edge.betweeness.community` returns various information collected #' through the run of the algorithm. See the return value down here. #' -#' @aliases edge.betweenness.community #' @param graph The graph to analyze. #' @param weights The weights of the edges. It must be a positive numeric vector, #' `NULL` or `NA`. If it is `NULL` and the input graph has a @@ -1440,6 +1553,21 @@ cluster_edge_betweenness <- function(graph, weights = NULL, res } +#' Community structure detection based on edge betweenness +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `edge.betweenness.community()` was renamed to `cluster_edge_betweenness()` to create a more +#' consistent API. +#' @inheritParams cluster_edge_betweenness +#' @keywords internal +#' @export +edge.betweenness.community <- function(graph , weights = NULL , directed = TRUE , edge.betweenness = TRUE , merges = TRUE , bridges = TRUE , modularity = TRUE , membership = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "edge.betweenness.community()", "cluster_edge_betweenness()") + cluster_edge_betweenness(graph = graph, weights = weights, directed = directed, edge.betweenness = edge.betweenness, merges = merges, bridges = bridges, modularity = modularity, membership = membership) +} # nocov end + #' Community structure via greedy optimization of modularity #' #' This function tries to find dense subgraph, also called communities in @@ -1450,7 +1578,6 @@ cluster_edge_betweenness <- function(graph, weights = NULL, #' community structure in very large networks, #' http://www.arxiv.org/abs/cond-mat/0408187 for the details. #' -#' @aliases fastgreedy.community #' @param graph The input graph #' @param merges Logical scalar, whether to return the merge matrix. #' @param modularity Logical scalar, whether to return a vector containing the @@ -1518,6 +1645,21 @@ cluster_fast_greedy <- function(graph, merges = TRUE, modularity = TRUE, res } +#' Community structure via greedy optimization of modularity +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `fastgreedy.community()` was renamed to `cluster_fast_greedy()` to create a more +#' consistent API. +#' @inheritParams cluster_fast_greedy +#' @keywords internal +#' @export +fastgreedy.community <- function(graph , merges = TRUE , modularity = TRUE , membership = TRUE , weights = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "fastgreedy.community()", "cluster_fast_greedy()") + cluster_fast_greedy(graph = graph, merges = merges, modularity = modularity, membership = membership, weights = weights) +} # nocov end + igraph.i.levc.arp <- function(externalP, externalE) { f <- function(v) { v <- as.numeric(v) @@ -1554,7 +1696,6 @@ igraph.i.levc.arp <- function(externalP, externalE) { #' Newman's paper to understand why this is a good method for detecting #' community structure. #' -#' @aliases leading.eigenvector.community #' @param graph The input graph. Should be undirected as the method needs a #' symmetric matrix. #' @param steps The number of steps to take, this is actually the number of @@ -1672,6 +1813,21 @@ cluster_leading_eigen <- function(graph, steps = -1, weights = NULL, res } +#' Community structure detecting based on the leading eigenvector of the community matrix +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `leading.eigenvector.community()` was renamed to `cluster_leading_eigen()` to create a more +#' consistent API. +#' @inheritParams cluster_leading_eigen +#' @keywords internal +#' @export +leading.eigenvector.community <- function(graph , steps = -1 , weights = NULL , start = NULL , options = arpack_defaults() , callback = NULL , extra = NULL , env = parent.frame()) { # nocov start + lifecycle::deprecate_soft("1.6.0", "leading.eigenvector.community()", "cluster_leading_eigen()") + cluster_leading_eigen(graph = graph, steps = steps, weights = weights, start = start, options = options, callback = callback, extra = extra, env = env) +} # nocov end + #' Finding communities based on propagating labels #' #' This is a fast, nearly linear time algorithm for detecting community @@ -1691,7 +1847,6 @@ cluster_leading_eigen <- function(graph, steps = -1, weights = NULL, #' connected groups of nodes form a consensus on a unique label to form #' communities.} #' -#' @aliases label.propagation.community #' @param graph The input graph, should be undirected to make sense. #' @param weights The weights of the edges. It must be a positive numeric vector, #' `NULL` or `NA`. If it is `NULL` and the input graph has a @@ -1759,6 +1914,21 @@ cluster_label_prop <- function( cluster_label_prop0(graph, weights, initial, fixed) } +#' Finding communities based on propagating labels +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `label.propagation.community()` was renamed to `cluster_label_prop()` to create a more +#' consistent API. +#' @inheritParams cluster_label_prop +#' @keywords internal +#' @export +label.propagation.community <- function(graph , weights = NULL , ... , initial = NULL , fixed = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "label.propagation.community()", "cluster_label_prop()") + cluster_label_prop(graph = graph, weights = weights, initial = initial, fixed = fixed, ...) +} # nocov end + cluster_label_prop0 <- function( graph, weights = NULL, @@ -1816,7 +1986,6 @@ cluster_label_prop0 <- function( #' #' This function was contributed by Tom Gregorovic. #' -#' @aliases multilevel.community #' @param graph The input graph. #' @param weights The weights of the edges. It must be a positive numeric vector, #' `NULL` or `NA`. If it is `NULL` and the input graph has a @@ -1884,6 +2053,21 @@ cluster_louvain <- function(graph, weights = NULL, resolution = 1) { res } +#' Finding community structure by multi-level optimization of modularity +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `multilevel.community()` was renamed to `cluster_louvain()` to create a more +#' consistent API. +#' @inheritParams cluster_louvain +#' @keywords internal +#' @export +multilevel.community <- function(graph , weights = NULL , resolution = 1) { # nocov start + lifecycle::deprecate_soft("1.6.0", "multilevel.community()", "cluster_louvain()") + cluster_louvain(graph = graph, weights = weights, resolution = resolution) +} # nocov end + #' Optimal community structure @@ -1925,7 +2109,6 @@ cluster_louvain <- function(graph, weights = NULL, resolution = 1) { #' print(modularity(fc)) #' } #' -#' @aliases optimal.community #' @param graph The input graph. Edge directions are ignored for directed #' graphs. #' @param weights The weights of the edges. It must be a positive numeric vector, @@ -1974,6 +2157,21 @@ cluster_optimal <- function(graph, weights = NULL) { res } +#' Optimal community structure +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `optimal.community()` was renamed to `cluster_optimal()` to create a more +#' consistent API. +#' @inheritParams cluster_optimal +#' @keywords internal +#' @export +optimal.community <- function(graph , weights = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "optimal.community()", "cluster_optimal()") + cluster_optimal(graph = graph, weights = weights) +} # nocov end + #' Infomap community finding @@ -1983,7 +2181,6 @@ cluster_optimal <- function(graph, weights = NULL) { #' #' Please see the details of this method in the references given below. #' -#' @aliases infomap.community #' @param graph The input graph. #' @param e.weights If not `NULL`, then a numeric vector of edge weights. #' The length must match the number of edges in the graph. By default the @@ -2068,6 +2265,21 @@ cluster_infomap <- function(graph, e.weights = NULL, v.weights = NULL, res } +#' Infomap community finding +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `infomap.community()` was renamed to `cluster_infomap()` to create a more +#' consistent API. +#' @inheritParams cluster_infomap +#' @keywords internal +#' @export +infomap.community <- function(graph , e.weights = NULL , v.weights = NULL , nb.trials = 10 , modularity = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "infomap.community()", "cluster_infomap()") + cluster_infomap(graph = graph, e.weights = e.weights, v.weights = v.weights, nb.trials = nb.trials, modularity = modularity) +} # nocov end + #' @rdname communities #' @method plot communities #' @export @@ -2087,12 +2299,26 @@ plot.communities <- function(x, y, #' @rdname plot_dendrogram.communities -#' @aliases dendPlot #' @export plot_dendrogram <- function(x, mode = igraph_opt("dend.plot.type"), ...) { UseMethod("plot_dendrogram") } +#' Community structure dendrogram plots +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `dendPlot()` was renamed to `plot_dendrogram()` to create a more +#' consistent API. +#' @inheritParams plot_dendrogram +#' @keywords internal +#' @export +dendPlot <- function(x , mode = igraph_opt("dend.plot.type") , ...) { # nocov start + lifecycle::deprecate_soft("1.6.0", "dendPlot()", "plot_dendrogram()") + plot_dendrogram(x = x, mode = mode, ...) +} # nocov end + #' Community structure dendrogram plots @@ -2198,6 +2424,21 @@ plot_dendrogram.communities <- function(x, } } +#' Community structure dendrogram plots +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `dendPlot.communities()` was renamed to `plot_dendrogram.communities()` to create a more +#' consistent API. +#' @inheritParams plot_dendrogram.communities +#' @keywords internal +#' @export +dendPlot.communities <- function(x , mode = igraph_opt("dend.plot.type") , ... , use.modularity = FALSE , palette = categorical_pal(8)) { # nocov start + lifecycle::deprecate_soft("1.6.0", "dendPlot.communities()", "plot_dendrogram.communities()") + plot_dendrogram.communities(x = x, mode = mode, use.modularity = use.modularity, palette = palette, ...) +} # nocov end + #' @importFrom grDevices palette #' @importFrom graphics plot #' @importFrom stats rect.hclust @@ -2503,7 +2744,6 @@ communities <- groups.communities #' unchanged, vertex attributes are combined, according to the #' `vertex.attr.comb` parameter. #' -#' @aliases contract.vertices #' @param graph The input graph, it can be directed or undirected. #' @param mapping A numeric vector that specifies the mapping. Its elements #' correspond to the vertices, and for each element the id in the new graph is diff --git a/R/components.R b/R/components.R index 9565cd1525f..c4282b34725 100644 --- a/R/components.R +++ b/R/components.R @@ -37,6 +37,21 @@ count_components <- function(graph, mode = c("weak", "strong")) { .Call(R_igraph_no_clusters, graph, as.numeric(mode)) } +#' Connected components of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `no.clusters()` was renamed to `count_components()` to create a more +#' consistent API. +#' @inheritParams count_components +#' @keywords internal +#' @export +no.clusters <- function(graph , mode = c("weak","strong")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "no.clusters()", "count_components()") + count_components(graph = graph, mode = mode) +} # nocov end + #' @rdname components #' @param cumulative Logical, if TRUE the cumulative distirubution (relative #' frequency) is calculated. @@ -64,13 +79,27 @@ component_distribution <- function(graph, cumulative = FALSE, mul.size = FALSE, res } +#' Connected components of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `cluster.distribution()` was renamed to `component_distribution()` to create a more +#' consistent API. +#' @inheritParams component_distribution +#' @keywords internal +#' @export +cluster.distribution <- function(graph , cumulative = FALSE , mul.size = FALSE , ...) { # nocov start + lifecycle::deprecate_soft("1.6.0", "cluster.distribution()", "component_distribution()") + component_distribution(graph = graph, cumulative = cumulative, mul.size = mul.size, ...) +} # nocov end + #' Decompose a graph into components #' #' Creates a separate graph for each connected component of a graph. #' -#' @aliases decompose.graph #' @param graph The original graph. #' @param mode Character constant giving the type of the components, wither #' `weak` for weakly connected components or `strong` for strongly @@ -116,6 +145,21 @@ decompose <- function(graph, mode = c("weak", "strong"), max.comps = NA, ) } +#' Decompose a graph into components +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `decompose.graph()` was renamed to `decompose()` to create a more +#' consistent API. +#' @inheritParams decompose +#' @keywords internal +#' @export +decompose.graph <- function(graph , mode = c("weak","strong") , max.comps = NA , min.vertices = 0) { # nocov start + lifecycle::deprecate_soft("1.6.0", "decompose.graph()", "decompose()") + decompose(graph = graph, mode = mode, max.comps = max.comps, min.vertices = min.vertices) +} # nocov end + #' Articulation points and bridges of a graph #' @@ -131,7 +175,6 @@ decompose <- function(graph, mode = c("weak", "strong"), max.comps = NA, # " two. If a graph contains no bridges, then its edge connectivity is at least #' two. #' -#' @aliases articulation.points #' @param graph The input graph. It is treated as an undirected graph, even if #' it is directed. #' @return For `articulation_points()`, a numeric vector giving the vertex @@ -175,7 +218,6 @@ bridges <- bridges_impl #' that this is not true for vertices: the same vertex can be part of many #' biconnected components. #' -#' @aliases biconnected.components #' @param graph The input graph. It is treated as an undirected graph, even if #' it is directed. #' @return A named list with three components: \item{no}{Numeric scalar, an diff --git a/R/console.R b/R/console.R index db017a8e88d..cdcafb9d468 100644 --- a/R/console.R +++ b/R/console.R @@ -36,7 +36,6 @@ #' #' The console is written in Tcl/Tk and required the `tcltk` package. #' -#' @aliases igraph.console #' @return `NULL`, invisibly. #' @author Gabor Csardi \email{csardi.gabor@@gmail.com} #' @seealso [igraph_options()] and the `verbose` option. @@ -52,6 +51,21 @@ console <- function() { invisible() } +#' The igraph console +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `igraph.console()` was renamed to `console()` to create a more +#' consistent API. +#' +#' @keywords internal +#' @export +igraph.console <- function() { # nocov start + lifecycle::deprecate_soft("1.6.0", "igraph.console()", "console()") + console() +} # nocov end + .igraph.pb <- NULL #' @rdname console diff --git a/R/conversion.R b/R/conversion.R index ca0b1c3bc94..b32b1af2268 100644 --- a/R/conversion.R +++ b/R/conversion.R @@ -164,7 +164,6 @@ get.adjacency.sparse <- function(graph, type = c("both", "upper", "lower"), #' defined in the \sQuote{`Matrix`} package, if `sparse` if #' `TRUE`. #' -#' @aliases get.adjacency #' @param graph The graph to convert. #' @param type Gives how to create the adjacency matrix for undirected graphs. #' It is ignored for directed graphs. Possible values: `upper`: the upper @@ -221,6 +220,21 @@ as_adjacency_matrix <- function(graph, type = c("both", "upper", "lower"), } } +#' Convert a graph to an adjacency matrix +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `get.adjacency()` was renamed to `as_adjacency_matrix()` to create a more +#' consistent API. +#' @inheritParams as_adjacency_matrix +#' @keywords internal +#' @export +get.adjacency <- function(graph , type = c("both","upper","lower") , attr = NULL , edges = FALSE , names = TRUE , sparse = igraph_opt("sparsematrices")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "get.adjacency()", "as_adjacency_matrix()") + as_adjacency_matrix(graph = graph, type = type, attr = attr, edges = edges, names = names, sparse = sparse) +} # nocov end + #' @export #' @rdname as_adjacency_matrix as_adj <- as_adjacency_matrix @@ -232,7 +246,6 @@ as_adj <- as_adjacency_matrix #' #' `as_edgelist()` returns the list of edges in a graph. #' -#' @aliases get.edgelist #' @param graph The graph to convert. #' @param names Whether to return a character matrix containing vertex #' names (i.e. the `name` vertex attribute) if they exist or numeric @@ -264,6 +277,21 @@ as_edgelist <- function(graph, names = TRUE) { res } +#' Convert a graph to an edge list +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `get.edgelist()` was renamed to `as_edgelist()` to create a more +#' consistent API. +#' @inheritParams as_edgelist +#' @keywords internal +#' @export +get.edgelist <- function(graph , names = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "get.edgelist()", "as_edgelist()") + as_edgelist(graph = graph, names = names) +} # nocov end + #' Convert between directed and undirected graphs @@ -385,7 +413,6 @@ as.undirected <- function(graph, mode = c("collapse", "each", "mutual"), edge.at #' ids of adjacent edges (according to the `mode` argument) of all #' vertices. #' -#' @aliases get.adjedgelist #' @param graph The input graph. #' @param mode Character scalar, it gives what kind of adjacent edges/vertices #' to include in the lists. \sQuote{`out`} is for outgoing edges/vertices, @@ -448,8 +475,22 @@ as_adj_list <- function(graph, res } +#' Adjacency lists +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `get.adjlist()` was renamed to `as_adj_list()` to create a more +#' consistent API. +#' @inheritParams as_adj_list +#' @keywords internal +#' @export +get.adjlist <- function(graph , mode = c("all","out","in","total") , loops = c("twice","once","ignore") , multiple = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "get.adjlist()", "as_adj_list()") + as_adj_list(graph = graph, mode = mode, loops = loops, multiple = multiple) +} # nocov end + #' @rdname as_adj_list -#' @aliases get.adjlist #' @export as_adj_edge_list <- function(graph, mode = c("all", "out", "in", "total"), @@ -481,6 +522,21 @@ as_adj_edge_list <- function(graph, res } +#' Adjacency lists +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `get.adjedgelist()` was renamed to `as_adj_edge_list()` to create a more +#' consistent API. +#' @inheritParams as_adj_edge_list +#' @keywords internal +#' @export +get.adjedgelist <- function(graph , mode = c("all","out","in","total") , loops = c("twice","once","ignore")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "get.adjedgelist()", "as_adj_edge_list()") + as_adj_edge_list(graph = graph, mode = mode, loops = loops) +} # nocov end + #' Convert graphNEL objects from the graph package to igraph #' #' The graphNEL class is defined in the `graph` package, it is another @@ -495,7 +551,6 @@ as_adj_edge_list <- function(graph, #' attributes of the multiple edges are lost: they are all replaced by the #' attributes of the first of the multiple edges. #' -#' @aliases igraph.from.graphNEL #' @param graphNEL The graphNEL graph. #' @param name Logical scalar, whether to add graphNEL vertex names as an #' igraph vertex attribute called \sQuote{`name`}. @@ -584,6 +639,21 @@ graph_from_graphnel <- function(graphNEL, name = TRUE, weight = TRUE, g } +#' Convert graphNEL objects from the graph package to igraph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `igraph.from.graphNEL()` was renamed to `graph_from_graphnel()` to create a more +#' consistent API. +#' @inheritParams graph_from_graphnel +#' @keywords internal +#' @export +igraph.from.graphNEL <- function(graphNEL , name = TRUE , weight = TRUE , unlist.attrs = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "igraph.from.graphNEL()", "graph_from_graphnel()") + graph_from_graphnel(graphNEL = graphNEL, name = name, weight = weight, unlist.attrs = unlist.attrs) +} # nocov end + #' Convert igraph graphs to graphNEL objects from the graph package #' #' The graphNEL class is defined in the `graph` package, it is another @@ -596,7 +666,6 @@ graph_from_graphnel <- function(graphNEL, name = TRUE, weight = TRUE, #' vertex names in the graphNEL graph. Otherwise numeric igraph vertex ids #' will be used for this purpose. #' -#' @aliases igraph.to.graphNEL #' @param graph An igraph graph object. #' @return `as_graphnel()` returns a graphNEL graph object. #' @seealso [graph_from_graphnel()] for the other direction, @@ -701,6 +770,21 @@ as_graphnel <- function(graph) { res } +#' Convert igraph graphs to graphNEL objects from the graph package +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `igraph.to.graphNEL()` was renamed to `as_graphnel()` to create a more +#' consistent API. +#' @inheritParams as_graphnel +#' @keywords internal +#' @export +igraph.to.graphNEL <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "igraph.to.graphNEL()", "as_graphnel()") + as_graphnel(graph = graph) +} # nocov end + get.incidence.dense <- function(graph, types, names, attr) { if (is.null(attr)) { on.exit(.Call(R_igraph_finalizer)) @@ -811,7 +895,6 @@ get.incidence.sparse <- function(graph, types, names, attr) { #' boolean and `FALSE` for the vertices of the first kind and `TRUE` #' for vertices of the second kind. #' -#' @aliases get.incidence #' @param graph The input graph. The direction of the edges is ignored in #' directed graphs. #' @param types An optional vertex type vector to use instead of the @@ -859,6 +942,21 @@ as_biadjacency_matrix <- function(graph, types = NULL, attr = NULL, get.incidence.dense(graph, types = types, names = names, attr = attr) } } + +#' Bipartite adjacency matrix of a bipartite graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `get.incidence()` was renamed to `as_biadjacency_matrix()` to create a more +#' consistent API. +#' @inheritParams as_biadjacency_matrix +#' @keywords internal +#' @export +get.incidence <- function(graph , types = NULL , attr = NULL , names = TRUE , sparse = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "get.incidence()", "as_biadjacency_matrix()") + as_biadjacency_matrix(graph = graph, types = types, attr = attr, names = names, sparse = sparse) +} # nocov end #' As incidence matrix #' #' @description @@ -918,6 +1016,21 @@ as_data_frame <- function(x, what = c("edges", "vertices", "both")) { } } +#' Creating igraph graphs from data frames or vice-versa +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `get.data.frame()` was renamed to `as_data_frame()` to create a more +#' consistent API. +#' @inheritParams as_data_frame +#' @keywords internal +#' @export +get.data.frame <- function(x , what = c("edges","vertices","both")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "get.data.frame()", "as_data_frame()") + as_data_frame(x = x, what = what) +} # nocov end + #' Create graphs from adjacency lists #' @@ -932,7 +1045,6 @@ as_data_frame <- function(x, what = c("edges", "vertices", "both")) { #' [as_adj_list()], do your modifications to the graphs and finally #' create again an igraph graph by calling `graph_from_adj_list()`. #' -#' @aliases graph.adjlist #' @param adjlist The adjacency list. It should be consistent, i.e. the maximum #' throughout all vectors in the list must be less than the number of vectors #' (=the number of vertices in the graph). diff --git a/R/data_frame.R b/R/data_frame.R index f941683efd9..820dab83ca6 100644 --- a/R/data_frame.R +++ b/R/data_frame.R @@ -69,7 +69,6 @@ #' If the `what` argument is `both`, then both vertex and edge data #' is returned, in a list with named entries `vertices` and `edges`. #' -#' @aliases graph.data.frame get.data.frame #' @param d A data frame containing a symbolic edge list in the first two #' columns. Additional columns are considered as edge attributes. Since #' version 0.7 this argument is coerced to a data frame with @@ -202,6 +201,21 @@ graph_from_data_frame <- function(d, directed = TRUE, vertices = NULL) { g } +#' Creating igraph graphs from data frames or vice-versa +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.data.frame()` was renamed to `graph_from_data_frame()` to create a more +#' consistent API. +#' @inheritParams graph_from_data_frame +#' @keywords internal +#' @export +graph.data.frame <- function(d , directed = TRUE , vertices = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.data.frame()", "graph_from_data_frame()") + graph_from_data_frame(d = d, directed = directed, vertices = vertices) +} # nocov end + #' @rdname graph_from_data_frame #' @param ... Passed to `graph_from_data_frame()`. #' @export @@ -218,7 +232,6 @@ from_data_frame <- function(...) constructor_spec(graph_from_data_frame, ...) #' names and a vertex id will be assigned to each name, and also a #' `name` vertex attribute will be added. #' -#' @aliases graph.edgelist #' @concept Edge list #' @param el The edge list, a two column matrix, character or numeric. #' @param directed Whether to create a directed graph. @@ -257,6 +270,21 @@ graph_from_edgelist <- function(el, directed = TRUE) { res } +#' Create a graph from an edge list matrix +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.edgelist()` was renamed to `graph_from_edgelist()` to create a more +#' consistent API. +#' @inheritParams graph_from_edgelist +#' @keywords internal +#' @export +graph.edgelist <- function(el , directed = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.edgelist()", "graph_from_edgelist()") + graph_from_edgelist(el = el, directed = directed) +} # nocov end + #' @rdname graph_from_edgelist #' @param ... Passed to `graph_from_edgelist()`. #' @export diff --git a/R/decomposition.R b/R/decomposition.R index 4f93bbc857b..6ad69658eaf 100644 --- a/R/decomposition.R +++ b/R/decomposition.R @@ -40,7 +40,6 @@ #' #' It is also true that adding the fill-in edges to the graph makes it chordal. #' -#' @aliases is.chordal #' @param graph The input graph. It may be directed, but edge directions are #' ignored, as the algorithm is defined for undirected graphs. #' @param alpha Numeric vector, the maximal chardinality ordering of the @@ -106,3 +105,18 @@ is_chordal <- function(graph, alpha = NULL, alpham1 = NULL, } res } + +#' Chordality of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.chordal()` was renamed to `is_chordal()` to create a more +#' consistent API. +#' @inheritParams is_chordal +#' @keywords internal +#' @export +is.chordal <- function(graph , alpha = NULL , alpham1 = NULL , fillin = FALSE , newgraph = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.chordal()", "is_chordal()") + is_chordal(graph = graph, alpha = alpha, alpham1 = alpham1, fillin = fillin, newgraph = newgraph) +} # nocov end diff --git a/R/degseq.R b/R/degseq.R index 625a14404b2..d0513c2e0ea 100644 --- a/R/degseq.R +++ b/R/degseq.R @@ -32,7 +32,7 @@ #' degree vectors are equal and whether their sums are also equal. These are #' known sufficient and necessary conditions for a degree sequence to be valid. #' -#' @aliases is.degree.sequence is_degseq +#' @aliases is_degseq #' @param out.deg Integer vector, the degree sequence for undirected graphs, or #' the out-degree sequence for directed graphs. #' @param in.deg `NULL` or an integer vector. For undirected graphs, it @@ -61,6 +61,21 @@ is_degseq <- function(out.deg, in.deg = NULL) { is_graphical(out.deg, in.deg, allowed.edge.types = "all") } +#' Check if a degree sequence is valid for a multi-graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.degree.sequence()` was renamed to `is_degseq()` to create a more +#' consistent API. +#' @inheritParams is_degseq +#' @keywords internal +#' @export +is.degree.sequence <- function(out.deg , in.deg = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.degree.sequence()", "is_degseq()") + is_degseq(out.deg = out.deg, in.deg = in.deg) +} # nocov end + #' Is a degree sequence graphical? #' #' Determine whether the given vertex degrees (in- and out-degrees for @@ -70,7 +85,6 @@ is_degseq <- function(out.deg, in.deg = NULL) { #' can perform the check also when self-loops, multi-edges, or both are allowed #' in the graph. #' -#' @aliases is.graphical.degree.sequence #' @param out.deg Integer vector, the degree sequence for undirected graphs, or #' the out-degree sequence for directed graphs. #' @param in.deg `NULL` or an integer vector. For undirected graphs, it diff --git a/R/demo.R b/R/demo.R index 523a1bd0563..7086474e97a 100644 --- a/R/demo.R +++ b/R/demo.R @@ -33,7 +33,6 @@ #' #' The `tcltk` package is needed for `igraph_demo()`. #' -#' @aliases igraphdemo #' @param which If not given, then the names of the available demos are listed. #' Otherwise it should be either a filename or the name of an igraph demo. #' @return Returns `NULL`, invisibly. @@ -192,3 +191,18 @@ igraph_demo <- function(which) { invisible() } + +#' Run igraph demos, step by step +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `igraphdemo()` was renamed to `igraph_demo()` to create a more +#' consistent API. +#' @inheritParams igraph_demo +#' @keywords internal +#' @export +igraphdemo <- function(which) { # nocov start + lifecycle::deprecate_soft("1.6.0", "igraphdemo()", "igraph_demo()") + igraph_demo(which = which) +} # nocov end diff --git a/R/fit.R b/R/fit.R index 4a9db033b73..0490eb8015b 100644 --- a/R/fit.R +++ b/R/fit.R @@ -56,7 +56,6 @@ #' The function uses the method of Clauset, Shalizi and Newman to calculate the #' parameters of the fitted distribution. See references below for the details. #' -#' @aliases power.law.fit #' @param x The data to fit, a numeric vector. For implementation #' \sQuote{`R.mle`} the data must be integer values. For the #' \sQuote{`plfit`} implementation non-integer values might be present and @@ -135,6 +134,21 @@ fit_power_law <- function(x, xmin = NULL, start = 2, force.continuous = FALSE, } } +#' Fitting a power-law distribution function to discrete data +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `power.law.fit()` was renamed to `fit_power_law()` to create a more +#' consistent API. +#' @inheritParams fit_power_law +#' @keywords internal +#' @export +power.law.fit <- function(x , xmin = NULL , start = 2 , force.continuous = FALSE , implementation = c("plfit","R.mle") , ...) { # nocov start + lifecycle::deprecate_soft("1.6.0", "power.law.fit()", "fit_power_law()") + fit_power_law(x = x, xmin = xmin, start = start, force.continuous = force.continuous, implementation = implementation, ...) +} # nocov end + power.law.fit.old <- function(x, xmin = NULL, start = 2, ...) { if (length(x) == 0) { stop("zero length vector") diff --git a/R/flow.R b/R/flow.R index 8b0d77a82ed..4d3df5e6791 100644 --- a/R/flow.R +++ b/R/flow.R @@ -42,7 +42,6 @@ #' For undirected graphs the Stoer-Wagner algorithm (see reference below) is #' used to calculate the minimum cut. #' -#' @aliases graph.mincut #' @param graph The input graph. #' @param source The id of the source vertex. #' @param target The id of the target vertex (sometimes also called sink). @@ -140,6 +139,21 @@ min_cut <- function(graph, source = NULL, target = NULL, capacity = NULL, value. res } +#' Minimum cut in a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.mincut()` was renamed to `min_cut()` to create a more +#' consistent API. +#' @inheritParams min_cut +#' @keywords internal +#' @export +graph.mincut <- function(graph , source = NULL , target = NULL , capacity = NULL , value.only = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.mincut()", "min_cut()") + min_cut(graph = graph, source = source, target = target, capacity = capacity, value.only = value.only) +} # nocov end + #' Vertex connectivity @@ -177,7 +191,7 @@ min_cut <- function(graph, source = NULL, target = NULL, capacity = NULL, value. #' precisely `vertex_connectivity()` is the most general, the other two are #' included only for the ease of using more descriptive function names. #' -#' @aliases vertex.connectivity vertex.disjoint.paths cohesion graph.cohesion +#' @aliases cohesion #' @param graph,x The input graph. #' @param source The id of the source vertex, for `vertex_connectivity()` it #' can be `NULL`, see details below. @@ -238,6 +252,21 @@ vertex_connectivity <- function(graph, source = NULL, target = NULL, checks = TR } } +#' Vertex connectivity +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `vertex.connectivity()` was renamed to `vertex_connectivity()` to create a more +#' consistent API. +#' @inheritParams vertex_connectivity +#' @keywords internal +#' @export +vertex.connectivity <- function(graph , source = NULL , target = NULL , checks = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "vertex.connectivity()", "vertex_connectivity()") + vertex_connectivity(graph = graph, source = source, target = target, checks = checks) +} # nocov end + #' Edge connectivity @@ -268,7 +297,6 @@ vertex_connectivity <- function(graph, source = NULL, target = NULL, checks = TR #' more precisely the most general is `edge_connectivity()`, the others are #' included only for having more descriptive function names. #' -#' @aliases edge.connectivity graph.adhesion edge.disjoint.paths #' @param graph The input graph. #' @param source The id of the source vertex, for `edge_connectivity()` it #' can be `NULL`, see details below. @@ -325,6 +353,36 @@ edge_connectivity <- function(graph, source = NULL, target = NULL, checks = TRUE } } +#' Edge connectivity +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `edge.disjoint.paths()` was renamed to `edge_connectivity()` to create a more +#' consistent API. +#' @inheritParams edge_connectivity +#' @keywords internal +#' @export +edge.disjoint.paths <- function(graph , source = NULL , target = NULL , checks = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "edge.disjoint.paths()", "edge_connectivity()") + edge_connectivity(graph = graph, source = source, target = target, checks = checks) +} # nocov end + +#' Edge connectivity +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `edge.connectivity()` was renamed to `edge_connectivity()` to create a more +#' consistent API. +#' @inheritParams edge_connectivity +#' @keywords internal +#' @export +edge.connectivity <- function(graph , source = NULL , target = NULL , checks = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "edge.connectivity()", "edge_connectivity()") + edge_connectivity(graph = graph, source = source, target = target, checks = checks) +} # nocov end + #' @rdname edge_connectivity #' @export edge_disjoint_paths <- function(graph, source, target) { @@ -363,6 +421,21 @@ vertex_disjoint_paths <- function(graph, source = NULL, target = NULL) { ) } +#' Vertex connectivity +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `vertex.disjoint.paths()` was renamed to `vertex_disjoint_paths()` to create a more +#' consistent API. +#' @inheritParams vertex_disjoint_paths +#' @keywords internal +#' @export +vertex.disjoint.paths <- function(graph , source = NULL , target = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "vertex.disjoint.paths()", "vertex_disjoint_paths()") + vertex_disjoint_paths(graph = graph, source = source, target = target) +} # nocov end + #' @rdname edge_connectivity #' @export adhesion <- function(graph, checks = TRUE) { @@ -372,6 +445,21 @@ adhesion <- function(graph, checks = TRUE) { .Call(R_igraph_adhesion, graph, as.logical(checks)) } +#' Edge connectivity +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.adhesion()` was renamed to `adhesion()` to create a more +#' consistent API. +#' @inheritParams adhesion +#' @keywords internal +#' @export +graph.adhesion <- function(graph , checks = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.adhesion()", "adhesion()") + adhesion(graph = graph, checks = checks) +} # nocov end + #' @rdname vertex_connectivity #' @method cohesion igraph #' @export @@ -391,7 +479,6 @@ cohesion.igraph <- function(x, checks = TRUE, ...) { #' removing these edges from \eqn{G} there is no directed path from \eqn{s} to #' \eqn{t}. #' -#' @aliases stCuts #' @param graph The input graph. It must be directed. #' @param source The source vertex. #' @param target The target vertex. @@ -439,7 +526,6 @@ st_cuts <- all_st_cuts_impl #' #' An \eqn{(s,t)}-cut is minimum if it is of the smallest possible size. #' -#' @aliases stMincuts #' @param graph The input graph. It must be directed. #' @param source The id of the source vertex. #' @param target The id of the target vertex. @@ -492,7 +578,6 @@ st_min_cuts <- all_st_mincuts_impl #' This function implements the Lengauer-Tarjan algorithm to construct the #' dominator tree of a directed graph. For details see the reference below. #' -#' @aliases dominator.tree #' @param graph A directed graph. If it is not a flowgraph, and it contains #' some vertices not reachable from the root vertex, then these vertices will #' be collected and returned as part of the result. @@ -554,6 +639,21 @@ dominator_tree <- function(graph, root, mode = c("out", "in", "all", "total")) { res } +#' Dominator tree +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `dominator.tree()` was renamed to `dominator_tree()` to create a more +#' consistent API. +#' @inheritParams dominator_tree +#' @keywords internal +#' @export +dominator.tree <- function(graph , root , mode = c("out","in","all","total")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "dominator.tree()", "dominator_tree()") + dominator_tree(graph = graph, root = root, mode = mode) +} # nocov end + #' Minimum size vertex separators #' @@ -567,7 +667,6 @@ dominator_tree <- function(graph, root, mode = c("out", "in", "all", "total")) { #' A \eqn{(s,t)} vertex separator is minimal if none of its subsets is an #' \eqn{(s,t)} vertex separator. #' -#' @aliases minimal.st.separators #' @param graph The input graph. It may be directed, but edge directions are #' ignored. #' @return A list of numeric vectors. Each vector contains a vertex set @@ -606,7 +705,6 @@ min_st_separators <- all_minimal_st_separators_impl #' the flow is the incoming flow of the `target` vertex. The maximum flow #' is the flow of maximum value. #' -#' @aliases graph.maxflow #' @param graph The input graph. #' @param source The id of the source vertex. #' @param target The id of the target vertex (sometimes also called sink). @@ -662,7 +760,6 @@ max_flow <- maxflow_impl #' In the special case of a fully connected graph with \eqn{n} vertices, each #' set of \eqn{n-1} vertices is considered to be a vertex separator. #' -#' @aliases is.separator #' @param graph The input graph. It may be directed, but edge directions are #' ignored. #' @param candidate A numeric vector giving the vertex ids of the candidate @@ -686,7 +783,6 @@ is_separator <- is_separator_impl #' In the special case of a fully connected graph with \eqn{n} vertices, each #' set of \eqn{n-1} vertices is considered to be a vertex separator. #' -#' @aliases is.minimal.separator #' @param graph The input graph. It may be directed, but edge directions are #' ignored. #' @param candidate A numeric vector giving the vertex ids of the candidate @@ -739,7 +835,6 @@ is_min_separator <- is_minimal_separator_impl #' In the special case of a fully connected input graph with \eqn{n} vertices, #' all subsets of size \eqn{n-1} are listed as the result. #' -#' @aliases minimum.size.separators #' @param graph The input graph. It may be directed, but edge directions are #' ignored. #' @return A list of numeric vectors. Each numeric vector is a vertex diff --git a/R/foreign.R b/R/foreign.R index 73466162546..ae930f017a6 100644 --- a/R/foreign.R +++ b/R/foreign.R @@ -76,7 +76,7 @@ write.graph.fromraw <- function(buffer, file) { #' the file format (the `format` argument). See the details separately for #' each file format, below. #' -#' @aliases read.graph LGL Pajek GraphML GML DL UCINET +#' @aliases LGL Pajek GraphML GML DL UCINET #' @param file The connection to read from. This can be a local file, or a #' `http` or `ftp` connection. It can also be a character string with #' the file name or URI. @@ -134,6 +134,21 @@ read_graph <- function(file, format = c( res } +#' Reading foreign file formats +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `read.graph()` was renamed to `read_graph()` to create a more +#' consistent API. +#' @inheritParams read_graph +#' @keywords internal +#' @export +read.graph <- function(file , format = c("edgelist","pajek","ncol","lgl","graphml","dimacs","graphdb","gml","dl") , ...) { # nocov start + lifecycle::deprecate_soft("1.6.0", "read.graph()", "read_graph()") + read_graph(file = file, format = format, ...) +} # nocov end + #' Writing the graph to a file in some format @@ -141,7 +156,6 @@ read_graph <- function(file, format = c( #' `write_graph()` is a general function for exporting graphs to foreign #' file formats, however not many formats are implemented right now. #' -#' @aliases write.graph #' @param graph The graph to export. #' @param file A connection or a string giving the file name to write the graph #' to. @@ -210,6 +224,21 @@ write_graph <- function(graph, file, invisible(res) } +#' Writing the graph to a file in some format +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `write.graph()` was renamed to `write_graph()` to create a more +#' consistent API. +#' @inheritParams write_graph +#' @keywords internal +#' @export +write.graph <- function(graph , file , format = c("edgelist","pajek","ncol","lgl","graphml","dimacs","gml","dot","leda") , ...) { # nocov start + lifecycle::deprecate_soft("1.6.0", "write.graph()", "write_graph()") + write_graph(graph = graph, file = file, format = format, ...) +} # nocov end + ################################################################ # Plain edge list format, not sorted ################################################################ @@ -480,7 +509,6 @@ write.graph.dot <- function(graph, file, ...) { #' #' for the actual format of a graph database file and other information. #' -#' @aliases graph.graphdb #' @param url If not `NULL` it is a complete URL with the file to import. #' @param prefix Gives the prefix. See details below. Possible values: #' `iso`, `i2`, `si4`, `si6`, `mcs10`, `mcs30`, @@ -578,6 +606,21 @@ graph_from_graphdb <- function(url = NULL, .Call(R_igraph_read_graph_graphdb, f, as.logical(directed)) } +#' Load a graph from the graph database for testing graph isomorphism. +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.graphdb()` was renamed to `graph_from_graphdb()` to create a more +#' consistent API. +#' @inheritParams graph_from_graphdb +#' @keywords internal +#' @export +graph.graphdb <- function(url = NULL , prefix = "iso" , type = "r001" , nodes = NULL , pair = "A" , which = 0 , base = "http://cneurocvs.rmki.kfki.hu/graphdb/gzip" , compressed = TRUE , directed = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.graphdb()", "graph_from_graphdb()") + graph_from_graphdb(url = url, prefix = prefix, type = type, nodes = nodes, pair = pair, which = which, base = base, compressed = compressed, directed = directed) +} # nocov end + read.graph.graphdb <- function(file, directed = TRUE, ...) { if (length(list(...)) > 0) { stop("Unknown arguments to read_graph (GraphDB format)") diff --git a/R/games.R b/R/games.R index d9fa0c75ecd..2113d8e763a 100644 --- a/R/games.R +++ b/R/games.R @@ -61,7 +61,6 @@ #' (in- + out-) degree of the vertex, unless the `out.pref` argument is set to #' `TRUE`. #' -#' @aliases barabasi.game ba.game #' @param n Number of vertices. #' @param power The power of the preferential attachment, the default is one, #' i.e. linear preferential attachment. @@ -189,6 +188,36 @@ sample_pa <- function(n, power = 1, m = NULL, out.dist = NULL, out.seq = NULL, res } +#' Generate random graphs using preferential attachment +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `barabasi.game()` was renamed to `sample_pa()` to create a more +#' consistent API. +#' @inheritParams sample_pa +#' @keywords internal +#' @export +barabasi.game <- function(n , power = 1 , m = NULL , out.dist = NULL , out.seq = NULL , out.pref = FALSE , zero.appeal = 1 , directed = TRUE , algorithm = c("psumtree","psumtree-multiple","bag") , start.graph = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "barabasi.game()", "sample_pa()") + sample_pa(n = n, power = power, m = m, out.dist = out.dist, out.seq = out.seq, out.pref = out.pref, zero.appeal = zero.appeal, directed = directed, algorithm = algorithm, start.graph = start.graph) +} # nocov end + +#' Generate random graphs using preferential attachment +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `ba.game()` was renamed to `sample_pa()` to create a more +#' consistent API. +#' @inheritParams sample_pa +#' @keywords internal +#' @export +ba.game <- function(n , power = 1 , m = NULL , out.dist = NULL , out.seq = NULL , out.pref = FALSE , zero.appeal = 1 , directed = TRUE , algorithm = c("psumtree","psumtree-multiple","bag") , start.graph = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "ba.game()", "sample_pa()") + sample_pa(n = n, power = power, m = m, out.dist = out.dist, out.seq = out.seq, out.pref = out.pref, zero.appeal = zero.appeal, directed = directed, algorithm = algorithm, start.graph = start.graph) +} # nocov end + #' @rdname sample_pa #' @param ... Passed to `sample_pa()`. #' @family games @@ -426,7 +455,6 @@ random.graph.game <- erdos.renyi.game #' algorithm is used to randomize the graph. The \dQuote{vl} samples from the #' undirected, connected simple graphs uniformly. #' -#' @aliases degree.sequence.game #' @param out.deg Numeric vector, the sequence of degrees (for undirected #' graphs) or out-degrees (for directed graphs). For undirected graphs its sum #' should be even. For directed graphs its sum should be the same as the sum of @@ -501,6 +529,21 @@ sample_degseq <- function(out.deg, in.deg = NULL, res } +#' Generate random graphs with a given degree sequence +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `degree.sequence.game()` was renamed to `sample_degseq()` to create a more +#' consistent API. +#' @inheritParams sample_degseq +#' @keywords internal +#' @export +degree.sequence.game <- function(out.deg , in.deg = NULL , method = c("simple","vl","simple.no.multiple","simple.no.multiple.uniform")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "degree.sequence.game()", "sample_degseq()") + sample_degseq(out.deg = out.deg, in.deg = in.deg, method = method) +} # nocov end + #' @rdname sample_degseq #' @param deterministic Whether the construction should be deterministic #' @param ... Passed to `realize_degseq()` if \sQuote{deterministic} is true, @@ -525,7 +568,6 @@ degseq <- function(..., deterministic = FALSE) { #' vertices, otherwise the edges are connecting new vertex to uniformly #' randomly chosen old vertices. #' -#' @aliases growing.random.game #' @param n Numeric constant, number of vertices in the graph. #' @param m Numeric constant, number of edges added in each time step. #' @param directed Logical, whether to create a directed graph. @@ -555,6 +597,21 @@ sample_growing <- function(n, m = 1, directed = TRUE, citation = FALSE) { res } +#' Growing random graph generation +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `growing.random.game()` was renamed to `sample_growing()` to create a more +#' consistent API. +#' @inheritParams sample_growing +#' @keywords internal +#' @export +growing.random.game <- function(n , m = 1 , directed = TRUE , citation = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "growing.random.game()", "sample_growing()") + sample_growing(n = n, m = m, directed = directed, citation = citation) +} # nocov end + #' @rdname sample_growing #' @param ... Passed to `sample_growing()`. #' @family games @@ -615,7 +672,6 @@ growing <- function(...) constructor_spec(sample_growing, ...) #' #' This function might generate graphs with multiple edges. #' -#' @aliases aging.prefatt.game aging.barabasi.game aging.ba.game #' @param n The number of vertices in the graph. #' @param pa.exp The preferential attachment exponent, see the details below. #' @param aging.exp The exponent of the aging, usually a non-positive number, @@ -755,6 +811,51 @@ sample_pa_age <- function(n, pa.exp, aging.exp, m = NULL, aging.bin = 300, res } +#' Generate an evolving random graph with preferential attachment and aging +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `aging.barabasi.game()` was renamed to `sample_pa_age()` to create a more +#' consistent API. +#' @inheritParams sample_pa_age +#' @keywords internal +#' @export +aging.barabasi.game <- function(n , pa.exp , aging.exp , m = NULL , aging.bin = 300 , out.dist = NULL , out.seq = NULL , out.pref = FALSE , directed = TRUE , zero.deg.appeal = 1 , zero.age.appeal = 0 , deg.coef = 1 , age.coef = 1 , time.window = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "aging.barabasi.game()", "sample_pa_age()") + sample_pa_age(n = n, pa.exp = pa.exp, aging.exp = aging.exp, m = m, aging.bin = aging.bin, out.dist = out.dist, out.seq = out.seq, out.pref = out.pref, directed = directed, zero.deg.appeal = zero.deg.appeal, zero.age.appeal = zero.age.appeal, deg.coef = deg.coef, age.coef = age.coef, time.window = time.window) +} # nocov end + +#' Generate an evolving random graph with preferential attachment and aging +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `aging.ba.game()` was renamed to `sample_pa_age()` to create a more +#' consistent API. +#' @inheritParams sample_pa_age +#' @keywords internal +#' @export +aging.ba.game <- function(n , pa.exp , aging.exp , m = NULL , aging.bin = 300 , out.dist = NULL , out.seq = NULL , out.pref = FALSE , directed = TRUE , zero.deg.appeal = 1 , zero.age.appeal = 0 , deg.coef = 1 , age.coef = 1 , time.window = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "aging.ba.game()", "sample_pa_age()") + sample_pa_age(n = n, pa.exp = pa.exp, aging.exp = aging.exp, m = m, aging.bin = aging.bin, out.dist = out.dist, out.seq = out.seq, out.pref = out.pref, directed = directed, zero.deg.appeal = zero.deg.appeal, zero.age.appeal = zero.age.appeal, deg.coef = deg.coef, age.coef = age.coef, time.window = time.window) +} # nocov end + +#' Generate an evolving random graph with preferential attachment and aging +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `aging.prefatt.game()` was renamed to `sample_pa_age()` to create a more +#' consistent API. +#' @inheritParams sample_pa_age +#' @keywords internal +#' @export +aging.prefatt.game <- function(n , pa.exp , aging.exp , m = NULL , aging.bin = 300 , out.dist = NULL , out.seq = NULL , out.pref = FALSE , directed = TRUE , zero.deg.appeal = 1 , zero.age.appeal = 0 , deg.coef = 1 , age.coef = 1 , time.window = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "aging.prefatt.game()", "sample_pa_age()") + sample_pa_age(n = n, pa.exp = pa.exp, aging.exp = aging.exp, m = m, aging.bin = aging.bin, out.dist = out.dist, out.seq = out.seq, out.pref = out.pref, directed = directed, zero.deg.appeal = zero.deg.appeal, zero.age.appeal = zero.age.appeal, deg.coef = deg.coef, age.coef = age.coef, time.window = time.window) +} # nocov end + #' @rdname sample_pa_age #' @param ... Passed to `sample_pa_age()`. #' @family games @@ -782,7 +883,6 @@ pa_age <- function(...) constructor_spec(sample_pa_age, ...) #' depends on the types of the vertices involved and is taken from #' `pref.matrix`. #' -#' @aliases callaway.traits.game establishment.game #' @param nodes The number of vertices in the graph. #' @param types The number of different vertex types. #' @param edge.per.step The number of edges to add to the graph per time step. @@ -826,6 +926,21 @@ sample_traits_callaway <- function(nodes, types, edge.per.step = 1, res } +#' Graph generation based on different vertex types +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `callaway.traits.game()` was renamed to `sample_traits_callaway()` to create a more +#' consistent API. +#' @inheritParams sample_traits_callaway +#' @keywords internal +#' @export +callaway.traits.game <- function(nodes , types , edge.per.step = 1 , type.dist = rep(1,types) , pref.matrix = matrix(1,types,types) , directed = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "callaway.traits.game()", "sample_traits_callaway()") + sample_traits_callaway(nodes = nodes, types = types, edge.per.step = edge.per.step, type.dist = type.dist, pref.matrix = pref.matrix, directed = directed) +} # nocov end + #' @rdname sample_traits_callaway #' @param ... Passed to the constructor, `sample_traits()` or #' `sample_traits_callaway()`. @@ -854,6 +969,21 @@ sample_traits <- function(nodes, types, k = 1, type.dist = rep(1, types), res } +#' Graph generation based on different vertex types +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `establishment.game()` was renamed to `sample_traits()` to create a more +#' consistent API. +#' @inheritParams sample_traits +#' @keywords internal +#' @export +establishment.game <- function(nodes , types , k = 1 , type.dist = rep(1,types) , pref.matrix = matrix(1,types,types) , directed = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "establishment.game()", "sample_traits()") + sample_traits(nodes = nodes, types = types, k = k, type.dist = type.dist, pref.matrix = pref.matrix, directed = directed) +} # nocov end + #' @rdname sample_traits_callaway #' @export traits <- function(...) constructor_spec(sample_traits, ...) @@ -871,7 +1001,6 @@ traits <- function(...) constructor_spec(sample_traits, ...) #' Euclidean norm than a given radius. If the `torus` argument is #' `TRUE` then a unit area torus is used instead of a square. #' -#' @aliases grg.game #' @param nodes The number of vertices in the graph. #' @param radius The radius within which the vertices will be connected by an #' edge. @@ -908,6 +1037,21 @@ sample_grg <- function(nodes, radius, torus = FALSE, coords = FALSE) { res[[1]] } +#' Geometric random graphs +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `grg.game()` was renamed to `sample_grg()` to create a more +#' consistent API. +#' @inheritParams sample_grg +#' @keywords internal +#' @export +grg.game <- function(nodes , radius , torus = FALSE , coords = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "grg.game()", "sample_grg()") + sample_grg(nodes = nodes, radius = radius, torus = torus, coords = coords) +} # nocov end + #' @rdname sample_grg #' @param ... Passed to `sample_grg()`. #' @family games @@ -939,7 +1083,6 @@ grg <- function(...) constructor_spec(sample_grg, ...) #' `type` vertex attribute for `sample_pref()` and from the #' `intype` and `outtype` vertex attribute for `sample_asym_pref()`. #' -#' @aliases preference.game asymmetric.preference.game #' @param nodes The number of vertices in the graphs. #' @param types The number of different vertex types. #' @param type.dist The distribution of the vertex types, a numeric vector of @@ -1002,6 +1145,21 @@ sample_pref <- function(nodes, types, type.dist = rep(1, types), res[[1]] } +#' Trait-based random generation +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `preference.game()` was renamed to `sample_pref()` to create a more +#' consistent API. +#' @inheritParams sample_pref +#' @keywords internal +#' @export +preference.game <- function(nodes , types , type.dist = rep(1,types) , fixed.sizes = FALSE , pref.matrix = matrix(1,types,types) , directed = FALSE , loops = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "preference.game()", "sample_pref()") + sample_pref(nodes = nodes, types = types, type.dist = type.dist, fixed.sizes = fixed.sizes, pref.matrix = pref.matrix, directed = directed, loops = loops) +} # nocov end + #' @rdname sample_pref #' @param ... Passed to the constructor, `sample_pref()` or #' `sample_asym_pref()`. @@ -1042,6 +1200,21 @@ sample_asym_pref <- function(nodes, types, res[[1]] } +#' Trait-based random generation +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `asymmetric.preference.game()` was renamed to `sample_asym_pref()` to create a more +#' consistent API. +#' @inheritParams sample_asym_pref +#' @keywords internal +#' @export +asymmetric.preference.game <- function(nodes , types , type.dist.matrix = matrix(1,types,types) , pref.matrix = matrix(1,types,types) , loops = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "asymmetric.preference.game()", "sample_asym_pref()") + sample_asym_pref(nodes = nodes, types = types, type.dist.matrix = type.dist.matrix, pref.matrix = pref.matrix, loops = loops) +} # nocov end + #' @rdname sample_pref #' @export asym_pref <- function(...) constructor_spec(sample_asym_pref, ...) @@ -1069,6 +1242,21 @@ connect <- function(graph, order, mode = c("all", "out", "in", "total")) { ) } +#' Neighborhood of graph vertices +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `connect.neighborhood()` was renamed to `connect()` to create a more +#' consistent API. +#' @inheritParams connect +#' @keywords internal +#' @export +connect.neighborhood <- function(graph , order , mode = c("all","out","in","total")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "connect.neighborhood()", "connect()") + connect(graph = graph, order = order, mode = mode) +} # nocov end + #' The Watts-Strogatz small-world model #' @@ -1092,7 +1280,6 @@ connect <- function(graph, order, mode = c("all", "out", "in", "total")) { #' simultaneously having short path lengths and high clustering. #' #' -#' @aliases watts.strogatz.game #' @param dim Integer constant, the dimension of the starting lattice. #' @param size Integer constant, the size of the lattice along each dimension. #' @param nei Integer constant, the neighborhood within which the vertices of @@ -1136,6 +1323,21 @@ sample_smallworld <- function(dim, size, nei, p, loops = FALSE, res } +#' The Watts-Strogatz small-world model +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `watts.strogatz.game()` was renamed to `sample_smallworld()` to create a more +#' consistent API. +#' @inheritParams sample_smallworld +#' @keywords internal +#' @export +watts.strogatz.game <- function(dim , size , nei , p , loops = FALSE , multiple = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "watts.strogatz.game()", "sample_smallworld()") + sample_smallworld(dim = dim, size = size, nei = nei, p = p, loops = loops, multiple = multiple) +} # nocov end + #' @rdname sample_smallworld #' @param ... Passed to `sample_smallworld()`. #' @family games @@ -1157,7 +1359,6 @@ smallworld <- function(...) constructor_spec(sample_smallworld, ...) #' but the probability of an edge depends on the (potentially) cited #' vertex only. #' -#' @aliases cited.type.game citing.cited.type.game lastcit.game #' @param n Number of vertices. #' @param edges Number of edges per step. #' @param agebins Number of aging bins. @@ -1190,6 +1391,21 @@ sample_last_cit <- function(n, edges = 1, agebins = n / 7100, pref = (1:(agebins res } +#' Random citation graphs +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `lastcit.game()` was renamed to `sample_last_cit()` to create a more +#' consistent API. +#' @inheritParams sample_last_cit +#' @keywords internal +#' @export +lastcit.game <- function(n , edges = 1 , agebins = n/7100 , pref = (1:(agebins+1))^-3 , directed = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "lastcit.game()", "sample_last_cit()") + sample_last_cit(n = n, edges = edges, agebins = agebins, pref = pref, directed = directed) +} # nocov end + #' @rdname sample_last_cit #' @param ... Passed to the actual constructor. #' @export @@ -1215,6 +1431,21 @@ sample_cit_types <- function(n, edges = 1, types = rep(0, n), res } +#' Random citation graphs +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `cited.type.game()` was renamed to `sample_cit_types()` to create a more +#' consistent API. +#' @inheritParams sample_cit_types +#' @keywords internal +#' @export +cited.type.game <- function(n , edges = 1 , types = rep(0,n) , pref = rep(1,length(types)) , directed = TRUE , attr = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "cited.type.game()", "sample_cit_types()") + sample_cit_types(n = n, edges = edges, types = types, pref = pref, directed = directed, attr = attr) +} # nocov end + #' @rdname sample_last_cit #' @export cit_types <- function(...) constructor_spec(sample_cit_types, ...) @@ -1244,6 +1475,21 @@ sample_cit_cit_types <- function(n, edges = 1, types = rep(0, n), res } +#' Random citation graphs +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `citing.cited.type.game()` was renamed to `sample_cit_cit_types()` to create a more +#' consistent API. +#' @inheritParams sample_cit_cit_types +#' @keywords internal +#' @export +citing.cited.type.game <- function(n , edges = 1 , types = rep(0,n) , pref = matrix(1,nrow=length(types),ncol=length(types)) , directed = TRUE , attr = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "citing.cited.type.game()", "sample_cit_cit_types()") + sample_cit_cit_types(n = n, edges = edges, types = types, pref = pref, directed = directed, attr = attr) +} # nocov end + #' @rdname sample_last_cit #' @export cit_cit_types <- function(...) constructor_spec(sample_cit_cit_types, ...) @@ -1261,7 +1507,6 @@ cit_cit_types <- function(...) constructor_spec(sample_cit_cit_types, ...) #' with probability \eqn{p}, independently of the rest of the edges. In \eqn{G(n,m)}, we #' uniformly choose \eqn{m} edges to realize. #' -#' @aliases bipartite.random.game #' @param n1 Integer scalar, the number of bottom vertices. #' @param n2 Integer scalar, the number of top vertices. #' @param type Character scalar, the type of the graph, \sQuote{gnp} creates a @@ -1345,6 +1590,21 @@ sample_bipartite <- function(n1, n2, type = c("gnp", "gnm"), p, m, res } +#' Bipartite random graphs +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `bipartite.random.game()` was renamed to `sample_bipartite()` to create a more +#' consistent API. +#' @inheritParams sample_bipartite +#' @keywords internal +#' @export +bipartite.random.game <- function(n1 , n2 , type = c("gnp","gnm") , p , m , directed = FALSE , mode = c("out","in","all")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "bipartite.random.game()", "sample_bipartite()") + sample_bipartite(n1 = n1, n2 = n2, type = type, p = p, m = m, directed = directed, mode = mode) +} # nocov end + #' @rdname sample_bipartite #' @param ... Passed to `sample_bipartite()`. #' @family games @@ -1362,7 +1622,6 @@ bipartite <- function(...) constructor_spec(sample_bipartite, ...) #' The order of the vertices in the generated graph corresponds to the #' `block.sizes` argument. #' -#' @aliases sbm.game #' @param n Number of vertices in the graph. #' @param pref.matrix The matrix giving the Bernoulli rates. This is a #' \eqn{K\times K}{KxK} matrix, where \eqn{K} is the number of groups. The @@ -1532,7 +1791,6 @@ dot_product <- function(...) constructor_spec(sample_dot_product, ...) #' oc #' } #' -#' @aliases interconnected.islands.game #' @param islands.n The number of islands in the graph. #' @param islands.size The size of islands in the graph. #' @param islands.pin The probability to create each possible edge into each @@ -1558,7 +1816,6 @@ sample_islands <- simple_interconnected_islands_game_impl #' The game simply uses [sample_degseq()] with appropriately #' constructed degree sequences. #' -#' @aliases k.regular.game #' @param no.of.nodes Integer scalar, the number of vertices in the generated #' graph. #' @param k Integer scalar, the degree of each vertex in the graph, or the @@ -1618,7 +1875,6 @@ sample_k_regular <- k_regular_game_impl #' distribution. Alternatively, you may use [sample_fitness_pl()] #' which generates the fitnesses for you with a given exponent. #' -#' @aliases static.fitness.game #' @param no.of.edges The number of edges in the generated graph. #' @param fitness.out A numeric vector containing the fitness of each vertex. #' For directed graphs, this specifies the out-fitness of each vertex. @@ -1676,7 +1932,6 @@ sample_fitness <- static_fitness_game_impl #' the square root of the number of edges times the average degree; see the #' paper of Chung and Lu, and Cho et al for more details. #' -#' @aliases static.power.law.game #' @param no.of.nodes The number of vertices in the generated graph. #' @param no.of.edges The number of edges in the generated graph. #' @param exponent.out Numeric scalar, the power law exponent of the degree @@ -1739,7 +1994,6 @@ sample_fitness_pl <- static_power_law_game_impl #' available then we cite all of them. \item The same procedure is applied to #' all the newly cited vertices. } #' -#' @aliases forest.fire.game #' @param nodes The number of vertices in the graph. #' @param fw.prob The forward burning probability, see details below. #' @param bw.factor The backward burning ratio. The backward burning diff --git a/R/glet.R b/R/glet.R index 23d396463d4..35a7d2c3ce3 100644 --- a/R/glet.R +++ b/R/glet.R @@ -15,7 +15,6 @@ #' the algorithm, and they are useful if the user wishes to perform them #' individually: `graphlet_basis()` and `graphlet_proj()`. #' -#' @aliases graphlets.project graphlets.candidate.basis #' @param graph The input graph, edge directions are ignored. Only simple graph #' (i.e. graphs without self-loops and multiple edges) are supported. #' @param weights Edge weights. If the graph has a `weight` edge attribute @@ -100,6 +99,21 @@ graphlet_basis <- function(graph, weights = NULL) { res } +#' Graphlet decomposition of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graphlets.candidate.basis()` was renamed to `graphlet_basis()` to create a more +#' consistent API. +#' @inheritParams graphlet_basis +#' @keywords internal +#' @export +graphlets.candidate.basis <- function(graph , weights = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graphlets.candidate.basis()", "graphlet_basis()") + graphlet_basis(graph = graph, weights = weights) +} # nocov end + #' @rdname graphlet_basis #' @export graphlet_proj <- function(graph, weights = NULL, cliques, niter = 1000, @@ -124,6 +138,21 @@ graphlet_proj <- function(graph, weights = NULL, cliques, niter = 1000, res } +#' Graphlet decomposition of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graphlets.project()` was renamed to `graphlet_proj()` to create a more +#' consistent API. +#' @inheritParams graphlet_proj +#' @keywords internal +#' @export +graphlets.project <- function(graph , weights = NULL , cliques , niter = 1000 , Mu = rep(1,length(cliques))) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graphlets.project()", "graphlet_proj()") + graphlet_proj(graph = graph, weights = weights, cliques = cliques, niter = niter, Mu = Mu) +} # nocov end + ################# ## Example code diff --git a/R/hrg.R b/R/hrg.R index c0626d2671f..b196e841f90 100644 --- a/R/hrg.R +++ b/R/hrg.R @@ -55,7 +55,6 @@ NULL #' `start` argument is `TRUE`. It can be converted to the `hclust` class using #' `as.hclust()` provided in this package. #' -#' @aliases hrg.fit #' @param graph The graph to fit the model to. Edge directions are ignored in #' directed graphs. #' @param hrg A hierarchical random graph model, in the form of an @@ -140,6 +139,21 @@ fit_hrg <- function(graph, hrg = NULL, start = FALSE, steps = 0) { res } +#' Fit a hierarchical random graph model +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `hrg.fit()` was renamed to `fit_hrg()` to create a more +#' consistent API. +#' @inheritParams fit_hrg +#' @keywords internal +#' @export +hrg.fit <- function(graph , hrg = NULL , start = FALSE , steps = 0) { # nocov start + lifecycle::deprecate_soft("1.6.0", "hrg.fit()", "fit_hrg()") + fit_hrg(graph = graph, hrg = hrg, start = start, steps = steps) +} # nocov end + #' Create a consensus tree from several hierarchical random graph models #' @@ -149,7 +163,6 @@ fit_hrg <- function(graph, hrg = NULL, start = FALSE, steps = 0) { #' sampling from the given HRG. Otherwise it optimizes the HRG log-likelihood #' first, and then samples starting from the optimum. #' -#' @aliases hrg.consensus #' @param graph The graph the models were fitted to. #' @param hrg A hierarchical random graph model, in the form of an #' `igraphHRG` object. `consensus_tree()` allows this to be @@ -182,7 +195,6 @@ consensus_tree <- hrg_consensus_impl #' vertices. The `prob` argument contains the HRG probability labels #' for each vertex; these are ignored for leaf vertices. #' -#' @aliases hrg.create #' @param graph The igraph graph to create the HRG from. #' @param prob A vector of probabilities, one for each vertex, in the order of #' vertex ids. @@ -211,7 +223,6 @@ hrg_tree <- hrg_dendrogram_impl #' `sample_hrg()` samples a graph from a given hierarchical random graph #' model. #' -#' @aliases hrg.game #' @param hrg A hierarchical random graph model. #' @return An igraph graph. #' @@ -228,7 +239,6 @@ sample_hrg <- hrg_game_impl #' argument is set to `TRUE`. Otherwise a HRG is fitted to the graph #' first. #' -#' @aliases hrg.predict #' @param graph The graph to fit the model to. Edge directions are ignored in #' directed graphs. #' @param hrg A hierarchical random graph model, in the form of an @@ -306,6 +316,21 @@ predict_edges <- function(graph, hrg = NULL, start = FALSE, num.samples = 10000, res } +#' Predict edges based on a hierarchical random graph model +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `hrg.predict()` was renamed to `predict_edges()` to create a more +#' consistent API. +#' @inheritParams predict_edges +#' @keywords internal +#' @export +hrg.predict <- function(graph , hrg = NULL , start = FALSE , num.samples = 10000 , num.bins = 25) { # nocov start + lifecycle::deprecate_soft("1.6.0", "hrg.predict()", "predict_edges()") + predict_edges(graph = graph, hrg = hrg, start = start, num.samples = num.samples, num.bins = num.bins) +} # nocov end + #' Conversion to igraph @@ -574,7 +599,6 @@ rlang::on_load(s3_register("ape::as.phylo", "igraphHRG")) #' plot_dendrogram(x, \dots) #' } The extra arguments are simply passed to [as.dendrogram()]. #' -#' @aliases hrg.dendrogram #' @param x An `igraphHRG`, a hierarchical random graph, as returned by #' the [fit_hrg()] function. #' @param mode Which dendrogram plotting function to use. See details below. @@ -607,6 +631,21 @@ plot_dendrogram.igraphHRG <- function(x, mode = igraph_opt("dend.plot.type"), .. } } +#' HRG dendrogram plot +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `dendPlot.igraphHRG()` was renamed to `plot_dendrogram.igraphHRG()` to create a more +#' consistent API. +#' @inheritParams plot_dendrogram.igraphHRG +#' @keywords internal +#' @export +dendPlot.igraphHRG <- function(x , mode = igraph_opt("dend.plot.type") , ...) { # nocov start + lifecycle::deprecate_soft("1.6.0", "dendPlot.igraphHRG()", "plot_dendrogram.igraphHRG()") + plot_dendrogram.igraphHRG(x = x, mode = mode, ...) +} # nocov end + #' @importFrom graphics plot #' @importFrom grDevices rainbow #' @importFrom stats rect.hclust diff --git a/R/incidence.R b/R/incidence.R index fcffb34e49c..405f59c260a 100644 --- a/R/incidence.R +++ b/R/incidence.R @@ -153,7 +153,6 @@ graph.incidence.dense <- function(incidence, directed, mode, multiple, #' the closest non-negative integer to get the number of edges to create #' between a pair of vertices. #' -#' @aliases graph.incidence #' @param incidence The input bipartite adjacency matrix. It can also be a sparse matrix #' from the `Matrix` package. #' @param directed Logical scalar, whether to create a directed graph. @@ -248,6 +247,21 @@ graph_from_biadjacency_matrix <- function(incidence, directed = FALSE, } res } + +#' Create graphs from a bipartite adjacency matrix +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.incidence()` was renamed to `graph_from_biadjacency_matrix()` to create a more +#' consistent API. +#' @inheritParams graph_from_biadjacency_matrix +#' @keywords internal +#' @export +graph.incidence <- function(incidence , directed = FALSE , mode = c("all","out","in","total") , multiple = FALSE , weighted = NULL , add.names = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.incidence()", "graph_from_biadjacency_matrix()") + graph_from_biadjacency_matrix(incidence = incidence, directed = directed, mode = mode, multiple = multiple, weighted = weighted, add.names = add.names) +} # nocov end #' Graph from incidence matrix #' #' @description diff --git a/R/interface.R b/R/interface.R index 2fb5b7d3825..28c1c75a0ec 100644 --- a/R/interface.R +++ b/R/interface.R @@ -46,7 +46,6 @@ #' #' @export #' -#' @aliases add.edges #' @family functions for manipulating graph structure #' #' @examples @@ -92,6 +91,21 @@ add_edges <- function(graph, edges, ..., attr = list()) { graph } +#' Add edges to a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `add.edges()` was renamed to `add_edges()` to create a more +#' consistent API. +#' @inheritParams add_edges +#' @keywords internal +#' @export +add.edges <- function(graph , edges , ... , attr = list()) { # nocov start + lifecycle::deprecate_soft("1.6.0", "add.edges()", "add_edges()") + add_edges(graph = graph, edges = edges, attr = attr, ...) +} # nocov end + #' Add vertices to a graph #' #' If attributes are supplied, and they are not present in the graph, @@ -108,7 +122,6 @@ add_edges <- function(graph, edges, ..., attr = list()) { #' below. #' @return The graph, with the vertices (and attributes) added. #' -#' @aliases add.vertices #' @family functions for manipulating graph structure #' #' @export @@ -156,6 +169,21 @@ add_vertices <- function(graph, nv, ..., attr = list()) { graph } +#' Add vertices to a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `add.vertices()` was renamed to `add_vertices()` to create a more +#' consistent API. +#' @inheritParams add_vertices +#' @keywords internal +#' @export +add.vertices <- function(graph , nv , ... , attr = list()) { # nocov start + lifecycle::deprecate_soft("1.6.0", "add.vertices()", "add_vertices()") + add_vertices(graph = graph, nv = nv, attr = attr, ...) +} # nocov end + #' Delete edges from a graph #' #' @param graph The input graph. @@ -165,7 +193,6 @@ add_vertices <- function(graph, nv, ..., attr = list()) { #' `|` #' @return The graph, with the edges removed. #' -#' @aliases delete.edges #' @family functions for manipulating graph structure #' #' @export @@ -188,13 +215,27 @@ delete_edges <- function(graph, edges) { .Call(R_igraph_delete_edges, graph, as_igraph_es(graph, edges) - 1) } +#' Delete edges from a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `delete.edges()` was renamed to `delete_edges()` to create a more +#' consistent API. +#' @inheritParams delete_edges +#' @keywords internal +#' @export +delete.edges <- function(graph , edges) { # nocov start + lifecycle::deprecate_soft("1.6.0", "delete.edges()", "delete_edges()") + delete_edges(graph = graph, edges = edges) +} # nocov end + #' Delete vertices from a graph #' #' @param graph The input graph. #' @param v The vertices to remove, a vertex sequence. #' @return The graph, with the vertices removed. #' -#' @aliases delete.vertices #' @family functions for manipulating graph structure #' #' @export @@ -215,6 +256,21 @@ delete_vertices <- function(graph, v) { .Call(R_igraph_delete_vertices, graph, as_igraph_vs(graph, v) - 1) } +#' Delete vertices from a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `delete.vertices()` was renamed to `delete_vertices()` to create a more +#' consistent API. +#' @inheritParams delete_vertices +#' @keywords internal +#' @export +delete.vertices <- function(graph , v) { # nocov start + lifecycle::deprecate_soft("1.6.0", "delete.vertices()", "delete_vertices()") + delete_vertices(graph = graph, v = v) +} # nocov end + ################################################################### # Structure query ################################################################### @@ -338,7 +394,6 @@ incident <- function(graph, v, mode = c("all", "out", "in", "total")) { #' @param graph The input graph #' @return Logical scalar, whether the graph is directed. #' -#' @aliases is.directed #' @family structural queries #' #' @export @@ -355,6 +410,21 @@ is_directed <- function(graph) { .Call(R_igraph_is_directed, graph) } +#' Check whether a graph is directed +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `is.directed()` was renamed to `is_directed()` to create a more +#' consistent API. +#' @inheritParams is_directed +#' @keywords internal +#' @export +is.directed <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "is.directed()", "is_directed()") + is_directed(graph = graph) +} # nocov end + #' Incident vertices of some graph edges #' #' @param graph The input graph diff --git a/R/iterators.R b/R/iterators.R index fb490d6f71e..0933cdccc75 100644 --- a/R/iterators.R +++ b/R/iterators.R @@ -331,7 +331,7 @@ E <- function(graph, P = NULL, path = NULL, directed = TRUE) { if ("name" %in% edge_attr_names(graph)) { names(res) <- edge_attr(graph)$name[res] } - if (is.named(graph)) { + if (is_named(graph)) { el <- ends(graph, es = res) attr(res, "vnames") <- paste(el[, 1], el[, 2], sep = "|") } diff --git a/R/layout.R b/R/layout.R index 15b9973ccca..e29f8ee2213 100644 --- a/R/layout.R +++ b/R/layout.R @@ -247,7 +247,6 @@ normalize <- function(xmin = -1, xmax = 1, ymin = xmin, ymax = xmax, #' edge crossings, using the Sugiyama algorithm (see #' [layout_with_sugiyama()]). #' -#' @aliases layout.bipartite #' @param graph The bipartite input graph. It should have a logical #' \sQuote{`type`} vertex attribute, or the `types` argument must be #' given. @@ -297,6 +296,21 @@ layout_as_bipartite <- function(graph, types = NULL, hgap = 1, vgap = 1, res } +#' Simple two-row layout for bipartite graphs +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `layout.bipartite()` was renamed to `layout_as_bipartite()` to create a more +#' consistent API. +#' @inheritParams layout_as_bipartite +#' @keywords internal +#' @export +layout.bipartite <- function(graph , types = NULL , hgap = 1 , vgap = 1 , maxiter = 100) { # nocov start + lifecycle::deprecate_soft("1.6.0", "layout.bipartite()", "layout_as_bipartite()") + layout_as_bipartite(graph = graph, types = types, hgap = hgap, vgap = vgap, maxiter = maxiter) +} # nocov end + #' @rdname layout_as_bipartite #' @param ... Arguments to pass to `layout_as_bipartite()`. @@ -315,7 +329,6 @@ as_bipartite <- function(...) layout_spec(layout_as_bipartite, ...) #' It is possible to choose the vertex that will be in the center, and the #' order of the vertices can be also given. #' -#' @aliases layout.star #' @param graph The graph to layout. #' @param center The id of the vertex to put in the center. By default it is #' the first vertex. @@ -358,6 +371,21 @@ layout_as_star <- function(graph, center = V(graph)[1], order = NULL) { res } +#' Generate coordinates to place the vertices of a graph in a star-shape +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `layout.star()` was renamed to `layout_as_star()` to create a more +#' consistent API. +#' @inheritParams layout_as_star +#' @keywords internal +#' @export +layout.star <- function(graph , center = V(graph)[1] , order = NULL) { # nocov start + lifecycle::deprecate_soft("1.6.0", "layout.star()", "layout_as_star()") + layout_as_star(graph = graph, center = center, order = order) +} # nocov end + #' @rdname layout_as_star #' @param ... Arguments to pass to `layout_as_star()`. @@ -548,7 +576,6 @@ layout.circle <- function(..., params = list()) { #' forward the weights to these functions and issue a warning about this. You #' can use `weights = NA` to silence the warning. #' -#' @aliases layout.auto #' @param graph The input graph #' @param dim Dimensions, should be 2 or 3. #' @param \dots For `layout_nicely()` the extra arguments are passed to @@ -610,6 +637,21 @@ layout_nicely <- function(graph, dim = 2, ...) { } } +#' Choose an appropriate graph layout algorithm automatically +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `layout.auto()` was renamed to `layout_nicely()` to create a more +#' consistent API. +#' @inheritParams layout_nicely +#' @keywords internal +#' @export +layout.auto <- function(graph , dim = 2 , ...) { # nocov start + lifecycle::deprecate_soft("1.6.0", "layout.auto()", "layout_nicely()") + layout_nicely(graph = graph, dim = dim, ...) +} # nocov end + #' @rdname layout_nicely #' @export @@ -628,7 +670,7 @@ nicely <- function(...) layout_spec(layout_nicely, ...) #' other. If you want to change the order of the vertices, then see the #' [permute()] function. #' -#' @aliases layout.grid layout.grid.3d +#' @aliases layout.grid.3d #' @param graph The input graph. #' @param width The number of vertices in a single row of the grid. If this is #' zero or negative, then for 2d layouts the width of the grid will be the @@ -677,6 +719,21 @@ layout_on_grid <- function(graph, width = 0, height = 0, dim = 2) { res } +#' Simple grid layout +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `layout.grid()` was renamed to `layout_on_grid()` to create a more +#' consistent API. +#' @inheritParams layout_on_grid +#' @keywords internal +#' @export +layout.grid <- function(graph , width = 0 , height = 0 , dim = 2) { # nocov start + lifecycle::deprecate_soft("1.6.0", "layout.grid()", "layout_on_grid()") + layout_on_grid(graph = graph, width = width, height = height, dim = dim) +} # nocov end + #' @rdname layout_on_grid #' @param ... Passed to `layout_on_grid()`. @@ -820,7 +877,6 @@ layout.random <- function(..., params = list()) { #' possible. The only major difference is that coordinates are explicitly kept #' within the bounds of the rectangle of the layout. #' -#' @aliases layout.davidson.harel #' @param graph The graph to lay out. Edge directions are ignored. #' @param coords Optional starting positions for the vertices. If this argument #' is not `NULL` then it should be an appropriate matrix of starting @@ -938,6 +994,21 @@ layout_with_dh <- function(graph, coords = NULL, maxiter = 10, res } +#' The Davidson-Harel layout algorithm +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `layout.davidson.harel()` was renamed to `layout_with_dh()` to create a more +#' consistent API. +#' @inheritParams layout_with_dh +#' @keywords internal +#' @export +layout.davidson.harel <- function(graph , coords = NULL , maxiter = 10 , fineiter = max(10,log2(vcount(graph))) , cool.fact = 0.75 , weight.node.dist = 1.0 , weight.border = 0.0 , weight.edge.lengths = edge_density(graph)/10 , weight.edge.crossings = 1.0-sqrt(edge_density(graph)) , weight.node.edge.dist = 0.2*(1-edge_density(graph))) { # nocov start + lifecycle::deprecate_soft("1.6.0", "layout.davidson.harel()", "layout_with_dh()") + layout_with_dh(graph = graph, coords = coords, maxiter = maxiter, fineiter = fineiter, cool.fact = cool.fact, weight.node.dist = weight.node.dist, weight.border = weight.border, weight.edge.lengths = weight.edge.lengths, weight.edge.crossings = weight.edge.crossings, weight.node.edge.dist = weight.node.edge.dist) +} # nocov end + #' @rdname layout_with_dh #' @param ... Passed to `layout_with_dh()`. @@ -1118,7 +1189,6 @@ layout.fruchterman.reingold <- function(..., params = list()) { #' #' See the referenced paper below for the details of the algorithm. #' -#' @aliases layout.gem #' @param graph The input graph. Edge directions are ignored. #' @param coords If not `NULL`, then the starting coordinates should be #' given here, in a two or three column matrix, depending on the `dim` @@ -1179,6 +1249,21 @@ layout_with_gem <- function(graph, coords = NULL, maxiter = 40 * vcount(graph)^2 res } +#' The GEM layout algorithm +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `layout.gem()` was renamed to `layout_with_gem()` to create a more +#' consistent API. +#' @inheritParams layout_with_gem +#' @keywords internal +#' @export +layout.gem <- function(graph , coords = NULL , maxiter = 40*vcount(graph)^2 , temp.max = max(vcount(graph),1) , temp.min = 1/10 , temp.init = sqrt(max(vcount(graph),1))) { # nocov start + lifecycle::deprecate_soft("1.6.0", "layout.gem()", "layout_with_gem()") + layout_with_gem(graph = graph, coords = coords, maxiter = maxiter, temp.max = temp.max, temp.min = temp.min, temp.init = temp.init) +} # nocov end + #' @rdname layout_with_gem #' @param ... Passed to `layout_with_gem()`. @@ -1206,7 +1291,6 @@ with_gem <- function(...) layout_spec(layout_with_gem, ...) #' #' See also for the original graphopt. #' -#' @aliases layout.graphopt #' @param graph The input graph. #' @param start If given, then it should be a matrix with two columns and one #' line for each vertex. This matrix will be used as starting positions for the @@ -1253,6 +1337,21 @@ layout_with_graphopt <- function(graph, start = NULL, niter = 500, charge = 0.00 ) } +#' The graphopt layout algorithm +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `layout.graphopt()` was renamed to `layout_with_graphopt()` to create a more +#' consistent API. +#' @inheritParams layout_with_graphopt +#' @keywords internal +#' @export +layout.graphopt <- function(graph , start = NULL , niter = 500 , charge = 0.001 , mass = 30 , spring.length = 0 , spring.constant = 1 , max.sa.movement = 5) { # nocov start + lifecycle::deprecate_soft("1.6.0", "layout.graphopt()", "layout_with_graphopt()") + layout_with_graphopt(graph = graph, start = start, niter = niter, charge = charge, mass = mass, spring.length = spring.length, spring.constant = spring.constant, max.sa.movement = max.sa.movement) +} # nocov end + #' @rdname layout_with_graphopt #' @param ... Passed to `layout_with_graphopt()`. @@ -1492,7 +1591,6 @@ layout.lgl <- function(..., params = list()) { #' This function generates the layout separately for each graph component and #' then merges them via [merge_coords()]. #' -#' @aliases layout.mds #' @param graph The input graph. #' @param dist The distance matrix for the multidimensional scaling. If #' `NULL` (the default), then the unweighted shortest path matrix is used. @@ -1540,6 +1638,21 @@ layout_with_mds <- function(graph, dist = NULL, dim = 2, res } +#' Graph layout by multidimensional scaling +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `layout.mds()` was renamed to `layout_with_mds()` to create a more +#' consistent API. +#' @inheritParams layout_with_mds +#' @keywords internal +#' @export +layout.mds <- function(graph , dist = NULL , dim = 2 , options = arpack_defaults()) { # nocov start + lifecycle::deprecate_soft("1.6.0", "layout.mds()", "layout_with_mds()") + layout_with_mds(graph = graph, dist = dist, dim = dim, options = options) +} # nocov end + #' @rdname layout_with_mds #' @param ... Passed to `layout_with_mds()`. @@ -1575,7 +1688,6 @@ with_mds <- function(...) layout_spec(layout_with_mds, ...) #' #' For more details, see the reference below. #' -#' @aliases layout.sugiyama #' @param graph The input graph. #' @param layers A numeric vector or `NULL`. If not `NULL`, then it #' should specify the layer index of the vertices. Layers are numbered from @@ -1874,6 +1986,21 @@ layout_with_sugiyama <- function(graph, layers = NULL, hgap = 1, vgap = 1, res } +#' The Sugiyama graph layout generator +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `layout.sugiyama()` was renamed to `layout_with_sugiyama()` to create a more +#' consistent API. +#' @inheritParams layout_with_sugiyama +#' @keywords internal +#' @export +layout.sugiyama <- function(graph , layers = NULL , hgap = 1 , vgap = 1 , maxiter = 100 , weights = NULL , attributes = c("default","all","none")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "layout.sugiyama()", "layout_with_sugiyama()") + layout_with_sugiyama(graph = graph, layers = layers, hgap = hgap, vgap = vgap, maxiter = maxiter, weights = weights, attributes = attributes) +} # nocov end + #' @rdname layout_with_sugiyama #' @param ... Passed to `layout_with_sugiyama()`. @@ -1906,7 +2033,6 @@ with_sugiyama <- function(...) layout_spec(layout_with_sugiyama, ...) #' for each component separately. Finally it merges the layouts via calling #' `merge_coords()`. #' -#' @aliases layout.merge piecewise.layout #' @param graphs A list of graph objects. #' @param layouts A list of two-column matrices. #' @param method Character constant giving the method to use. Right now only @@ -1947,6 +2073,21 @@ merge_coords <- function(graphs, layouts, method = "dla") { res } +#' Merging graph layouts +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `layout.merge()` was renamed to `merge_coords()` to create a more +#' consistent API. +#' @inheritParams merge_coords +#' @keywords internal +#' @export +layout.merge <- function(graphs , layouts , method = "dla") { # nocov start + lifecycle::deprecate_soft("1.6.0", "layout.merge()", "merge_coords()") + merge_coords(graphs = graphs, layouts = layouts, method = method) +} # nocov end + #' Normalize coordinates for plotting graphs @@ -1956,7 +2097,6 @@ merge_coords <- function(graphs, layouts, method = "dla") { #' `norm_coords()` normalizes a layout, it linearly transforms each #' coordinate separately to fit into the given limits. #' -#' @aliases layout.norm #' @param layout A matrix with two or three columns, the layout to normalize. #' @param xmin,xmax The limits for the first coordinate, if one of them or both #' are `NULL` then no normalization is performed along this direction. @@ -1994,6 +2134,21 @@ norm_coords <- function(layout, xmin = -1, xmax = 1, ymin = -1, ymax = 1, layout } +#' Normalize coordinates for plotting graphs +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `layout.norm()` was renamed to `norm_coords()` to create a more +#' consistent API. +#' @inheritParams norm_coords +#' @keywords internal +#' @export +layout.norm <- function(layout , xmin = -1 , xmax = 1 , ymin = -1 , ymax = 1 , zmin = -1 , zmax = 1) { # nocov start + lifecycle::deprecate_soft("1.6.0", "layout.norm()", "norm_coords()") + norm_coords(layout = layout, xmin = xmin, xmax = xmax, ymin = ymin, ymax = ymax, zmin = zmin, zmax = zmax) +} # nocov end + .layout.norm.col <- function(v, min, max) { vr <- range(v) if (vr[1] == vr[2]) { @@ -2006,7 +2161,6 @@ norm_coords <- function(layout, xmin = -1, xmax = 1, ymin = -1, ymax = 1, } #' @rdname merge_coords -#' @aliases piecewise.layout #' @param graph The input graph. #' @export layout_components <- function(graph, layout = layout_with_kk, ...) { @@ -2021,6 +2175,21 @@ layout_components <- function(graph, layout = layout_with_kk, ...) { l } +#' Merging graph layouts +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `piecewise.layout()` was renamed to `layout_components()` to create a more +#' consistent API. +#' @inheritParams layout_components +#' @keywords internal +#' @export +piecewise.layout <- function(graph , layout = layout_with_kk , ...) { # nocov start + lifecycle::deprecate_soft("1.6.0", "piecewise.layout()", "layout_components()") + layout_components(graph = graph, layout = layout, ...) +} # nocov end + #' Spring layout, this was removed from igraph #' #' Now it calls the Fruchterman-Reingold layout, with a warning. diff --git a/R/layout_drl.R b/R/layout_drl.R index 84bb912e2e7..a9a0a4c407a 100644 --- a/R/layout_drl.R +++ b/R/layout_drl.R @@ -42,8 +42,8 @@ #' `drl_defaults$coarsest`, `drl_defaults$refine` and #' `drl_defaults$final`. } #' -#' @aliases layout.drl drl_defaults igraph.drl.coarsen -#' igraph.drl.coarsest igraph.drl.default igraph.drl.final +#' @aliases drl_defaults igraph.drl.coarsen +#' @aliases igraph.drl.coarsest igraph.drl.default igraph.drl.final #' igraph.drl.refine #' @param graph The input graph, in can be directed or undirected. #' @param use.seed Logical scalar, whether to use the coordinates given in the @@ -121,6 +121,21 @@ layout_with_drl <- function(graph, use.seed = FALSE, res } +#' The DrL graph layout generator +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `layout.drl()` was renamed to `layout_with_drl()` to create a more +#' consistent API. +#' @inheritParams layout_with_drl +#' @keywords internal +#' @export +layout.drl <- function(graph , use.seed = FALSE , seed = matrix(runif(vcount(graph)*2),ncol=2) , options = drl_defaults$default , weights = NULL , dim = 2) { # nocov start + lifecycle::deprecate_soft("1.6.0", "layout.drl()", "layout_with_drl()") + layout_with_drl(graph = graph, use.seed = use.seed, seed = seed, options = options, weights = weights, dim = dim) +} # nocov end + #' @rdname layout_with_drl #' @param ... Passed to `layout_with_drl()`. diff --git a/R/make.R b/R/make.R index 92e07196250..55c3ee24da8 100644 --- a/R/make.R +++ b/R/make.R @@ -506,7 +506,6 @@ with_graph_ <- function(...) { #' groups, Journal of Anthropological Research 33, 452-473 (1977). } } #' #' @encoding UTF-8 -#' @aliases graph.famous graph #' @param edges A vector defining the edges, the first edge points #' from the first element to the second, the second edge from the third #' to the fourth, etc. For a numeric vector, these are interpreted @@ -644,6 +643,36 @@ make_graph <- function(edges, ..., n = max(edges), isolates = NULL, } } +#' Create an igraph graph from a list of edges, or a notable graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph()` was renamed to `make_graph()` to create a more +#' consistent API. +#' @inheritParams make_graph +#' @keywords internal +#' @export +graph <- function(edges , ... , n = max(edges) , isolates = NULL , directed = TRUE , dir = directed , simplify = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph()", "make_graph()") + make_graph(edges = edges, n = n, isolates = isolates, directed = directed, dir = dir, simplify = simplify, ...) +} # nocov end + +#' Create an igraph graph from a list of edges, or a notable graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.famous()` was renamed to `make_graph()` to create a more +#' consistent API. +#' @inheritParams make_graph +#' @keywords internal +#' @export +graph.famous <- function(edges , ... , n = max(edges) , isolates = NULL , directed = TRUE , dir = directed , simplify = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.famous()", "make_graph()") + make_graph(edges = edges, n = n, isolates = isolates, directed = directed, dir = dir, simplify = simplify, ...) +} # nocov end + make_famous_graph <- function(name) { name <- gsub("\\s", "_", name) @@ -687,7 +716,6 @@ undirected_graph <- function(...) constructor_spec(make_undirected_graph, ...) #' A graph with no edges #' -#' @aliases graph.empty #' @concept Empty graph. #' @param n Number of vertices. #' @param directed Whether to create a directed graph. @@ -718,6 +746,21 @@ make_empty_graph <- function(n = 0, directed = TRUE) { res } +#' A graph with no edges +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.empty()` was renamed to `make_empty_graph()` to create a more +#' consistent API. +#' @inheritParams make_empty_graph +#' @keywords internal +#' @export +graph.empty <- function(n = 0 , directed = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.empty()", "make_empty_graph()") + make_empty_graph(n = n, directed = directed) +} # nocov end + #' @rdname make_empty_graph #' @param ... Passed to `make_graph_empty`. #' @export @@ -797,7 +840,6 @@ empty_graph <- function(...) constructor_spec(make_empty_graph, ...) #' #' See more examples below. #' -#' @aliases graph.formula #' @param ... For `graph_from_literal()` the formulae giving the #' structure of the graph, see details below. For `from_literal()` #' all arguments are passed to `graph_from_literal()`. @@ -846,6 +888,21 @@ graph_from_literal <- function(..., simplify = TRUE) { graph_from_literal_i(mf) } +#' Creating (small) graphs via a simple interface +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.formula()` was renamed to `graph_from_literal()` to create a more +#' consistent API. +#' @inheritParams graph_from_literal +#' @keywords internal +#' @export +graph.formula <- function(... , simplify = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.formula()", "graph_from_literal()") + graph_from_literal(simplify = simplify, ...) +} # nocov end + graph_from_literal_i <- function(mf) { ## In case 'simplify' is given simplify <- TRUE @@ -959,7 +1016,6 @@ from_literal <- function(...) { #' `star()` creates a star graph, in this every single vertex is #' connected to the center vertex and nobody else. #' -#' @aliases graph.star #' @concept Star graph #' @param n Number of vertices. #' @param mode It defines the direction of the @@ -1002,6 +1058,21 @@ make_star <- function(n, mode = c("in", "out", "mutual", "undirected"), res } +#' Create a star graph, a tree with n vertices and n - 1 leaves +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.star()` was renamed to `make_star()` to create a more +#' consistent API. +#' @inheritParams make_star +#' @keywords internal +#' @export +graph.star <- function(n , mode = c("in","out","mutual","undirected") , center = 1) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.star()", "make_star()") + make_star(n = n, mode = mode, center = center) +} # nocov end + #' @rdname make_star #' @param ... Passed to `make_star()`. #' @export @@ -1011,7 +1082,6 @@ star <- function(...) constructor_spec(make_star, ...) #' Create a full graph #' -#' @aliases graph.full #' @concept Full graph #' @param n Number of vertices. #' @param directed Whether to create a directed graph. @@ -1036,6 +1106,21 @@ make_full_graph <- function(n, directed = FALSE, loops = FALSE) { res } +#' Create a full graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.full()` was renamed to `make_full_graph()` to create a more +#' consistent API. +#' @inheritParams make_full_graph +#' @keywords internal +#' @export +graph.full <- function(n , directed = FALSE , loops = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.full()", "make_full_graph()") + make_full_graph(n = n, directed = directed, loops = loops) +} # nocov end + #' @rdname make_full_graph #' @param ... Passed to `make_full_graph()`. #' @export @@ -1051,7 +1136,6 @@ full_graph <- function(...) constructor_spec(make_full_graph, ...) #' `length` and `dim`. In the second form you omit #' `dimvector` and supply `length` and `dim`. #' -#' @aliases graph.lattice #' @concept Lattice #' @param dimvector A vector giving the size of the lattice in each #' dimension. @@ -1100,6 +1184,21 @@ make_lattice <- function(dimvector = NULL, length = NULL, dim = NULL, res } +#' Create a lattice graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.lattice()` was renamed to `make_lattice()` to create a more +#' consistent API. +#' @inheritParams make_lattice +#' @keywords internal +#' @export +graph.lattice <- function(dimvector = NULL , length = NULL , dim = NULL , nei = 1 , directed = FALSE , mutual = FALSE , circular = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.lattice()", "make_lattice()") + make_lattice(dimvector = dimvector, length = length, dim = dim, nei = nei, directed = directed, mutual = mutual, circular = circular) +} # nocov end + #' @rdname make_lattice #' @param ... Passed to `make_lattice()`. #' @export @@ -1112,7 +1211,6 @@ lattice <- function(...) constructor_spec(make_lattice, ...) #' A ring is a one-dimensional lattice and this function is a special case #' of [make_lattice()]. #' -#' @aliases graph.ring #' @param n Number of vertices. #' @param directed Whether the graph is directed. #' @param mutual Whether directed edges are mutual. It is ignored in @@ -1141,6 +1239,21 @@ make_ring <- function(n, directed = FALSE, mutual = FALSE, circular = TRUE) { res } +#' Create a ring graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.ring()` was renamed to `make_ring()` to create a more +#' consistent API. +#' @inheritParams make_ring +#' @keywords internal +#' @export +graph.ring <- function(n , directed = FALSE , mutual = FALSE , circular = TRUE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.ring()", "make_ring()") + make_ring(n = n, directed = directed, mutual = mutual, circular = circular) +} # nocov end + #' @rdname make_ring #' @param ... Passed to `make_ring()`. #' @export @@ -1153,7 +1266,6 @@ ring <- function(...) constructor_spec(make_ring, ...) #' Create a k-ary tree graph, where almost all vertices other than the leaves #' have the same number of children. #' -#' @aliases graph.tree #' @concept Trees. #' @param n Number of vertices. #' @param children Integer scalar, the number of children of a vertex @@ -1191,6 +1303,21 @@ make_tree <- function(n, children = 2, mode = c("out", "in", "undirected")) { res } +#' Create tree graphs +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.tree()` was renamed to `make_tree()` to create a more +#' consistent API. +#' @inheritParams make_tree +#' @keywords internal +#' @export +graph.tree <- function(n , children = 2 , mode = c("out","in","undirected")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.tree()", "make_tree()") + make_tree(n = n, children = children, mode = mode) +} # nocov end + #' Sample trees randomly and uniformly #' #' `sample_tree()` generates a random with a given number of nodes uniform @@ -1275,7 +1402,6 @@ from_prufer <- function(...) constructor_spec(make_from_prufer, ...) #' automorphisms. #' } #' -#' @aliases graph.atlas #' @concept Graph Atlas. #' @param n The id of the graph to create. #' @return An igraph graph. @@ -1296,6 +1422,21 @@ graph_from_atlas <- function(n) { res } +#' Create a graph from the Graph Atlas +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.atlas()` was renamed to `graph_from_atlas()` to create a more +#' consistent API. +#' @inheritParams graph_from_atlas +#' @keywords internal +#' @export +graph.atlas <- function(n) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.atlas()", "graph_from_atlas()") + graph_from_atlas(n = n) +} # nocov end + #' @rdname graph_from_atlas #' @param ... Passed to `graph_from_atlas()`. #' @export @@ -1317,7 +1458,6 @@ atlas <- function(...) constructor_spec(graph_from_atlas, ...) #' of total nodes. See also Kotsis, G: Interconnection Topologies for #' Parallel Processing Systems, PARS Mitteilungen 11, 1-6, 1993. #' -#' @aliases graph.extended.chordal.ring #' @param n The number of vertices. #' @param w A matrix which specifies the extended chordal ring. See #' details below. @@ -1344,6 +1484,21 @@ make_chordal_ring <- function(n, w, directed = FALSE) { res } +#' Create an extended chordal ring graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.extended.chordal.ring()` was renamed to `make_chordal_ring()` to create a more +#' consistent API. +#' @inheritParams make_chordal_ring +#' @keywords internal +#' @export +graph.extended.chordal.ring <- function(n , w , directed = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.extended.chordal.ring()", "make_chordal_ring()") + make_chordal_ring(n = n, w = w, directed = directed) +} # nocov end + #' @rdname make_chordal_ring #' @param ... Passed to `make_chordal_ring()`. #' @export @@ -1366,7 +1521,6 @@ chordal_ring <- function(...) constructor_spec(make_chordal_ring, ...) #' the first vertex's corresponding edge is the same as the source of the #' second vertex's corresponding edge. #' -#' @aliases line.graph #' @param graph The input graph, it can be directed or undirected. #' @return A new graph object. #' @author Gabor Csardi \email{csardi.gabor@@gmail.com}, the first version of @@ -1392,6 +1546,21 @@ make_line_graph <- function(graph) { res } +#' Line graph of a graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `line.graph()` was renamed to `make_line_graph()` to create a more +#' consistent API. +#' @inheritParams make_line_graph +#' @keywords internal +#' @export +line.graph <- function(graph) { # nocov start + lifecycle::deprecate_soft("1.6.0", "line.graph()", "make_line_graph()") + make_line_graph(graph = graph) +} # nocov end + #' @rdname make_line_graph #' @param ... Passed to `make_line_graph()`. #' @export @@ -1417,7 +1586,6 @@ line_graph <- function(...) constructor_spec(make_line_graph, ...) #' De Bruijn graphs have some interesting properties, please see another #' source, e.g. Wikipedia for details. #' -#' @aliases graph.de.bruijn #' @param m Integer scalar, the size of the alphabet. See details below. #' @param n Integer scalar, the length of the labels. See details below. #' @return A graph object. @@ -1442,6 +1610,21 @@ make_de_bruijn_graph <- function(m, n) { res } +#' De Bruijn graphs +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.de.bruijn()` was renamed to `make_de_bruijn_graph()` to create a more +#' consistent API. +#' @inheritParams make_de_bruijn_graph +#' @keywords internal +#' @export +graph.de.bruijn <- function(m , n) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.de.bruijn()", "make_de_bruijn_graph()") + make_de_bruijn_graph(m = m, n = n) +} # nocov end + #' @rdname make_de_bruijn_graph #' @param ... Passed to `make_de_bruijn_graph()`. #' @export @@ -1463,7 +1646,6 @@ de_bruijn_graph <- function(...) constructor_spec(make_de_bruijn_graph, ...) #' Kautz graphs have some interesting properties, see e.g. Wikipedia for #' details. #' -#' @aliases graph.kautz #' @param m Integer scalar, the size of the alphabet. See details below. #' @param n Integer scalar, the length of the labels. See details below. #' @return A graph object. @@ -1488,6 +1670,21 @@ make_kautz_graph <- function(m, n) { res } +#' Kautz graphs +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.kautz()` was renamed to `make_kautz_graph()` to create a more +#' consistent API. +#' @inheritParams make_kautz_graph +#' @keywords internal +#' @export +graph.kautz <- function(m , n) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.kautz()", "make_kautz_graph()") + make_kautz_graph(m = m, n = n) +} # nocov end + #' @rdname make_kautz_graph #' @param ... Passed to `make_kautz_graph()`. #' @export @@ -1504,7 +1701,6 @@ kautz_graph <- function(...) constructor_spec(make_kautz_graph, ...) #' this is boolean and `FALSE` for the vertices of the first kind and #' `TRUE` for vertices of the second kind. #' -#' @aliases graph.full.bipartite #' @param n1 The number of vertices of the first kind. #' @param n2 The number of vertices of the second kind. #' @param directed Logical scalar, whether the graphs is directed. @@ -1548,6 +1744,21 @@ make_full_bipartite_graph <- function(n1, n2, directed = FALSE, set_vertex_attr(res$graph, "type", value = res$types) } +#' Create a full bipartite graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.full.bipartite()` was renamed to `make_full_bipartite_graph()` to create a more +#' consistent API. +#' @inheritParams make_full_bipartite_graph +#' @keywords internal +#' @export +graph.full.bipartite <- function(n1 , n2 , directed = FALSE , mode = c("all","out","in")) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.full.bipartite()", "make_full_bipartite_graph()") + make_full_bipartite_graph(n1 = n1, n2 = n2, directed = directed, mode = mode) +} # nocov end + #' @rdname make_full_bipartite_graph #' @param ... Passed to `make_full_bipartite_graph()`. #' @export @@ -1574,7 +1785,6 @@ full_bipartite_graph <- function(...) constructor_spec(make_full_bipartite_graph #' `is_bipartite()` checks whether the graph is bipartite or not. It just #' checks whether the graph has a vertex attribute called `type`. #' -#' @aliases graph.bipartite is.bipartite #' @param types A vector giving the vertex types. It will be coerced into #' boolean. The length of the vector gives the number of vertices in the graph. #' When the vector is a named vector, the names will be attached to the graph @@ -1629,6 +1839,21 @@ make_bipartite_graph <- function(types, edges, directed = FALSE) { res } +#' Create a bipartite graph +#' +#' @description +#' `r lifecycle::badge("deprecated")` +#' +#' `graph.bipartite()` was renamed to `make_bipartite_graph()` to create a more +#' consistent API. +#' @inheritParams make_bipartite_graph +#' @keywords internal +#' @export +graph.bipartite <- function(types , edges , directed = FALSE) { # nocov start + lifecycle::deprecate_soft("1.6.0", "graph.bipartite()", "make_bipartite_graph()") + make_bipartite_graph(types = types, edges = edges, directed = directed) +} # nocov end + #' @rdname make_bipartite_graph #' @param ... Passed to `make_bipartite_graph()`. #' @export @@ -1642,7 +1867,6 @@ bipartite_graph <- function(...) constructor_spec(make_bipartite_graph, ...) #' directed graph, where every `i->j` edge is present if and only if #' \eqn{j -# 334 Harvard street, Cambridge, MA 02139 USA -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA -# -################################################################### - -## For the future, right now, we do not warn or even message - -#' @importFrom utils packageName -deprecated <- function(old, new) { - assign(old, new, envir = asNamespace(packageName())) -} - -#' @export add.edges -deprecated("add.edges", add_edges) -#' @export add.vertex.shape -deprecated("add.vertex.shape", add_shape) -#' @export add.vertices -deprecated("add.vertices", add_vertices) -#' @export adjacent.triangles -deprecated("adjacent.triangles", count_triangles) -#' @export articulation.points -deprecated("articulation.points", articulation_points) -#' @export aging.prefatt.game -deprecated("aging.prefatt.game", sample_pa_age) -#' @export aging.ba.game -deprecated("aging.ba.game", sample_pa_age) -#' @export aging.barabasi.game -deprecated("aging.barabasi.game", sample_pa_age) -#' @export alpha.centrality -deprecated("alpha.centrality", alpha_centrality) -#' @export are.connected -deprecated("are.connected", are_adjacent) -#' @export assortativity.degree -deprecated("assortativity.degree", assortativity_degree) -#' @export assortativity.nominal -deprecated("assortativity.nominal", assortativity_nominal) -#' @export asymmetric.preference.game -deprecated("asymmetric.preference.game", sample_asym_pref) -#' @export authority.score -deprecated("authority.score", authority_score) -#' @export automorphisms -deprecated("automorphisms", count_automorphisms) -#' @export autocurve.edges -deprecated("autocurve.edges", curve_multiple) -#' @export average.path.length -deprecated("average.path.length", mean_distance) - -#' @export ba.game -deprecated("ba.game", sample_pa) -#' @export barabasi.game -deprecated("barabasi.game", sample_pa) -#' @export biconnected.components -deprecated("biconnected.components", biconnected_components) -#' @export bipartite.mapping -deprecated("bipartite.mapping", bipartite_mapping) -#' @export bipartite.projection -deprecated("bipartite.projection", bipartite_projection) -#' @export bipartite.projection.size -deprecated("bipartite.projection.size", bipartite_projection_size) -#' @export bipartite.random.game -deprecated("bipartite.random.game", sample_bipartite) -#' @export blockGraphs -deprecated("blockGraphs", graphs_from_cohesive_blocks) -#' @export bonpow -deprecated("bonpow", power_centrality) - -#' @export callaway.traits.game -deprecated("callaway.traits.game", sample_traits_callaway) -#' @export canonical.permutation -deprecated("canonical.permutation", canonical_permutation) -#' @export centralization.betweenness -deprecated("centralization.betweenness", centr_betw) -#' @export centralization.betweenness.tmax -deprecated("centralization.betweenness.tmax", centr_betw_tmax) -#' @export centralization.closeness -deprecated("centralization.closeness", centr_clo) -#' @export centralization.closeness.tmax -deprecated("centralization.closeness.tmax", centr_clo_tmax) -#' @export centralization.degree -deprecated("centralization.degree", centr_degree) -#' @export centralization.degree.tmax -deprecated("centralization.degree.tmax", centr_degree_tmax) -#' @export centralization.evcent -deprecated("centralization.evcent", centr_eigen) -#' @export centralization.evcent.tmax -deprecated("centralization.evcent.tmax", centr_eigen_tmax) -#' @export centralize.scores -deprecated("centralize.scores", centralize) -#' @export cited.type.game -deprecated("cited.type.game", sample_cit_types) -#' @export citing.cited.type.game -deprecated("citing.cited.type.game", sample_cit_cit_types) -#' @export clique.number -deprecated("clique.number", clique_num) -#' @export cluster.distribution -deprecated("cluster.distribution", component_distribution) -#' @export clusters -deprecated("clusters", components) -#' @export code.length -deprecated("code.length", code_len) -#' @export cohesive.blocks -deprecated("cohesive.blocks", cohesive_blocks) -#' @export connect.neighborhood -deprecated("connect.neighborhood", connect) -#' @export contract.vertices -deprecated("contract.vertices", contract) -#' @export convex.hull -deprecated("convex.hull", convex_hull) -#' @export count.multiple -deprecated("count.multiple", count_multiple) -#' @export cutat -deprecated("cutat", cut_at) - -#' @export decompose.graph -deprecated("decompose.graph", decompose) -#' @export degree.distribution -deprecated("degree.distribution", degree_distribution) -#' @export degree.sequence.game -deprecated("degree.sequence.game", sample_degseq) -#' @export delete.edges -deprecated("delete.edges", delete_edges) -#' @export delete.vertices -deprecated("delete.vertices", delete_vertices) -#' @export dendPlot -deprecated("dendPlot", plot_dendrogram) -#' @method dendPlot communities -deprecated("dendPlot.communities", plot_dendrogram.communities) -#' @method dendPlot igraphHRG -deprecated("dendPlot.igraphHRG", plot_dendrogram.igraphHRG) -#' @export dominator.tree -deprecated("dominator.tree", dominator_tree) -#' @export dyad.census -deprecated("dyad.census", dyad_census) - -#' @export edge.betweenness -deprecated("edge.betweenness", edge_betweenness) -#' @export edge.betweenness.community -deprecated("edge.betweenness.community", cluster_edge_betweenness) -#' @export edge.connectivity -deprecated("edge.connectivity", edge_connectivity) -#' @export edge.disjoint.paths -deprecated("edge.disjoint.paths", edge_connectivity) -#' @export establishment.game -deprecated("establishment.game", sample_traits) -#' @export evcent -deprecated("evcent", eigen_centrality) - -#' @export farthest.nodes -deprecated("farthest.nodes", farthest_vertices) -#' @export fastgreedy.community -deprecated("fastgreedy.community", cluster_fast_greedy) -#' @export forest.fire.game -deprecated("forest.fire.game", sample_forestfire) - -#' @export get.adjedgelist -deprecated("get.adjedgelist", as_adj_edge_list) -#' @export get.adjlist -deprecated("get.adjlist", as_adj_list) -#' @export get.adjacency -deprecated("get.adjacency", as_adjacency_matrix) -#' @export get.data.frame -deprecated("get.data.frame", as_data_frame) -#' @export get.edge.attribute -deprecated("get.edge.attribute", edge_attr) -#' @export get.edgelist -deprecated("get.edgelist", as_edgelist) -#' @export get.graph.attribute -deprecated("get.graph.attribute", graph_attr) -#' @export get.incidence -deprecated("get.incidence", as_biadjacency_matrix) -#' @export get.stochastic -deprecated("get.stochastic", stochastic_matrix) -#' @export get.vertex.attribute -deprecated("get.vertex.attribute", vertex_attr) -#' @export graph.adhesion -deprecated("graph.adhesion", adhesion) -#' @export graph.adjacency -deprecated("graph.adjacency", graph_from_adjacency_matrix) -#' @export graph.adjlist -deprecated("graph.adjlist", graph_from_adj_list) -#' @export graph.atlas -deprecated("graph.atlas", graph_from_atlas) -#' @export graph.automorphisms -deprecated("graph.automorphisms", count_automorphisms) -#' @export graph.bfs -deprecated("graph.bfs", bfs) -#' @export graph.bipartite -deprecated("graph.bipartite", make_bipartite_graph) -#' @export graph.cohesion -deprecated("graph.cohesion", cohesion) -#' @export graph.complementer -deprecated("graph.complementer", complementer) -#' @export graph.compose -deprecated("graph.compose", compose) -#' @export graph.coreness -deprecated("graph.coreness", coreness) -#' @export graph.data.frame -deprecated("graph.data.frame", graph_from_data_frame) -#' @export graph.de.bruijn -deprecated("graph.de.bruijn", make_de_bruijn_graph) -#' @export graph.density -deprecated("graph.density", edge_density) -#' @export graph.disjoint.union -deprecated("graph.disjoint.union", disjoint_union) -#' @export graph.dfs -deprecated("graph.dfs", dfs) -#' @export graph.difference -deprecated("graph.difference", difference) -#' @export graph.diversity -deprecated("graph.diversity", diversity) -#' @export graph.edgelist -deprecated("graph.edgelist", graph_from_edgelist) -#' @export graph.eigen -deprecated("graph.eigen", spectrum) -#' @export graph.empty -deprecated("graph.empty", make_empty_graph) -#' @export graph.extended.chordal.ring -deprecated("graph.extended.chordal.ring", make_chordal_ring) -#' @export graph.formula -deprecated("graph.formula", graph_from_literal) -#' @export graph.full -deprecated("graph.full", make_full_graph) -#' @export graph.full.bipartite -deprecated("graph.full.bipartite", make_full_bipartite_graph) -#' @export graph.full.citation -deprecated("graph.full.citation", make_full_citation_graph) -#' @export graph.graphdb -deprecated("graph.graphdb", graph_from_graphdb) -#' @export graph.incidence -deprecated("graph.incidence", graph_from_biadjacency_matrix) -#' @export graph.isocreate -deprecated("graph.isocreate", graph_from_isomorphism_class) -#' @export graph.kautz -deprecated("graph.kautz", make_kautz_graph) -#' @export graph.knn -deprecated("graph.knn", knn) -#' @export graph.laplacian -deprecated("graph.laplacian", laplacian_matrix) -#' @export graph.lattice -deprecated("graph.lattice", make_lattice) -#' @export graph.lcf -deprecated("graph.lcf", graph_from_lcf) -#' @export graph.maxflow -deprecated("graph.maxflow", max_flow) -#' @export graph.mincut -deprecated("graph.mincut", min_cut) -#' @export graph.motifs -deprecated("graph.motifs", motifs) -#' @export graph.motifs.est -deprecated("graph.motifs.est", sample_motifs) -#' @export graph.motifs.no -deprecated("graph.motifs.no", count_motifs) -#' @export graph.neighborhood -deprecated("graph.neighborhood", make_ego_graph) -#' @export graph.star -deprecated("graph.star", make_star) -#' @export graph.strength -deprecated("graph.strength", strength) -#' @export graph.tree -deprecated("graph.tree", make_tree) -#' @export graph.union -deprecated("graph.union", union.igraph) -#' @export graph.ring -deprecated("graph.ring", make_ring) -#' @export graphlets.candidate.basis -deprecated("graphlets.candidate.basis", graphlet_basis) -#' @export graphlets.project -deprecated("graphlets.project", graphlet_proj) -#' @export growing.random.game -deprecated("growing.random.game", sample_growing) -#' @export grg.game -deprecated("grg.game", sample_grg) - -#' @export has.multiple -deprecated("has.multiple", any_multiple) -#' @export hrg.consensus -deprecated("hrg.consensus", consensus_tree) -#' @export hrg.create -deprecated("hrg.create", hrg) -#' @export hrg.dendrogram -deprecated("hrg.dendrogram", hrg_tree) -#' @export hrg.game -deprecated("hrg.game", sample_hrg) -#' @export hrg.fit -deprecated("hrg.fit", fit_hrg) -#' @export hrg.predict -deprecated("hrg.predict", predict_edges) -#' @export hub.score -deprecated("hub.score", hub_score) - -#' @export igraph.console -deprecated("igraph.console", console) -#' @export igraph.sample -deprecated("igraph.sample", sample_seq) -#' @export igraph.version -deprecated("igraph.version", igraph_version) -#' @export igraphdemo -deprecated("igraphdemo", igraph_demo) -#' @export igraphtest -deprecated("igraphtest", igraph_test) -#' @export independence.number -deprecated("independence.number", ivs_size) -#' @export independent.vertex.sets -deprecated("independent.vertex.sets", ivs) -#' @export infomap.community -deprecated("infomap.community", cluster_infomap) -#' @export induced.subgraph -deprecated("induced.subgraph", induced_subgraph) -#' @export interconnected.islands.game -deprecated("interconnected.islands.game", sample_islands) -#' @export is.bipartite -deprecated("is.bipartite", is_bipartite) -#' @export is.chordal -deprecated("is.chordal", is_chordal) -#' @export is.connected -deprecated("is.connected", is_connected) -#' @export is.dag -deprecated("is.dag", is_dag) -#' @export is.degree.sequence -deprecated("is.degree.sequence", is_degseq) -#' @export is.directed -deprecated("is.directed", is_directed) -#' @export is.graphical.degree.sequence -deprecated("is.graphical.degree.sequence", is_graphical) -#' @export is.hierarchical -deprecated("is.hierarchical", is_hierarchical) -#' @export is.igraph -deprecated("is.igraph", is_igraph) -#' @export is.loop -deprecated("is.loop", which_loop) -#' @export is.matching -deprecated("is.matching", is_matching) -#' @export is.maximal.matching -deprecated("is.maximal.matching", is_max_matching) -#' @export is.minimal.separator -deprecated("is.minimal.separator", is_min_separator) -#' @export is.multiple -deprecated("is.multiple", which_multiple) -#' @export is.mutual -deprecated("is.mutual", which_mutual) -#' @export is.named -deprecated("is.named", is_named) -#' @export is.separator -deprecated("is.separator", is_separator) -#' @export is.simple -deprecated("is.simple", is_simple) -#' @export is.weighted -deprecated("is.weighted", is_weighted) - -#' @export k.regular.game -deprecated("k.regular.game", sample_k_regular) - -#' @export label.propagation.community -deprecated("label.propagation.community", cluster_label_prop) -#' @export largest.cliques -deprecated("largest.cliques", largest_cliques) -#' @export largest.independent.vertex.sets -deprecated("largest.independent.vertex.sets", largest_ivs) -#' @export lastcit.game -deprecated("lastcit.game", sample_last_cit) -#' @export layout.auto -deprecated("layout.auto", layout_nicely) -#' @export layout.bipartite -deprecated("layout.bipartite", layout_as_bipartite) -#' @export layout.davidson.harel -deprecated("layout.davidson.harel", layout_with_dh) -#' @export layout.drl -deprecated("layout.drl", layout_with_drl) -#' @export layout.gem -deprecated("layout.gem", layout_with_gem) -#' @export layout.graphopt -deprecated("layout.graphopt", layout_with_graphopt) -#' @export layout.grid -deprecated("layout.grid", layout_on_grid) -#' @export layout.mds -deprecated("layout.mds", layout_with_mds) -#' @export layout.merge -deprecated("layout.merge", merge_coords) -#' @export layout.norm -deprecated("layout.norm", norm_coords) -#' @export layout.star -deprecated("layout.star", layout_as_star) -#' @export layout.sugiyama -deprecated("layout.sugiyama", layout_with_sugiyama) -#' @export leading.eigenvector.community -deprecated("leading.eigenvector.community", cluster_leading_eigen) -#' @export line.graph -deprecated("line.graph", make_line_graph) -#' @export list.edge.attributes -deprecated("list.edge.attributes", edge_attr_names) -#' @export list.graph.attributes -deprecated("list.graph.attributes", graph_attr_names) -#' @export list.vertex.attributes -deprecated("list.vertex.attributes", vertex_attr_names) - -#' @export maxcohesion -deprecated("maxcohesion", max_cohesion) -#' @export maximal.cliques -deprecated("maximal.cliques", max_cliques) -#' @export maximal.cliques.count -deprecated("maximal.cliques.count", count_max_cliques) -#' @export maximal.independent.vertex.sets -deprecated("maximal.independent.vertex.sets", maximal_ivs) -#' @export minimal.st.separators -deprecated("minimal.st.separators", min_st_separators) -#' @export maximum.bipartite.matching -deprecated("maximum.bipartite.matching", max_bipartite_match) -#' @export maximum.cardinality.search -deprecated("maximum.cardinality.search", max_cardinality) -#' @export minimum.size.separators -deprecated("minimum.size.separators", min_separators) -#' @export minimum.spanning.tree -deprecated("minimum.spanning.tree", mst) -#' @export mod.matrix -deprecated("mod.matrix", modularity_matrix) -#' @export multilevel.community -deprecated("multilevel.community", cluster_louvain) - -#' @export neighborhood.size -deprecated("neighborhood.size", ego_size) -#' @export no.clusters -deprecated("no.clusters", count_components) - -#' @export optimal.community -deprecated("optimal.community", cluster_optimal) - -#' @export page.rank -deprecated("page.rank", page_rank) -#' @export path.length.hist -deprecated("path.length.hist", distance_table) -#' @export permute.vertices -deprecated("permute.vertices", permute) -#' @export piecewise.layout -deprecated("piecewise.layout", layout_components) -#' @export plotHierarchy -deprecated("plotHierarchy", plot_hierarchy) -#' @export power.law.fit -deprecated("power.law.fit", fit_power_law) -#' @export preference.game -deprecated("preference.game", sample_pref) - -#' @export read.graph -deprecated("read.graph", read_graph) -#' @export remove.edge.attribute -deprecated("remove.edge.attribute", delete_edge_attr) -#' @export remove.graph.attribute -deprecated("remove.graph.attribute", delete_graph_attr) -#' @export remove.vertex.attribute -deprecated("remove.vertex.attribute", delete_vertex_attr) -#' @export running.mean -deprecated("running.mean", running_mean) - -#' @export sbm.game -deprecated("sbm.game", sample_sbm) -#' @export set.edge.attribute -deprecated("set.edge.attribute", set_edge_attr) -#' @export set.graph.attribute -deprecated("set.graph.attribute", set_graph_attr) -#' @export set.vertex.attribute -deprecated("set.vertex.attribute", set_vertex_attr) -#' @export shortest.paths -deprecated("shortest.paths", distances) -#' @export showtrace -deprecated("showtrace", show_trace) -#' @export spinglass.community -deprecated("spinglass.community", cluster_spinglass) -#' @export stCuts -deprecated("stCuts", st_cuts) -#' @export stMincuts -deprecated("stMincuts", st_min_cuts) -#' @export static.fitness.game -deprecated("static.fitness.game", sample_fitness) -#' @export static.power.law.game -deprecated("static.power.law.game", sample_fitness_pl) -#' @export subgraph.centrality -deprecated("subgraph.centrality", subgraph_centrality) - -#' @export tkplot.canvas -deprecated("tkplot.canvas", tk_canvas) -#' @export tkplot.center -deprecated("tkplot.center", tk_center) -#' @export tkplot.close -deprecated("tkplot.close", tk_close) -#' @export tkplot.export.postscript -deprecated("tkplot.export.postscript", tk_postscript) -#' @export tkplot.fit.to.screen -deprecated("tkplot.fit.to.screen", tk_fit) -#' @export tkplot.getcoords -deprecated("tkplot.getcoords", tk_coords) -#' @export tkplot.off -deprecated("tkplot.off", tk_off) -#' @export tkplot.reshape -deprecated("tkplot.reshape", tk_reshape) -#' @export tkplot.rotate -deprecated("tkplot.rotate", tk_rotate) -#' @export tkplot.setcoords -deprecated("tkplot.setcoords", tk_set_coords) - -#' @export topological.sort -deprecated("topological.sort", topo_sort) -#' @export triad.census -deprecated("triad.census", triad_census) - -#' @export unfold.tree -deprecated("unfold.tree", unfold_tree) - -#' @export vertex.connectivity -deprecated("vertex.connectivity", vertex_connectivity) -#' @export vertex.disjoint.paths -deprecated("vertex.disjoint.paths", vertex_disjoint_paths) - -#' @export walktrap.community -deprecated("walktrap.community", cluster_walktrap) -#' @export watts.strogatz.game -deprecated("watts.strogatz.game", sample_smallworld) -#' @export write.graph -deprecated("write.graph", write_graph) -#' @export graph.famous -deprecated("graph.famous", make_graph) -#' @export igraph.from.graphNEL -deprecated("igraph.from.graphNEL", graph_from_graphnel) -#' @export igraph.to.graphNEL -deprecated("igraph.to.graphNEL", as_graphnel) -#' @export getIgraphOpt -deprecated("getIgraphOpt", igraph_opt) -#' @export igraph.options -deprecated("igraph.options", igraph_options) -#' @export graph.intersection -deprecated("graph.intersection", intersection) -#' @export exportPajek -deprecated("exportPajek", export_pajek) -#' @export get.diameter -deprecated("get.diameter", get_diameter) -#' @export get.all.shortest.paths -deprecated("get.all.shortest.paths", all_shortest_paths) -#' @export get.shortest.paths -deprecated("get.shortest.paths", shortest_paths) -#' @export graph -deprecated("graph", make_graph) -#' @export vertex.shapes -deprecated("vertex.shapes", shapes) -#' @export igraph.shape.noclip -deprecated("igraph.shape.noclip", shape_noclip) -#' @export igraph.shape.noplot -deprecated("igraph.shape.noplot", shape_noplot) -#' @export create.communities -deprecated("create.communities", make_clusters) diff --git a/man/add.edges.Rd b/man/add.edges.Rd new file mode 100644 index 00000000000..2a057e5eb56 --- /dev/null +++ b/man/add.edges.Rd @@ -0,0 +1,29 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/interface.R +\name{add.edges} +\alias{add.edges} +\title{Add edges to a graph} +\usage{ +add.edges(graph, edges, ..., attr = list()) +} +\arguments{ +\item{graph}{The input graph} + +\item{edges}{The edges to add, a vertex sequence with even number +of vertices.} + +\item{...}{Additional arguments, they must be named, +and they will be added as edge attributes, for the newly added +edges. See also details below.} + +\item{attr}{A named list, its elements will be added +as edge attributes, for the newly added edges. See also details +below.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{add.edges()} was renamed to \code{add_edges()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/add.vertex.shape.Rd b/man/add.vertex.shape.Rd new file mode 100644 index 00000000000..b5cc9497e2e --- /dev/null +++ b/man/add.vertex.shape.Rd @@ -0,0 +1,37 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/plot.shapes.R +\name{add.vertex.shape} +\alias{add.vertex.shape} +\title{Various vertex shapes when plotting igraph graphs} +\usage{ +add.vertex.shape( + shape, + clip = shape_noclip, + plot = shape_noplot, + parameters = list() +) +} +\arguments{ +\item{shape}{Character scalar, name of a vertex shape. If it is +\code{NULL} for \code{shapes()}, then the names of all defined +vertex shapes are returned.} + +\item{clip}{An R function object, the clipping function.} + +\item{plot}{An R function object, the plotting function.} + +\item{parameters}{Named list, additional plot/vertex/edge +parameters. The element named define the new parameters, and the +elements themselves define their default values. +Vertex parameters should have a prefix +\sQuote{\code{vertex.}}, edge parameters a prefix +\sQuote{\code{edge.}}. Other general plotting parameters should have +a prefix \sQuote{\code{plot.}}. See Details below.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{add.vertex.shape()} was renamed to \code{add_shape()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/add.vertices.Rd b/man/add.vertices.Rd new file mode 100644 index 00000000000..2b22dc9a34a --- /dev/null +++ b/man/add.vertices.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/interface.R +\name{add.vertices} +\alias{add.vertices} +\title{Add vertices to a graph} +\usage{ +add.vertices(graph, nv, ..., attr = list()) +} +\arguments{ +\item{graph}{The input graph.} + +\item{nv}{The number of vertices to add.} + +\item{...}{Additional arguments, they must be named, +and they will be added as vertex attributes, for the newly added +vertices. See also details below.} + +\item{attr}{A named list, its elements will be added +as vertex attributes, for the newly added vertices. See also details +below.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{add.vertices()} was renamed to \code{add_vertices()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/add_edges.Rd b/man/add_edges.Rd index 7e05d7483a2..79f8cebfb44 100644 --- a/man/add_edges.Rd +++ b/man/add_edges.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/interface.R \name{add_edges} \alias{add_edges} -\alias{add.edges} \title{Add edges to a graph} \usage{ add_edges(graph, edges, ..., attr = list()) diff --git a/man/add_vertices.Rd b/man/add_vertices.Rd index d0911fac5d9..30f3faeed49 100644 --- a/man/add_vertices.Rd +++ b/man/add_vertices.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/interface.R \name{add_vertices} \alias{add_vertices} -\alias{add.vertices} \title{Add vertices to a graph} \usage{ add_vertices(graph, nv, ..., attr = list()) diff --git a/man/adjacent.triangles.Rd b/man/adjacent.triangles.Rd new file mode 100644 index 00000000000..0974793d795 --- /dev/null +++ b/man/adjacent.triangles.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{adjacent.triangles} +\alias{adjacent.triangles} +\title{Find triangles in graphs} +\usage{ +adjacent.triangles(graph, vids = V(graph)) +} +\arguments{ +\item{graph}{The input graph. It might be directed, but edge directions are +ignored.} + +\item{vids}{The vertices to query, all of them by default. This might be a +vector of numeric ids, or a character vector of symbolic vertex names for +named graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{adjacent.triangles()} was renamed to \code{count_triangles()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/aging.ba.game.Rd b/man/aging.ba.game.Rd new file mode 100644 index 00000000000..bec871f51d1 --- /dev/null +++ b/man/aging.ba.game.Rd @@ -0,0 +1,74 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{aging.ba.game} +\alias{aging.ba.game} +\title{Generate an evolving random graph with preferential attachment and aging} +\usage{ +aging.ba.game( + n, + pa.exp, + aging.exp, + m = NULL, + aging.bin = 300, + out.dist = NULL, + out.seq = NULL, + out.pref = FALSE, + directed = TRUE, + zero.deg.appeal = 1, + zero.age.appeal = 0, + deg.coef = 1, + age.coef = 1, + time.window = NULL +) +} +\arguments{ +\item{n}{The number of vertices in the graph.} + +\item{pa.exp}{The preferential attachment exponent, see the details below.} + +\item{aging.exp}{The exponent of the aging, usually a non-positive number, +see details below.} + +\item{m}{The number of edges each new vertex creates (except the very first +vertex). This argument is used only if both the \code{out.dist} and +\code{out.seq} arguments are NULL.} + +\item{aging.bin}{The number of bins to use for measuring the age of +vertices, see details below.} + +\item{out.dist}{The discrete distribution to generate the number of edges to +add in each time step if \code{out.seq} is NULL. See details below.} + +\item{out.seq}{The number of edges to add in each time step, a vector +containing as many elements as the number of vertices. See details below.} + +\item{out.pref}{Logical constant, whether to include edges not initiated by +the vertex as a basis of preferential attachment. See details below.} + +\item{directed}{Logical constant, whether to generate a directed graph. See +details below.} + +\item{zero.deg.appeal}{The degree-dependent part of the +\sQuote{attractiveness} of the vertices with no adjacent edges. See also +details below.} + +\item{zero.age.appeal}{The age-dependent part of the \sQuote{attrativeness} +of the vertices with age zero. It is usually zero, see details below.} + +\item{deg.coef}{The coefficient of the degree-dependent +\sQuote{attractiveness}. See details below.} + +\item{age.coef}{The coefficient of the age-dependent part of the +\sQuote{attractiveness}. See details below.} + +\item{time.window}{Integer constant, if NULL only adjacent added in the last +\code{time.windows} time steps are counted as a basis of the preferential +attachment. See also details below.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{aging.ba.game()} was renamed to \code{sample_pa_age()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/aging.barabasi.game.Rd b/man/aging.barabasi.game.Rd new file mode 100644 index 00000000000..238f1a1d152 --- /dev/null +++ b/man/aging.barabasi.game.Rd @@ -0,0 +1,74 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{aging.barabasi.game} +\alias{aging.barabasi.game} +\title{Generate an evolving random graph with preferential attachment and aging} +\usage{ +aging.barabasi.game( + n, + pa.exp, + aging.exp, + m = NULL, + aging.bin = 300, + out.dist = NULL, + out.seq = NULL, + out.pref = FALSE, + directed = TRUE, + zero.deg.appeal = 1, + zero.age.appeal = 0, + deg.coef = 1, + age.coef = 1, + time.window = NULL +) +} +\arguments{ +\item{n}{The number of vertices in the graph.} + +\item{pa.exp}{The preferential attachment exponent, see the details below.} + +\item{aging.exp}{The exponent of the aging, usually a non-positive number, +see details below.} + +\item{m}{The number of edges each new vertex creates (except the very first +vertex). This argument is used only if both the \code{out.dist} and +\code{out.seq} arguments are NULL.} + +\item{aging.bin}{The number of bins to use for measuring the age of +vertices, see details below.} + +\item{out.dist}{The discrete distribution to generate the number of edges to +add in each time step if \code{out.seq} is NULL. See details below.} + +\item{out.seq}{The number of edges to add in each time step, a vector +containing as many elements as the number of vertices. See details below.} + +\item{out.pref}{Logical constant, whether to include edges not initiated by +the vertex as a basis of preferential attachment. See details below.} + +\item{directed}{Logical constant, whether to generate a directed graph. See +details below.} + +\item{zero.deg.appeal}{The degree-dependent part of the +\sQuote{attractiveness} of the vertices with no adjacent edges. See also +details below.} + +\item{zero.age.appeal}{The age-dependent part of the \sQuote{attrativeness} +of the vertices with age zero. It is usually zero, see details below.} + +\item{deg.coef}{The coefficient of the degree-dependent +\sQuote{attractiveness}. See details below.} + +\item{age.coef}{The coefficient of the age-dependent part of the +\sQuote{attractiveness}. See details below.} + +\item{time.window}{Integer constant, if NULL only adjacent added in the last +\code{time.windows} time steps are counted as a basis of the preferential +attachment. See also details below.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{aging.barabasi.game()} was renamed to \code{sample_pa_age()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/aging.prefatt.game.Rd b/man/aging.prefatt.game.Rd new file mode 100644 index 00000000000..0ff7822cce5 --- /dev/null +++ b/man/aging.prefatt.game.Rd @@ -0,0 +1,74 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{aging.prefatt.game} +\alias{aging.prefatt.game} +\title{Generate an evolving random graph with preferential attachment and aging} +\usage{ +aging.prefatt.game( + n, + pa.exp, + aging.exp, + m = NULL, + aging.bin = 300, + out.dist = NULL, + out.seq = NULL, + out.pref = FALSE, + directed = TRUE, + zero.deg.appeal = 1, + zero.age.appeal = 0, + deg.coef = 1, + age.coef = 1, + time.window = NULL +) +} +\arguments{ +\item{n}{The number of vertices in the graph.} + +\item{pa.exp}{The preferential attachment exponent, see the details below.} + +\item{aging.exp}{The exponent of the aging, usually a non-positive number, +see details below.} + +\item{m}{The number of edges each new vertex creates (except the very first +vertex). This argument is used only if both the \code{out.dist} and +\code{out.seq} arguments are NULL.} + +\item{aging.bin}{The number of bins to use for measuring the age of +vertices, see details below.} + +\item{out.dist}{The discrete distribution to generate the number of edges to +add in each time step if \code{out.seq} is NULL. See details below.} + +\item{out.seq}{The number of edges to add in each time step, a vector +containing as many elements as the number of vertices. See details below.} + +\item{out.pref}{Logical constant, whether to include edges not initiated by +the vertex as a basis of preferential attachment. See details below.} + +\item{directed}{Logical constant, whether to generate a directed graph. See +details below.} + +\item{zero.deg.appeal}{The degree-dependent part of the +\sQuote{attractiveness} of the vertices with no adjacent edges. See also +details below.} + +\item{zero.age.appeal}{The age-dependent part of the \sQuote{attrativeness} +of the vertices with age zero. It is usually zero, see details below.} + +\item{deg.coef}{The coefficient of the degree-dependent +\sQuote{attractiveness}. See details below.} + +\item{age.coef}{The coefficient of the age-dependent part of the +\sQuote{attractiveness}. See details below.} + +\item{time.window}{Integer constant, if NULL only adjacent added in the last +\code{time.windows} time steps are counted as a basis of the preferential +attachment. See also details below.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{aging.prefatt.game()} was renamed to \code{sample_pa_age()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/alpha.centrality.Rd b/man/alpha.centrality.Rd new file mode 100644 index 00000000000..375e748d431 --- /dev/null +++ b/man/alpha.centrality.Rd @@ -0,0 +1,57 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/centrality.R +\name{alpha.centrality} +\alias{alpha.centrality} +\title{Find Bonacich alpha centrality scores of network positions} +\usage{ +alpha.centrality( + graph, + nodes = V(graph), + alpha = 1, + loops = FALSE, + exo = 1, + weights = NULL, + tol = 1e-07, + sparse = TRUE +) +} +\arguments{ +\item{graph}{The input graph, can be directed or undirected. In undirected +graphs, edges are treated as if they were reciprocal directed ones.} + +\item{nodes}{Vertex sequence, the vertices for which the alpha centrality +values are returned. (For technical reasons they will be calculated for all +vertices, anyway.)} + +\item{alpha}{Parameter specifying the relative importance of endogenous +versus exogenous factors in the determination of centrality. See details +below.} + +\item{loops}{Whether to eliminate loop edges from the graph before the +calculation.} + +\item{exo}{The exogenous factors, in most cases this is either a constant -- +the same factor for every node, or a vector giving the factor for every +vertex. Note that too long vectors will be truncated and too short vectors +will be replicated to match the number of vertices.} + +\item{weights}{A character scalar that gives the name of the edge attribute +to use in the adjacency matrix. If it is \code{NULL}, then the +\sQuote{weight} edge attribute of the graph is used, if there is one. +Otherwise, or if it is \code{NA}, then the calculation uses the standard +adjacency matrix.} + +\item{tol}{Tolerance for near-singularities during matrix inversion, see +\code{\link[=solve]{solve()}}.} + +\item{sparse}{Logical scalar, whether to use sparse matrices for the +calculation. The \sQuote{Matrix} package is required for sparse matrix +support} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{alpha.centrality()} was renamed to \code{alpha_centrality()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/alpha_centrality.Rd b/man/alpha_centrality.Rd index 0a168b76f19..bc066585433 100644 --- a/man/alpha_centrality.Rd +++ b/man/alpha_centrality.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centrality.R \name{alpha_centrality} \alias{alpha_centrality} -\alias{alpha.centrality} \title{Find Bonacich alpha centrality scores of network positions} \usage{ alpha_centrality( diff --git a/man/are.connected.Rd b/man/are.connected.Rd new file mode 100644 index 00000000000..00a5544ad5b --- /dev/null +++ b/man/are.connected.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structure.info.R +\name{are.connected} +\alias{are.connected} +\title{Are two vertices adjacent?} +\usage{ +are.connected(graph, v1, v2) +} +\arguments{ +\item{graph}{The graph.} + +\item{v1}{The first vertex, tail in directed graphs.} + +\item{v2}{The second vertex, head in directed graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{are.connected()} was renamed to \code{are_adjacent()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/are_adjacent.Rd b/man/are_adjacent.Rd index 3059b409776..f9c4b6c1545 100644 --- a/man/are_adjacent.Rd +++ b/man/are_adjacent.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/structure.info.R \name{are_adjacent} \alias{are_adjacent} -\alias{are.connected} \title{Are two vertices adjacent?} \usage{ are_adjacent(graph, v1, v2) diff --git a/man/articulation.points.Rd b/man/articulation.points.Rd new file mode 100644 index 00000000000..7a31dd34fd5 --- /dev/null +++ b/man/articulation.points.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{articulation.points} +\alias{articulation.points} +\title{Articulation points and bridges of a graph} +\usage{ +articulation.points(graph) +} +\arguments{ +\item{graph}{The input graph. It is treated as an undirected graph, even if +it is directed.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{articulation.points()} was renamed to \code{articulation_points()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/articulation_points.Rd b/man/articulation_points.Rd index 3b65008811e..b24c959b377 100644 --- a/man/articulation_points.Rd +++ b/man/articulation_points.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/components.R \name{articulation_points} \alias{articulation_points} -\alias{articulation.points} \alias{bridges} \title{Articulation points and bridges of a graph} \usage{ diff --git a/man/as_adj_list.Rd b/man/as_adj_list.Rd index c71f8989f61..d181b997f2e 100644 --- a/man/as_adj_list.Rd +++ b/man/as_adj_list.Rd @@ -2,9 +2,7 @@ % Please edit documentation in R/conversion.R \name{as_adj_list} \alias{as_adj_list} -\alias{get.adjedgelist} \alias{as_adj_edge_list} -\alias{get.adjlist} \title{Adjacency lists} \usage{ as_adj_list( diff --git a/man/as_adjacency_matrix.Rd b/man/as_adjacency_matrix.Rd index 46835075049..94e27fcfbf1 100644 --- a/man/as_adjacency_matrix.Rd +++ b/man/as_adjacency_matrix.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/conversion.R \name{as_adjacency_matrix} \alias{as_adjacency_matrix} -\alias{get.adjacency} \alias{as_adj} \title{Convert a graph to an adjacency matrix} \usage{ diff --git a/man/as_biadjacency_matrix.Rd b/man/as_biadjacency_matrix.Rd index 18e27092556..bc40afa0f65 100644 --- a/man/as_biadjacency_matrix.Rd +++ b/man/as_biadjacency_matrix.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/conversion.R \name{as_biadjacency_matrix} \alias{as_biadjacency_matrix} -\alias{get.incidence} \title{Bipartite adjacency matrix of a bipartite graph} \usage{ as_biadjacency_matrix( diff --git a/man/as_edgelist.Rd b/man/as_edgelist.Rd index 2a62c68e448..cb3db5ee491 100644 --- a/man/as_edgelist.Rd +++ b/man/as_edgelist.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/conversion.R \name{as_edgelist} \alias{as_edgelist} -\alias{get.edgelist} \title{Convert a graph to an edge list} \usage{ as_edgelist(graph, names = TRUE) diff --git a/man/as_graphnel.Rd b/man/as_graphnel.Rd index 53d9a5f1b8c..02326fcf664 100644 --- a/man/as_graphnel.Rd +++ b/man/as_graphnel.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/conversion.R \name{as_graphnel} \alias{as_graphnel} -\alias{igraph.to.graphNEL} \title{Convert igraph graphs to graphNEL objects from the graph package} \usage{ as_graphnel(graph) diff --git a/man/as_membership.Rd b/man/as_membership.Rd index fc3d64d31ca..2b93641f1b8 100644 --- a/man/as_membership.Rd +++ b/man/as_membership.Rd @@ -42,7 +42,6 @@ Community detection \code{\link{compare}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} diff --git a/man/assortativity.Rd b/man/assortativity.Rd index a1e83a6693f..c2fc452265a 100644 --- a/man/assortativity.Rd +++ b/man/assortativity.Rd @@ -2,8 +2,6 @@ % Please edit documentation in R/assortativity.R \name{assortativity} \alias{assortativity} -\alias{assortativity.degree} -\alias{assortativity.nominal} \alias{assortativity_nominal} \alias{assortativity_degree} \title{Assortativity coefficient} diff --git a/man/assortativity.degree.Rd b/man/assortativity.degree.Rd new file mode 100644 index 00000000000..fa43cdcef88 --- /dev/null +++ b/man/assortativity.degree.Rd @@ -0,0 +1,26 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{assortativity.degree} +\alias{assortativity.degree} +\title{Assortativity coefficient} +\usage{ +assortativity.degree(graph, directed = TRUE) +} +\arguments{ +\item{graph}{The input graph, it can be directed or undirected.} + +\item{directed}{Logical scalar, whether to consider edge directions for +directed graphs. +This argument is ignored for undirected graphs. +Supply +\code{TRUE} here to do the natural thing, i.e. use directed version of the +measure for directed graphs and the undirected version for undirected +graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{assortativity.degree()} was renamed to \code{assortativity_degree()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/assortativity.nominal.Rd b/man/assortativity.nominal.Rd new file mode 100644 index 00000000000..fda83e0b6dc --- /dev/null +++ b/man/assortativity.nominal.Rd @@ -0,0 +1,30 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{assortativity.nominal} +\alias{assortativity.nominal} +\title{Assortativity coefficient} +\usage{ +assortativity.nominal(graph, types, directed = TRUE) +} +\arguments{ +\item{graph}{The input graph, it can be directed or undirected.} + +\item{types}{Vector giving the vertex types. They as assumed to be integer +numbers, starting with one. Non-integer values are converted to integers +with \code{\link[=as.integer]{as.integer()}}.} + +\item{directed}{Logical scalar, whether to consider edge directions for +directed graphs. +This argument is ignored for undirected graphs. +Supply +\code{TRUE} here to do the natural thing, i.e. use directed version of the +measure for directed graphs and the undirected version for undirected +graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{assortativity.nominal()} was renamed to \code{assortativity_nominal()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/asymmetric.preference.game.Rd b/man/asymmetric.preference.game.Rd new file mode 100644 index 00000000000..2213cb9bb00 --- /dev/null +++ b/man/asymmetric.preference.game.Rd @@ -0,0 +1,35 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{asymmetric.preference.game} +\alias{asymmetric.preference.game} +\title{Trait-based random generation} +\usage{ +asymmetric.preference.game( + nodes, + types, + type.dist.matrix = matrix(1, types, types), + pref.matrix = matrix(1, types, types), + loops = FALSE +) +} +\arguments{ +\item{nodes}{The number of vertices in the graphs.} + +\item{types}{The number of different vertex types.} + +\item{type.dist.matrix}{The joint distribution of the in- and out-vertex +types.} + +\item{pref.matrix}{A square matrix giving the preferences of the vertex +types. The matrix has \sQuote{types} rows and columns. When generating +an undirected graph, it must be symmetric.} + +\item{loops}{Logical constant, whether self-loops are allowed in the graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{asymmetric.preference.game()} was renamed to \code{sample_asym_pref()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/authority.score.Rd b/man/authority.score.Rd new file mode 100644 index 00000000000..bfbb0345b96 --- /dev/null +++ b/man/authority.score.Rd @@ -0,0 +1,37 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/centrality.R +\name{authority.score} +\alias{authority.score} +\title{Kleinberg's hub and authority centrality scores.} +\usage{ +authority.score( + graph, + scale = TRUE, + weights = NULL, + options = arpack_defaults() +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{scale}{Logical scalar, whether to scale the result to have a maximum +score of one. If no scaling is used then the result vector has unit length +in the Euclidean norm.} + +\item{weights}{Optional positive weight vector for calculating weighted +scores. If the graph has a \code{weight} edge attribute, then this is used +by default. +This function interprets edge weights as connection strengths. In the +random surfer model, an edge with a larger weight is more likely to be +selected by the surfer.} + +\item{options}{A named list, to override some ARPACK options. See +\code{\link[=arpack]{arpack()}} for details.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{authority.score()} was renamed to \code{authority_score()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/autocurve.edges.Rd b/man/autocurve.edges.Rd new file mode 100644 index 00000000000..08e3e3c5bc7 --- /dev/null +++ b/man/autocurve.edges.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/plot.common.R +\name{autocurve.edges} +\alias{autocurve.edges} +\title{Optimal edge curvature when plotting graphs} +\usage{ +autocurve.edges(graph, start = 0.5) +} +\arguments{ +\item{graph}{The input graph.} + +\item{start}{The curvature at the two extreme edges. All edges will have a +curvature between \code{-start} and \code{start}, spaced equally.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{autocurve.edges()} was renamed to \code{curve_multiple()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/automorphisms.Rd b/man/automorphisms.Rd new file mode 100644 index 00000000000..ff5a3dd4d4f --- /dev/null +++ b/man/automorphisms.Rd @@ -0,0 +1,33 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{automorphisms} +\alias{automorphisms} +\title{Number of automorphisms} +\usage{ +automorphisms(graph, colors, sh = c("fm", "f", "fs", "fl", "flm", "fsm")) +} +\arguments{ +\item{graph}{The input graph, it is treated as undirected.} + +\item{colors}{The colors of the individual vertices of the graph; only +vertices having the same color are allowed to match each other in an +automorphism. When omitted, igraph uses the \code{color} attribute of the +vertices, or, if there is no such vertex attribute, it simply assumes that +all vertices have the same color. Pass NULL explicitly if the graph has a +\code{color} vertex attribute but you do not want to use it.} + +\item{sh}{The splitting heuristics for the BLISS algorithm. Possible values +are: \sQuote{\code{f}}: first non-singleton cell, \sQuote{\code{fl}}: first +largest non-singleton cell, \sQuote{\code{fs}}: first smallest non-singleton +cell, \sQuote{\code{fm}}: first maximally non-trivially connected +non-singleton cell, \sQuote{\code{flm}}: first largest maximally +non-trivially connected non-singleton cell, \sQuote{\code{fsm}}: first +smallest maximally non-trivially connected non-singleton cell.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{automorphisms()} was renamed to \code{count_automorphisms()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/average.path.length.Rd b/man/average.path.length.Rd new file mode 100644 index 00000000000..1891dac5da5 --- /dev/null +++ b/man/average.path.length.Rd @@ -0,0 +1,43 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{average.path.length} +\alias{average.path.length} +\title{Shortest (directed or undirected) paths between vertices} +\usage{ +average.path.length( + graph, + weights = NULL, + directed = TRUE, + unconnected = TRUE, + details = FALSE +) +} +\arguments{ +\item{graph}{The graph to work on.} + +\item{weights}{Possibly a numeric vector giving edge weights. If this is +\code{NULL} and the graph has a \code{weight} edge attribute, then the +attribute is used. If this is \code{NA} then no weights are used (even if +the graph has a \code{weight} attribute).} + +\item{directed}{Whether to consider directed paths in directed graphs, +this argument is ignored for undirected graphs.} + +\item{unconnected}{What to do if the graph is unconnected (not +strongly connected if directed paths are considered). If TRUE, only +the lengths of the existing paths are considered and averaged; if +FALSE, the length of the missing paths are considered as having infinite +length, making the mean distance infinite as well.} + +\item{details}{Whether to provide additional details in the result. +Functions accepting this argument (like \code{mean_distance()}) return +additional information like the number of disconnected vertex pairs in +the result when this parameter is set to \code{TRUE}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{average.path.length()} was renamed to \code{mean_distance()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/ba.game.Rd b/man/ba.game.Rd new file mode 100644 index 00000000000..a60ce1509d1 --- /dev/null +++ b/man/ba.game.Rd @@ -0,0 +1,73 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{ba.game} +\alias{ba.game} +\title{Generate random graphs using preferential attachment} +\usage{ +ba.game( + n, + power = 1, + m = NULL, + out.dist = NULL, + out.seq = NULL, + out.pref = FALSE, + zero.appeal = 1, + directed = TRUE, + algorithm = c("psumtree", "psumtree-multiple", "bag"), + start.graph = NULL +) +} +\arguments{ +\item{n}{Number of vertices.} + +\item{power}{The power of the preferential attachment, the default is one, +i.e. linear preferential attachment.} + +\item{m}{Numeric constant, the number of edges to add in each time step This +argument is only used if both \code{out.dist} and \code{out.seq} are omitted +or NULL.} + +\item{out.dist}{Numeric vector, the distribution of the number of edges to +add in each time step. This argument is only used if the \code{out.seq} +argument is omitted or NULL.} + +\item{out.seq}{Numeric vector giving the number of edges to add in each time +step. Its first element is ignored as no edges are added in the first time +step.} + +\item{out.pref}{Logical, if true the total degree is used for calculating +the citation probability, otherwise the in-degree is used.} + +\item{zero.appeal}{The \sQuote{attractiveness} of the vertices with no +adjacent edges. See details below.} + +\item{directed}{Whether to create a directed graph.} + +\item{algorithm}{The algorithm to use for the graph generation. +\code{psumtree} uses a partial prefix-sum tree to generate the graph, this +algorithm can handle any \code{power} and \code{zero.appeal} values and +never generates multiple edges. \code{psumtree-multiple} also uses a +partial prefix-sum tree, but the generation of multiple edges is allowed. +Before the 0.6 version igraph used this algorithm if \code{power} was not +one, or \code{zero.appeal} was not one. \code{bag} is the algorithm that +was previously (before version 0.6) used if \code{power} was one and +\code{zero.appeal} was one as well. It works by putting the ids of the +vertices into a bag (multiset, really), exactly as many times as their +(in-)degree, plus once more. Then the required number of cited vertices are +drawn from the bag, with replacement. This method might generate multiple +edges. It only works if \code{power} and \code{zero.appeal} are equal one.} + +\item{start.graph}{\code{NULL} or an igraph graph. If a graph, then the +supplied graph is used as a starting graph for the preferential attachment +algorithm. The graph should have at least one vertex. If a graph is supplied +here and the \code{out.seq} argument is not \code{NULL}, then it should +contain the out degrees of the new vertices only, not the ones in the +\code{start.graph}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{ba.game()} was renamed to \code{sample_pa()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/barabasi.game.Rd b/man/barabasi.game.Rd new file mode 100644 index 00000000000..a2bf7321b9d --- /dev/null +++ b/man/barabasi.game.Rd @@ -0,0 +1,73 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{barabasi.game} +\alias{barabasi.game} +\title{Generate random graphs using preferential attachment} +\usage{ +barabasi.game( + n, + power = 1, + m = NULL, + out.dist = NULL, + out.seq = NULL, + out.pref = FALSE, + zero.appeal = 1, + directed = TRUE, + algorithm = c("psumtree", "psumtree-multiple", "bag"), + start.graph = NULL +) +} +\arguments{ +\item{n}{Number of vertices.} + +\item{power}{The power of the preferential attachment, the default is one, +i.e. linear preferential attachment.} + +\item{m}{Numeric constant, the number of edges to add in each time step This +argument is only used if both \code{out.dist} and \code{out.seq} are omitted +or NULL.} + +\item{out.dist}{Numeric vector, the distribution of the number of edges to +add in each time step. This argument is only used if the \code{out.seq} +argument is omitted or NULL.} + +\item{out.seq}{Numeric vector giving the number of edges to add in each time +step. Its first element is ignored as no edges are added in the first time +step.} + +\item{out.pref}{Logical, if true the total degree is used for calculating +the citation probability, otherwise the in-degree is used.} + +\item{zero.appeal}{The \sQuote{attractiveness} of the vertices with no +adjacent edges. See details below.} + +\item{directed}{Whether to create a directed graph.} + +\item{algorithm}{The algorithm to use for the graph generation. +\code{psumtree} uses a partial prefix-sum tree to generate the graph, this +algorithm can handle any \code{power} and \code{zero.appeal} values and +never generates multiple edges. \code{psumtree-multiple} also uses a +partial prefix-sum tree, but the generation of multiple edges is allowed. +Before the 0.6 version igraph used this algorithm if \code{power} was not +one, or \code{zero.appeal} was not one. \code{bag} is the algorithm that +was previously (before version 0.6) used if \code{power} was one and +\code{zero.appeal} was one as well. It works by putting the ids of the +vertices into a bag (multiset, really), exactly as many times as their +(in-)degree, plus once more. Then the required number of cited vertices are +drawn from the bag, with replacement. This method might generate multiple +edges. It only works if \code{power} and \code{zero.appeal} are equal one.} + +\item{start.graph}{\code{NULL} or an igraph graph. If a graph, then the +supplied graph is used as a starting graph for the preferential attachment +algorithm. The graph should have at least one vertex. If a graph is supplied +here and the \code{out.seq} argument is not \code{NULL}, then it should +contain the out degrees of the new vertices only, not the ones in the +\code{start.graph}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{barabasi.game()} was renamed to \code{sample_pa()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/betweenness.Rd b/man/betweenness.Rd index 68e52b54dc5..b9145c8fb26 100644 --- a/man/betweenness.Rd +++ b/man/betweenness.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centrality.R \name{betweenness} \alias{betweenness} -\alias{edge.betweenness} \alias{betweenness.estimate} \alias{edge.betweenness.estimate} \alias{edge_betweenness} diff --git a/man/bfs.Rd b/man/bfs.Rd index b41dec5bf9c..3d87cba237b 100644 --- a/man/bfs.Rd +++ b/man/bfs.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/structural.properties.R \name{bfs} \alias{bfs} -\alias{graph.bfs} \title{Breadth-first search} \usage{ bfs( diff --git a/man/biconnected.components.Rd b/man/biconnected.components.Rd new file mode 100644 index 00000000000..a814aff225f --- /dev/null +++ b/man/biconnected.components.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{biconnected.components} +\alias{biconnected.components} +\title{Biconnected components} +\usage{ +biconnected.components(graph) +} +\arguments{ +\item{graph}{The input graph. It is treated as an undirected graph, even if +it is directed.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{biconnected.components()} was renamed to \code{biconnected_components()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/biconnected_components.Rd b/man/biconnected_components.Rd index 3fe8dd30160..52d920575e0 100644 --- a/man/biconnected_components.Rd +++ b/man/biconnected_components.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/components.R \name{biconnected_components} \alias{biconnected_components} -\alias{biconnected.components} \title{Biconnected components} \usage{ biconnected_components(graph) diff --git a/man/bipartite.mapping.Rd b/man/bipartite.mapping.Rd new file mode 100644 index 00000000000..020084c4229 --- /dev/null +++ b/man/bipartite.mapping.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{bipartite.mapping} +\alias{bipartite.mapping} +\title{Decide whether a graph is bipartite} +\usage{ +bipartite.mapping(graph) +} +\arguments{ +\item{graph}{The input graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{bipartite.mapping()} was renamed to \code{bipartite_mapping()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/bipartite.projection.Rd b/man/bipartite.projection.Rd new file mode 100644 index 00000000000..7c2765c62d0 --- /dev/null +++ b/man/bipartite.projection.Rd @@ -0,0 +1,51 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/bipartite.R +\name{bipartite.projection} +\alias{bipartite.projection} +\title{Project a bipartite graph} +\usage{ +bipartite.projection( + graph, + types = NULL, + multiplicity = TRUE, + probe1 = NULL, + which = c("both", "true", "false"), + remove.type = TRUE +) +} +\arguments{ +\item{graph}{The input graph. It can be directed, but edge directions are +ignored during the computation.} + +\item{types}{An optional vertex type vector to use instead of the +\sQuote{\code{type}} vertex attribute. You must supply this argument if the +graph has no \sQuote{\code{type}} vertex attribute.} + +\item{multiplicity}{If \code{TRUE}, then igraph keeps the multiplicity of +the edges as an edge attribute called \sQuote{weight}. +E.g. if there is an A-C-B and also an A-D-B +triple in the bipartite graph (but no more X, such that A-X-B is also in the +graph), then the multiplicity of the A-B edge in the projection will be 2.} + +\item{probe1}{This argument can be used to specify the order of the +projections in the resulting list. If given, then it is considered as a +vertex id (or a symbolic vertex name); the projection containing this vertex +will be the first one in the result list. This argument is ignored if only +one projection is requested in argument \code{which}.} + +\item{which}{A character scalar to specify which projection(s) to calculate. +The default is to calculate both.} + +\item{remove.type}{Logical scalar, whether to remove the \code{type} vertex +attribute from the projections. This makes sense because these graphs are +not bipartite any more. However if you want to combine them with each other +(or other bipartite graphs), then it is worth keeping this attribute. By +default it will be removed.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{bipartite.projection()} was renamed to \code{bipartite_projection()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/bipartite.projection.size.Rd b/man/bipartite.projection.size.Rd new file mode 100644 index 00000000000..a25ef348749 --- /dev/null +++ b/man/bipartite.projection.size.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{bipartite.projection.size} +\alias{bipartite.projection.size} +\title{Project a bipartite graph} +\usage{ +bipartite.projection.size(graph, types = NULL) +} +\arguments{ +\item{graph}{The input graph. It can be directed, but edge directions are +ignored during the computation.} + +\item{types}{An optional vertex type vector to use instead of the +\sQuote{\code{type}} vertex attribute. You must supply this argument if the +graph has no \sQuote{\code{type}} vertex attribute.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{bipartite.projection.size()} was renamed to \code{bipartite_projection_size()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/bipartite.random.game.Rd b/man/bipartite.random.game.Rd new file mode 100644 index 00000000000..b21155f19e2 --- /dev/null +++ b/man/bipartite.random.game.Rd @@ -0,0 +1,48 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{bipartite.random.game} +\alias{bipartite.random.game} +\title{Bipartite random graphs} +\usage{ +bipartite.random.game( + n1, + n2, + type = c("gnp", "gnm"), + p, + m, + directed = FALSE, + mode = c("out", "in", "all") +) +} +\arguments{ +\item{n1}{Integer scalar, the number of bottom vertices.} + +\item{n2}{Integer scalar, the number of top vertices.} + +\item{type}{Character scalar, the type of the graph, \sQuote{gnp} creates a +\eqn{G(n,p)} graph, \sQuote{gnm} creates a \eqn{G(n,m)} graph. See details below.} + +\item{p}{Real scalar, connection probability for \eqn{G(n,p)} graphs. Should not +be given for \eqn{G(n,m)} graphs.} + +\item{m}{Integer scalar, the number of edges for \eqn{G(n,m)} graphs. Should not +be given for \eqn{G(n,p)} graphs.} + +\item{directed}{Logical scalar, whether to create a directed graph. See also +the \code{mode} argument.} + +\item{mode}{Character scalar, specifies how to direct the edges in directed +graphs. If it is \sQuote{out}, then directed edges point from bottom +vertices to top vertices. If it is \sQuote{in}, edges point from top +vertices to bottom vertices. \sQuote{out} and \sQuote{in} do not generate +mutual edges. If this argument is \sQuote{all}, then each edge direction is +considered independently and mutual edges might be generated. This argument +is ignored for undirected graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{bipartite.random.game()} was renamed to \code{sample_bipartite()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/bipartite_mapping.Rd b/man/bipartite_mapping.Rd index d5a3f0c599f..72e621f82bc 100644 --- a/man/bipartite_mapping.Rd +++ b/man/bipartite_mapping.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/bipartite.R \name{bipartite_mapping} \alias{bipartite_mapping} -\alias{bipartite.mapping} \title{Decide whether a graph is bipartite} \usage{ bipartite_mapping(graph) diff --git a/man/bipartite_projection.Rd b/man/bipartite_projection.Rd index 4e90535cef1..a49713feac4 100644 --- a/man/bipartite_projection.Rd +++ b/man/bipartite_projection.Rd @@ -2,8 +2,6 @@ % Please edit documentation in R/bipartite.R \name{bipartite_projection} \alias{bipartite_projection} -\alias{bipartite.projection} -\alias{bipartite.projection.size} \alias{bipartite_projection_size} \title{Project a bipartite graph} \usage{ diff --git a/man/blockGraphs.Rd b/man/blockGraphs.Rd new file mode 100644 index 00000000000..547f1a07868 --- /dev/null +++ b/man/blockGraphs.Rd @@ -0,0 +1,24 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/cohesive.blocks.R +\name{blockGraphs} +\alias{blockGraphs} +\title{Calculate Cohesive Blocks} +\usage{ +blockGraphs(blocks, graph) +} +\arguments{ +\item{graph}{For \code{cohesive_blocks()} a graph object of class +\code{igraph}. It must be undirected and simple. (See +\code{\link[=is_simple]{is_simple()}}.) + +For \code{graphs_from_cohesive_blocks()} and \code{export_pajek()} the same graph must be +supplied whose cohesive block structure is given in the \code{blocks()} +argument.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{blockGraphs()} was renamed to \code{graphs_from_cohesive_blocks()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/bonpow.Rd b/man/bonpow.Rd new file mode 100644 index 00000000000..97a6598ca0f --- /dev/null +++ b/man/bonpow.Rd @@ -0,0 +1,46 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/centrality.R +\name{bonpow} +\alias{bonpow} +\title{Find Bonacich Power Centrality Scores of Network Positions} +\usage{ +bonpow( + graph, + nodes = V(graph), + loops = FALSE, + exponent = 1, + rescale = FALSE, + tol = 1e-07, + sparse = TRUE +) +} +\arguments{ +\item{graph}{the input graph.} + +\item{nodes}{vertex sequence indicating which vertices are to be included in +the calculation. By default, all vertices are included.} + +\item{loops}{boolean indicating whether or not the diagonal should be +treated as valid data. Set this true if and only if the data can contain +loops. \code{loops} is \code{FALSE} by default.} + +\item{exponent}{exponent (decay rate) for the Bonacich power centrality +score; can be negative} + +\item{rescale}{if true, centrality scores are rescaled such that they sum to +1.} + +\item{tol}{tolerance for near-singularities during matrix inversion (see +\code{\link[=solve]{solve()}})} + +\item{sparse}{Logical scalar, whether to use sparse matrices for the +calculation. The \sQuote{Matrix} package is required for sparse matrix +support} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{bonpow()} was renamed to \code{power_centrality()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/callaway.traits.game.Rd b/man/callaway.traits.game.Rd new file mode 100644 index 00000000000..866f619da76 --- /dev/null +++ b/man/callaway.traits.game.Rd @@ -0,0 +1,37 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{callaway.traits.game} +\alias{callaway.traits.game} +\title{Graph generation based on different vertex types} +\usage{ +callaway.traits.game( + nodes, + types, + edge.per.step = 1, + type.dist = rep(1, types), + pref.matrix = matrix(1, types, types), + directed = FALSE +) +} +\arguments{ +\item{nodes}{The number of vertices in the graph.} + +\item{types}{The number of different vertex types.} + +\item{edge.per.step}{The number of edges to add to the graph per time step.} + +\item{type.dist}{The distribution of the vertex types. This is assumed to be +stationary in time.} + +\item{pref.matrix}{A matrix giving the preferences of the given vertex +types. These should be probabilities, i.e. numbers between zero and one.} + +\item{directed}{Logical constant, whether to generate directed graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{callaway.traits.game()} was renamed to \code{sample_traits_callaway()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/canonical.permutation.Rd b/man/canonical.permutation.Rd new file mode 100644 index 00000000000..3d7784d479e --- /dev/null +++ b/man/canonical.permutation.Rd @@ -0,0 +1,32 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{canonical.permutation} +\alias{canonical.permutation} +\title{Canonical permutation of a graph} +\usage{ +canonical.permutation( + graph, + colors, + sh = c("fm", "f", "fs", "fl", "flm", "fsm") +) +} +\arguments{ +\item{graph}{The input graph, treated as undirected.} + +\item{colors}{The colors of the individual vertices of the graph; only +vertices having the same color are allowed to match each other in an +automorphism. When omitted, igraph uses the \code{color} attribute of the +vertices, or, if there is no such vertex attribute, it simply assumes that +all vertices have the same color. Pass NULL explicitly if the graph has a +\code{color} vertex attribute but you do not want to use it.} + +\item{sh}{Type of the heuristics to use for the BLISS algorithm. See details +for possible values.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{canonical.permutation()} was renamed to \code{canonical_permutation()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/canonical_permutation.Rd b/man/canonical_permutation.Rd index 8d714e09918..fbb47451aaf 100644 --- a/man/canonical_permutation.Rd +++ b/man/canonical_permutation.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/topology.R \name{canonical_permutation} \alias{canonical_permutation} -\alias{canonical.permutation} \title{Canonical permutation of a graph} \usage{ canonical_permutation( diff --git a/man/centr_betw.Rd b/man/centr_betw.Rd index 5c8dd453cca..67d68249dc7 100644 --- a/man/centr_betw.Rd +++ b/man/centr_betw.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centralization.R \name{centr_betw} \alias{centr_betw} -\alias{centralization.betweenness} \title{Centralize a graph according to the betweenness of vertices} \usage{ centr_betw(graph, directed = TRUE, normalized = TRUE) diff --git a/man/centr_betw_tmax.Rd b/man/centr_betw_tmax.Rd index 977cad8427b..a1301dcf91d 100644 --- a/man/centr_betw_tmax.Rd +++ b/man/centr_betw_tmax.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centralization.R \name{centr_betw_tmax} \alias{centr_betw_tmax} -\alias{centralization.betweenness.tmax} \title{Theoretical maximum for betweenness centralization} \usage{ centr_betw_tmax(graph = NULL, nodes = 0, directed = TRUE) diff --git a/man/centr_clo.Rd b/man/centr_clo.Rd index af1fb78decc..39a27ed8023 100644 --- a/man/centr_clo.Rd +++ b/man/centr_clo.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centralization.R \name{centr_clo} \alias{centr_clo} -\alias{centralization.closeness} \title{Centralize a graph according to the closeness of vertices} \usage{ centr_clo(graph, mode = c("out", "in", "all", "total"), normalized = TRUE) diff --git a/man/centr_clo_tmax.Rd b/man/centr_clo_tmax.Rd index 59e6ef568e0..6e42441502a 100644 --- a/man/centr_clo_tmax.Rd +++ b/man/centr_clo_tmax.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centralization.R \name{centr_clo_tmax} \alias{centr_clo_tmax} -\alias{centralization.closeness.tmax} \title{Theoretical maximum for closeness centralization} \usage{ centr_clo_tmax(graph = NULL, nodes = 0, mode = c("out", "in", "all", "total")) diff --git a/man/centr_degree.Rd b/man/centr_degree.Rd index f5e66713471..006a67eeee1 100644 --- a/man/centr_degree.Rd +++ b/man/centr_degree.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centralization.R \name{centr_degree} \alias{centr_degree} -\alias{centralization.degree} \title{Centralize a graph according to the degrees of vertices} \usage{ centr_degree( diff --git a/man/centr_degree_tmax.Rd b/man/centr_degree_tmax.Rd index ef8cb93b249..f2992fd2c23 100644 --- a/man/centr_degree_tmax.Rd +++ b/man/centr_degree_tmax.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centralization.R \name{centr_degree_tmax} \alias{centr_degree_tmax} -\alias{centralization.degree.tmax} \title{Theoretical maximum for degree centralization} \usage{ centr_degree_tmax( diff --git a/man/centr_eigen.Rd b/man/centr_eigen.Rd index 2c2a7dfdc3a..53bd39c5932 100644 --- a/man/centr_eigen.Rd +++ b/man/centr_eigen.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centralization.R \name{centr_eigen} \alias{centr_eigen} -\alias{centralization.evcent} \title{Centralize a graph according to the eigenvector centrality of vertices} \usage{ centr_eigen( diff --git a/man/centr_eigen_tmax.Rd b/man/centr_eigen_tmax.Rd index 85f40c7205a..09ec1d64449 100644 --- a/man/centr_eigen_tmax.Rd +++ b/man/centr_eigen_tmax.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centralization.R \name{centr_eigen_tmax} \alias{centr_eigen_tmax} -\alias{centralization.evcent.tmax} \title{Theoretical maximum for betweenness centralization} \usage{ centr_eigen_tmax(graph = NULL, nodes = 0, directed = FALSE, scale = TRUE) diff --git a/man/centralization.betweenness.Rd b/man/centralization.betweenness.Rd new file mode 100644 index 00000000000..e567a4f8318 --- /dev/null +++ b/man/centralization.betweenness.Rd @@ -0,0 +1,24 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/centralization.R +\name{centralization.betweenness} +\alias{centralization.betweenness} +\title{Centralize a graph according to the betweenness of vertices} +\usage{ +centralization.betweenness(graph, directed = TRUE, normalized = TRUE) +} +\arguments{ +\item{graph}{The input graph.} + +\item{directed}{logical scalar, whether to use directed shortest paths for +calculating betweenness.} + +\item{normalized}{Logical scalar. Whether to normalize the graph level +centrality score by dividing by the theoretical maximum.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{centralization.betweenness()} was renamed to \code{centr_betw()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/centralization.betweenness.tmax.Rd b/man/centralization.betweenness.tmax.Rd new file mode 100644 index 00000000000..4ab4f7f3ae8 --- /dev/null +++ b/man/centralization.betweenness.tmax.Rd @@ -0,0 +1,25 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{centralization.betweenness.tmax} +\alias{centralization.betweenness.tmax} +\title{Theoretical maximum for betweenness centralization} +\usage{ +centralization.betweenness.tmax(graph = NULL, nodes = 0, directed = TRUE) +} +\arguments{ +\item{graph}{The input graph. It can also be \code{NULL}, if +\code{nodes} is given.} + +\item{nodes}{The number of vertices. This is ignored if the graph is +given.} + +\item{directed}{logical scalar, whether to use directed shortest paths +for calculating betweenness.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{centralization.betweenness.tmax()} was renamed to \code{centr_betw_tmax()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/centralization.closeness.Rd b/man/centralization.closeness.Rd new file mode 100644 index 00000000000..4029e5b3607 --- /dev/null +++ b/man/centralization.closeness.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{centralization.closeness} +\alias{centralization.closeness} +\title{Centralize a graph according to the closeness of vertices} +\usage{ +centralization.closeness( + graph, + mode = c("out", "in", "all", "total"), + normalized = TRUE +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{mode}{This is the same as the \code{mode} argument of +\code{closeness()}.} + +\item{normalized}{Logical scalar. Whether to normalize the graph level +centrality score by dividing by the theoretical maximum.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{centralization.closeness()} was renamed to \code{centr_clo()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/centralization.closeness.tmax.Rd b/man/centralization.closeness.tmax.Rd new file mode 100644 index 00000000000..9509eb014f5 --- /dev/null +++ b/man/centralization.closeness.tmax.Rd @@ -0,0 +1,29 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{centralization.closeness.tmax} +\alias{centralization.closeness.tmax} +\title{Theoretical maximum for closeness centralization} +\usage{ +centralization.closeness.tmax( + graph = NULL, + nodes = 0, + mode = c("out", "in", "all", "total") +) +} +\arguments{ +\item{graph}{The input graph. It can also be \code{NULL}, if +\code{nodes} is given.} + +\item{nodes}{The number of vertices. This is ignored if the graph is +given.} + +\item{mode}{This is the same as the \code{mode} argument of +\code{closeness()}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{centralization.closeness.tmax()} was renamed to \code{centr_clo_tmax()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/centralization.degree.Rd b/man/centralization.degree.Rd new file mode 100644 index 00000000000..0555dbd0025 --- /dev/null +++ b/man/centralization.degree.Rd @@ -0,0 +1,32 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{centralization.degree} +\alias{centralization.degree} +\title{Centralize a graph according to the degrees of vertices} +\usage{ +centralization.degree( + graph, + mode = c("all", "out", "in", "total"), + loops = TRUE, + normalized = TRUE +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{mode}{This is the same as the \code{mode} argument of +\code{degree()}.} + +\item{loops}{Logical scalar, whether to consider loops edges when +calculating the degree.} + +\item{normalized}{Logical scalar. Whether to normalize the graph level +centrality score by dividing by the theoretical maximum.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{centralization.degree()} was renamed to \code{centr_degree()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/centralization.degree.tmax.Rd b/man/centralization.degree.tmax.Rd new file mode 100644 index 00000000000..b71ddbe3df2 --- /dev/null +++ b/man/centralization.degree.tmax.Rd @@ -0,0 +1,33 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/centralization.R +\name{centralization.degree.tmax} +\alias{centralization.degree.tmax} +\title{Theoretical maximum for degree centralization} +\usage{ +centralization.degree.tmax( + graph = NULL, + nodes = 0, + mode = c("all", "out", "in", "total"), + loops = FALSE +) +} +\arguments{ +\item{graph}{The input graph. It can also be \code{NULL}, if +\code{nodes}, \code{mode} and \code{loops} are all given.} + +\item{nodes}{The number of vertices. This is ignored if the graph is given.} + +\item{mode}{This is the same as the \code{mode} argument of +\code{degree()}.} + +\item{loops}{Logical scalar, whether to consider loops edges when +calculating the degree. Currently the default value is \code{FALSE}, +but this argument will be required from igraph 1.4.0.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{centralization.degree.tmax()} was renamed to \code{centr_degree_tmax()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/centralization.evcent.Rd b/man/centralization.evcent.Rd new file mode 100644 index 00000000000..5bbc0cbd3f7 --- /dev/null +++ b/man/centralization.evcent.Rd @@ -0,0 +1,36 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{centralization.evcent} +\alias{centralization.evcent} +\title{Centralize a graph according to the eigenvector centrality of vertices} +\usage{ +centralization.evcent( + graph, + directed = FALSE, + scale = TRUE, + options = arpack_defaults(), + normalized = TRUE +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{directed}{logical scalar, whether to use directed shortest paths for +calculating eigenvector centrality.} + +\item{scale}{Whether to rescale the eigenvector centrality scores, such that +the maximum score is one.} + +\item{options}{This is passed to \code{\link[=eigen_centrality]{eigen_centrality()}}, the options +for the ARPACK eigensolver.} + +\item{normalized}{Logical scalar. Whether to normalize the graph level +centrality score by dividing by the theoretical maximum.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{centralization.evcent()} was renamed to \code{centr_eigen()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/centralization.evcent.tmax.Rd b/man/centralization.evcent.tmax.Rd new file mode 100644 index 00000000000..5a8eda9c602 --- /dev/null +++ b/man/centralization.evcent.tmax.Rd @@ -0,0 +1,33 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{centralization.evcent.tmax} +\alias{centralization.evcent.tmax} +\title{Theoretical maximum for betweenness centralization} +\usage{ +centralization.evcent.tmax( + graph = NULL, + nodes = 0, + directed = FALSE, + scale = TRUE +) +} +\arguments{ +\item{graph}{The input graph. It can also be \code{NULL}, if +\code{nodes} is given.} + +\item{nodes}{The number of vertices. This is ignored if the graph is +given.} + +\item{directed}{logical scalar, whether to use directed shortest paths +for calculating betweenness.} + +\item{scale}{Whether to rescale the eigenvector centrality scores, +such that the maximum score is one.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{centralization.evcent.tmax()} was renamed to \code{centr_eigen_tmax()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/centralize.Rd b/man/centralize.Rd index f72e0c2610f..6499a6d591a 100644 --- a/man/centralize.Rd +++ b/man/centralize.Rd @@ -3,7 +3,6 @@ \name{centralize} \alias{centralize} \alias{centralization} -\alias{centralize.scores} \title{Centralization of a graph} \usage{ centralize(scores, theoretical.max = 0, normalized = TRUE) diff --git a/man/centralize.scores.Rd b/man/centralize.scores.Rd new file mode 100644 index 00000000000..e79f06eef5c --- /dev/null +++ b/man/centralize.scores.Rd @@ -0,0 +1,26 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{centralize.scores} +\alias{centralize.scores} +\title{Centralization of a graph} +\usage{ +centralize.scores(scores, theoretical.max = 0, normalized = TRUE) +} +\arguments{ +\item{scores}{The vertex level centrality scores.} + +\item{theoretical.max}{Real scalar. The graph-level centralization measure of +the most centralized graph with the same number of vertices as the graph +under study. This is only used if the \code{normalized} argument is set +to \code{TRUE}.} + +\item{normalized}{Logical scalar. Whether to normalize the graph level +centrality score by dividing by the supplied theoretical maximum.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{centralize.scores()} was renamed to \code{centralize()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/cited.type.game.Rd b/man/cited.type.game.Rd new file mode 100644 index 00000000000..68707d0354e --- /dev/null +++ b/man/cited.type.game.Rd @@ -0,0 +1,39 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{cited.type.game} +\alias{cited.type.game} +\title{Random citation graphs} +\usage{ +cited.type.game( + n, + edges = 1, + types = rep(0, n), + pref = rep(1, length(types)), + directed = TRUE, + attr = TRUE +) +} +\arguments{ +\item{n}{Number of vertices.} + +\item{edges}{Number of edges per step.} + +\item{types}{Vector of length \sQuote{\code{n}}, the types of the vertices. +Types are numbered from zero.} + +\item{pref}{Vector (\code{sample_last_cit()} and \code{sample_cit_types()} or +matrix (\code{sample_cit_cit_types()}) giving the (unnormalized) citation +probabilities for the different vertex types.} + +\item{directed}{Logical scalar, whether to generate directed networks.} + +\item{attr}{Logical scalar, whether to add the vertex types to the generated +graph as a vertex attribute called \sQuote{\code{type}}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{cited.type.game()} was renamed to \code{sample_cit_types()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/citing.cited.type.game.Rd b/man/citing.cited.type.game.Rd new file mode 100644 index 00000000000..340244a335a --- /dev/null +++ b/man/citing.cited.type.game.Rd @@ -0,0 +1,39 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{citing.cited.type.game} +\alias{citing.cited.type.game} +\title{Random citation graphs} +\usage{ +citing.cited.type.game( + n, + edges = 1, + types = rep(0, n), + pref = matrix(1, nrow = length(types), ncol = length(types)), + directed = TRUE, + attr = TRUE +) +} +\arguments{ +\item{n}{Number of vertices.} + +\item{edges}{Number of edges per step.} + +\item{types}{Vector of length \sQuote{\code{n}}, the types of the vertices. +Types are numbered from zero.} + +\item{pref}{Vector (\code{sample_last_cit()} and \code{sample_cit_types()} or +matrix (\code{sample_cit_cit_types()}) giving the (unnormalized) citation +probabilities for the different vertex types.} + +\item{directed}{Logical scalar, whether to generate directed networks.} + +\item{attr}{Logical scalar, whether to add the vertex types to the generated +graph as a vertex attribute called \sQuote{\code{type}}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{citing.cited.type.game()} was renamed to \code{sample_cit_cit_types()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/clique.number.Rd b/man/clique.number.Rd new file mode 100644 index 00000000000..b9900ce618c --- /dev/null +++ b/man/clique.number.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{clique.number} +\alias{clique.number} +\title{Functions to find cliques, i.e. complete subgraphs in a graph} +\usage{ +clique.number(graph) +} +\arguments{ +\item{graph}{The input graph, directed graphs will be considered as +undirected ones, multiple edges and loops are ignored.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{clique.number()} was renamed to \code{clique_num()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/cliques.Rd b/man/cliques.Rd index b2480c36b12..93698c19ecb 100644 --- a/man/cliques.Rd +++ b/man/cliques.Rd @@ -2,10 +2,6 @@ % Please edit documentation in R/cliques.R \name{cliques} \alias{cliques} -\alias{maximal.cliques} -\alias{maximal.cliques.count} -\alias{clique.number} -\alias{largest.cliques} \alias{largest_cliques} \alias{max_cliques} \alias{count_max_cliques} diff --git a/man/cluster.distribution.Rd b/man/cluster.distribution.Rd new file mode 100644 index 00000000000..52a18013276 --- /dev/null +++ b/man/cluster.distribution.Rd @@ -0,0 +1,27 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/components.R +\name{cluster.distribution} +\alias{cluster.distribution} +\title{Connected components of a graph} +\usage{ +cluster.distribution(graph, cumulative = FALSE, mul.size = FALSE, ...) +} +\arguments{ +\item{graph}{The graph to analyze.} + +\item{cumulative}{Logical, if TRUE the cumulative distirubution (relative +frequency) is calculated.} + +\item{mul.size}{Logical. If TRUE the relative frequencies will be multiplied +by the cluster sizes.} + +\item{...}{Additional attributes to pass to \code{cluster}, right now only +\code{mode} makes sense.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{cluster.distribution()} was renamed to \code{component_distribution()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/cluster_edge_betweenness.Rd b/man/cluster_edge_betweenness.Rd index 991ee28ac25..6d31faa37fa 100644 --- a/man/cluster_edge_betweenness.Rd +++ b/man/cluster_edge_betweenness.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/community.R \name{cluster_edge_betweenness} \alias{cluster_edge_betweenness} -\alias{edge.betweenness.community} \title{Community structure detection based on edge betweenness} \usage{ cluster_edge_betweenness( @@ -125,7 +124,6 @@ Community detection \code{\link{compare}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} diff --git a/man/cluster_fast_greedy.Rd b/man/cluster_fast_greedy.Rd index 96ba6c2461c..28c83d5c535 100644 --- a/man/cluster_fast_greedy.Rd +++ b/man/cluster_fast_greedy.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/community.R \name{cluster_fast_greedy} \alias{cluster_fast_greedy} -\alias{fastgreedy.community} \title{Community structure via greedy optimization of modularity} \usage{ cluster_fast_greedy( @@ -84,7 +83,6 @@ Community detection \code{\link{compare}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} diff --git a/man/cluster_fluid_communities.Rd b/man/cluster_fluid_communities.Rd index cfefcfd3738..748da5782e1 100644 --- a/man/cluster_fluid_communities.Rd +++ b/man/cluster_fluid_communities.Rd @@ -63,7 +63,6 @@ Community detection \code{\link{compare}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} diff --git a/man/cluster_infomap.Rd b/man/cluster_infomap.Rd index c6686d98779..b00b9150d8f 100644 --- a/man/cluster_infomap.Rd +++ b/man/cluster_infomap.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/community.R \name{cluster_infomap} \alias{cluster_infomap} -\alias{infomap.community} \title{Infomap community finding} \usage{ cluster_infomap( @@ -83,7 +82,6 @@ Community detection \code{\link{compare}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} diff --git a/man/cluster_label_prop.Rd b/man/cluster_label_prop.Rd index 3f7280f7f91..3b70de75b50 100644 --- a/man/cluster_label_prop.Rd +++ b/man/cluster_label_prop.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/community.R \name{cluster_label_prop} \alias{cluster_label_prop} -\alias{label.propagation.community} \title{Finding communities based on propagating labels} \usage{ cluster_label_prop(graph, weights = NULL, ..., initial = NULL, fixed = NULL) @@ -87,7 +86,6 @@ Community detection \code{\link{compare}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} diff --git a/man/cluster_leading_eigen.Rd b/man/cluster_leading_eigen.Rd index a13c2b4f610..1dfee602db2 100644 --- a/man/cluster_leading_eigen.Rd +++ b/man/cluster_leading_eigen.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/community.R \name{cluster_leading_eigen} \alias{cluster_leading_eigen} -\alias{leading.eigenvector.community} \title{Community structure detecting based on the leading eigenvector of the community matrix} \usage{ @@ -137,7 +136,6 @@ Community detection \code{\link{compare}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} diff --git a/man/cluster_leiden.Rd b/man/cluster_leiden.Rd index dc97b8b91a4..de8f1dfe604 100644 --- a/man/cluster_leiden.Rd +++ b/man/cluster_leiden.Rd @@ -145,7 +145,6 @@ Community detection \code{\link{compare}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} diff --git a/man/cluster_louvain.Rd b/man/cluster_louvain.Rd index 8a746e3dcee..97be08be2c8 100644 --- a/man/cluster_louvain.Rd +++ b/man/cluster_louvain.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/community.R \name{cluster_louvain} \alias{cluster_louvain} -\alias{multilevel.community} \title{Finding community structure by multi-level optimization of modularity} \usage{ cluster_louvain(graph, weights = NULL, resolution = 1) @@ -91,7 +90,6 @@ Community detection \code{\link{compare}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} diff --git a/man/cluster_optimal.Rd b/man/cluster_optimal.Rd index a5b9e5cb37d..f0f9c3a9177 100644 --- a/man/cluster_optimal.Rd +++ b/man/cluster_optimal.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/community.R \name{cluster_optimal} \alias{cluster_optimal} -\alias{optimal.community} \title{Optimal community structure} \usage{ cluster_optimal(graph, weights = NULL) @@ -90,7 +89,6 @@ Community detection \code{\link{compare}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} diff --git a/man/cluster_spinglass.Rd b/man/cluster_spinglass.Rd index 44fd509e165..bcf6d9576d6 100644 --- a/man/cluster_spinglass.Rd +++ b/man/cluster_spinglass.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/community.R \name{cluster_spinglass} \alias{cluster_spinglass} -\alias{spinglass.community} \title{Finding communities in graphs based on statistical meachanics} \usage{ cluster_spinglass( @@ -161,7 +160,6 @@ Community detection \code{\link{compare}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} diff --git a/man/cluster_walktrap.Rd b/man/cluster_walktrap.Rd index 99d51a045f4..e2940e4ca5c 100644 --- a/man/cluster_walktrap.Rd +++ b/man/cluster_walktrap.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/community.R \name{cluster_walktrap} \alias{cluster_walktrap} -\alias{walktrap.community} \title{Community structure via short random walks} \usage{ cluster_walktrap( @@ -90,7 +89,6 @@ Community detection \code{\link{compare}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} diff --git a/man/clusters.Rd b/man/clusters.Rd new file mode 100644 index 00000000000..97f9f8ca067 --- /dev/null +++ b/man/clusters.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{clusters} +\alias{clusters} +\title{Connected components of a graph} +\usage{ +clusters(graph, mode = c("weak", "strong")) +} +\arguments{ +\item{graph}{The graph to analyze.} + +\item{mode}{Character string, either \dQuote{weak} or \dQuote{strong}. For +directed graphs \dQuote{weak} implies weakly, \dQuote{strong} strongly +connected components to search. It is ignored for undirected graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{clusters()} was renamed to \code{components()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/code.length.Rd b/man/code.length.Rd new file mode 100644 index 00000000000..be96cd67b3e --- /dev/null +++ b/man/code.length.Rd @@ -0,0 +1,15 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{code.length} +\alias{code.length} +\title{Functions to deal with the result of network community detection} +\usage{ +code.length(communities) +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{code.length()} was renamed to \code{code_len()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/cohesive.blocks.Rd b/man/cohesive.blocks.Rd new file mode 100644 index 00000000000..363c6c420fe --- /dev/null +++ b/man/cohesive.blocks.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/cohesive.blocks.R +\name{cohesive.blocks} +\alias{cohesive.blocks} +\title{Calculate Cohesive Blocks} +\usage{ +cohesive.blocks(graph, labels = TRUE) +} +\arguments{ +\item{graph}{For \code{cohesive_blocks()} a graph object of class +\code{igraph}. It must be undirected and simple. (See +\code{\link[=is_simple]{is_simple()}}.) + +For \code{graphs_from_cohesive_blocks()} and \code{export_pajek()} the same graph must be +supplied whose cohesive block structure is given in the \code{blocks()} +argument.} + +\item{labels}{Logical scalar, whether to add the vertex labels to the result +object. These labels can be then used when reporting and plotting the +cohesive blocks.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{cohesive.blocks()} was renamed to \code{cohesive_blocks()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/cohesive_blocks.Rd b/man/cohesive_blocks.Rd index 6689ab24fe4..6d007cb908b 100644 --- a/man/cohesive_blocks.Rd +++ b/man/cohesive_blocks.Rd @@ -2,15 +2,11 @@ % Please edit documentation in R/cohesive.blocks.R \name{cohesive_blocks} \alias{cohesive_blocks} -\alias{cohesive.blocks} \alias{cohesiveBlocks} \alias{blocks} -\alias{blockGraphs} \alias{hierarchy} \alias{parent} -\alias{plotHierarchy} \alias{export_pajek} -\alias{maxcohesion} \alias{plot.cohesiveBlocks} \alias{summary.cohesiveBlocks} \alias{length.cohesiveBlocks} diff --git a/man/communities.Rd b/man/communities.Rd index d9975f7f09e..183ad2b7519 100644 --- a/man/communities.Rd +++ b/man/communities.Rd @@ -2,24 +2,20 @@ % Please edit documentation in R/community.R \name{membership} \alias{membership} -\alias{cutat} -\alias{is.hierarchical} -\alias{is_hierarchical} \alias{print.communities} -\alias{plot.communities} -\alias{length.communities} -\alias{as.dendrogram.communities} -\alias{as.hclust.communities} -\alias{showtrace} -\alias{code.length} \alias{modularity.communities} +\alias{length.communities} \alias{sizes} \alias{algorithm} \alias{merges} \alias{crossing} \alias{code_len} +\alias{is_hierarchical} +\alias{as.dendrogram.communities} +\alias{as.hclust.communities} \alias{cut_at} \alias{show_trace} +\alias{plot.communities} \alias{communities} \title{Functions to deal with the result of network community detection} \usage{ @@ -257,29 +253,13 @@ dendrograms. See \code{\link[=compare]{compare()}} for comparing two community structures on the same graph. - -Community detection -\code{\link{as_membership}()}, -\code{\link{cluster_edge_betweenness}()}, -\code{\link{cluster_fast_greedy}()}, -\code{\link{cluster_fluid_communities}()}, -\code{\link{cluster_infomap}()}, -\code{\link{cluster_label_prop}()}, -\code{\link{cluster_leading_eigen}()}, -\code{\link{cluster_leiden}()}, -\code{\link{cluster_louvain}()}, -\code{\link{cluster_optimal}()}, -\code{\link{cluster_spinglass}()}, -\code{\link{cluster_walktrap}()}, -\code{\link{compare}()}, -\code{\link{groups}()}, -\code{\link{make_clusters}()}, -\code{\link{modularity.igraph}()}, -\code{\link{plot_dendrogram}()}, -\code{\link{split_join_distance}()} } \author{ Gabor Csardi \email{csardi.gabor@gmail.com} } -\concept{community} +\concept{community +print.communities plot.communities +length.communities +as.dendrogram.communities as.hclust.communities +showtrace code.length} \keyword{graphs} diff --git a/man/compare.Rd b/man/compare.Rd index be522b0adb3..1b0f116da4f 100644 --- a/man/compare.Rd +++ b/man/compare.Rd @@ -81,7 +81,6 @@ Community detection \code{\link{cluster_walktrap}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} diff --git a/man/complementer.Rd b/man/complementer.Rd index 2d28bf6c9d0..e96d72b5325 100644 --- a/man/complementer.Rd +++ b/man/complementer.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/operators.R \name{complementer} \alias{complementer} -\alias{graph.complementer} \title{Complementer of a graph} \usage{ complementer(graph, loops = FALSE) diff --git a/man/components.Rd b/man/components.Rd index 94e9051932d..8e691926e4b 100644 --- a/man/components.Rd +++ b/man/components.Rd @@ -4,10 +4,6 @@ \alias{component_distribution} \alias{largest_component} \alias{components} -\alias{no.clusters} -\alias{clusters} -\alias{is.connected} -\alias{cluster.distribution} \alias{is_connected} \alias{count_components} \title{Connected components of a graph} diff --git a/man/compose.Rd b/man/compose.Rd index 5ee0634c6c2..3e84f901aed 100644 --- a/man/compose.Rd +++ b/man/compose.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/operators.R \name{compose} \alias{compose} -\alias{graph.compose} \alias{\%c\%} \title{Compose two graphs as binary relations} \usage{ diff --git a/man/connect.neighborhood.Rd b/man/connect.neighborhood.Rd new file mode 100644 index 00000000000..c7a65611aeb --- /dev/null +++ b/man/connect.neighborhood.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{connect.neighborhood} +\alias{connect.neighborhood} +\title{Neighborhood of graph vertices} +\usage{ +connect.neighborhood(graph, order, mode = c("all", "out", "in", "total")) +} +\arguments{ +\item{graph}{The input graph.} + +\item{order}{Integer giving the order of the neighborhood.} + +\item{mode}{Character constant, it specifies how to use the direction of +the edges if a directed graph is analyzed. For \sQuote{out} only the +outgoing edges are followed, so all vertices reachable from the source +vertex in at most \code{order} steps are counted. For \sQuote{"in"} all +vertices from which the source vertex is reachable in at most \code{order} +steps are counted. \sQuote{"all"} ignores the direction of the edges. This +argument is ignored for undirected graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{connect.neighborhood()} was renamed to \code{connect()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/consensus_tree.Rd b/man/consensus_tree.Rd index 222751059ae..d35ca4c497d 100644 --- a/man/consensus_tree.Rd +++ b/man/consensus_tree.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/hrg.R \name{consensus_tree} \alias{consensus_tree} -\alias{hrg.consensus} \title{Create a consensus tree from several hierarchical random graph models} \usage{ consensus_tree(graph, hrg = NULL, start = FALSE, num.samples = 10000) diff --git a/man/console.Rd b/man/console.Rd index 76696a09a3f..4ae2d543bff 100644 --- a/man/console.Rd +++ b/man/console.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/console.R \name{console} \alias{console} -\alias{igraph.console} \alias{.igraph.progress} \alias{.igraph.status} \title{The igraph console} diff --git a/man/contract.Rd b/man/contract.Rd index 91c22c2af77..0001c399b21 100644 --- a/man/contract.Rd +++ b/man/contract.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/community.R \name{contract} \alias{contract} -\alias{contract.vertices} \title{Contract several vertices into a single one} \usage{ contract(graph, mapping, vertex.attr.comb = igraph_opt("vertex.attr.comb")) diff --git a/man/contract.vertices.Rd b/man/contract.vertices.Rd new file mode 100644 index 00000000000..e7d18b210b4 --- /dev/null +++ b/man/contract.vertices.Rd @@ -0,0 +1,29 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{contract.vertices} +\alias{contract.vertices} +\title{Contract several vertices into a single one} +\usage{ +contract.vertices( + graph, + mapping, + vertex.attr.comb = igraph_opt("vertex.attr.comb") +) +} +\arguments{ +\item{graph}{The input graph, it can be directed or undirected.} + +\item{mapping}{A numeric vector that specifies the mapping. Its elements +correspond to the vertices, and for each element the id in the new graph is +given.} + +\item{vertex.attr.comb}{Specifies how to combine the vertex attributes in +the new graph. Please see \code{\link[=attribute.combination]{attribute.combination()}} for details.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{contract.vertices()} was renamed to \code{contract()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/convex.hull.Rd b/man/convex.hull.Rd new file mode 100644 index 00000000000..3bd892e24e3 --- /dev/null +++ b/man/convex.hull.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{convex.hull} +\alias{convex.hull} +\title{Convex hull of a set of vertices} +\usage{ +convex.hull(data) +} +\arguments{ +\item{data}{The data points, a numeric matrix with two columns.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{convex.hull()} was renamed to \code{convex_hull()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/convex_hull.Rd b/man/convex_hull.Rd index f6e5f8bb8a3..8955875ae4d 100644 --- a/man/convex_hull.Rd +++ b/man/convex_hull.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/other.R \name{convex_hull} \alias{convex_hull} -\alias{convex.hull} \title{Convex hull of a set of vertices} \usage{ convex_hull(data) diff --git a/man/coreness.Rd b/man/coreness.Rd index 271be1efb07..e8036699c3e 100644 --- a/man/coreness.Rd +++ b/man/coreness.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/structural.properties.R \name{coreness} \alias{coreness} -\alias{graph.coreness} \title{K-core decomposition of graphs} \usage{ coreness(graph, mode = c("all", "out", "in")) diff --git a/man/count.multiple.Rd b/man/count.multiple.Rd new file mode 100644 index 00000000000..112e61dd63b --- /dev/null +++ b/man/count.multiple.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{count.multiple} +\alias{count.multiple} +\title{Find the multiple or loop edges in a graph} +\usage{ +count.multiple(graph, eids = E(graph)) +} +\arguments{ +\item{graph}{The input graph.} + +\item{eids}{The edges to which the query is restricted. By default this is +all edges in the graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{count.multiple()} was renamed to \code{count_multiple()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/count_automorphisms.Rd b/man/count_automorphisms.Rd index f980a2d8fea..fa5aab242a1 100644 --- a/man/count_automorphisms.Rd +++ b/man/count_automorphisms.Rd @@ -2,8 +2,6 @@ % Please edit documentation in R/topology.R \name{count_automorphisms} \alias{count_automorphisms} -\alias{graph.automorphisms} -\alias{automorphisms} \title{Number of automorphisms} \usage{ count_automorphisms(graph, colors, sh = c("fm", "f", "fs", "fl", "flm", "fsm")) diff --git a/man/count_motifs.Rd b/man/count_motifs.Rd index 8a14b774ad3..3952cb1ccbe 100644 --- a/man/count_motifs.Rd +++ b/man/count_motifs.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/motifs.R \name{count_motifs} \alias{count_motifs} -\alias{graph.motifs.no} \title{Graph motifs} \usage{ count_motifs(graph, size = 3, cut.prob = rep(0, size)) diff --git a/man/count_triangles.Rd b/man/count_triangles.Rd index 9d4275a2a69..240968aafaf 100644 --- a/man/count_triangles.Rd +++ b/man/count_triangles.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/triangles.R \name{triangles} \alias{triangles} -\alias{adjacent.triangles} \alias{count_triangles} \title{Find triangles in graphs} \usage{ diff --git a/man/create.communities.Rd b/man/create.communities.Rd new file mode 100644 index 00000000000..a5a295fba5c --- /dev/null +++ b/man/create.communities.Rd @@ -0,0 +1,38 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{create.communities} +\alias{create.communities} +\title{Creates a communities object.} +\usage{ +create.communities( + graph, + membership = NULL, + algorithm = NULL, + merges = NULL, + modularity = TRUE +) +} +\arguments{ +\item{graph}{The graph of the community structure.} + +\item{membership}{The membership vector of the community structure, a +numeric vector denoting the id of the community for each vertex. It +might be \code{NULL} for hierarchical community structures.} + +\item{algorithm}{Character string, the algorithm that generated +the community structure, it can be arbitrary.} + +\item{merges}{A merge matrix, for hierarchical community structures (or +\code{NULL} otherwise.} + +\item{modularity}{Modularity value of the community structure. If this +is \code{TRUE} and the membership vector is available, then it the +modularity values is calculated automatically.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{create.communities()} was renamed to \code{make_clusters()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/curve_multiple.Rd b/man/curve_multiple.Rd index 60fcace19b5..39bb02c9c8f 100644 --- a/man/curve_multiple.Rd +++ b/man/curve_multiple.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/plot.common.R \name{curve_multiple} \alias{curve_multiple} -\alias{autocurve.edges} \title{Optimal edge curvature when plotting graphs} \usage{ curve_multiple(graph, start = 0.5) diff --git a/man/cutat.Rd b/man/cutat.Rd new file mode 100644 index 00000000000..76ddf29d58b --- /dev/null +++ b/man/cutat.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{cutat} +\alias{cutat} +\title{Functions to deal with the result of network community detection} +\usage{ +cutat(communities, no, steps) +} +\arguments{ +\item{no}{Integer scalar, the desired number of communities. If too low or +two high, then an error message is given. Exactly one of \code{no} and +\code{steps} must be supplied.} + +\item{steps}{The number of merge operations to perform to produce the +communities. Exactly one of \code{no} and \code{steps} must be supplied.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{cutat()} was renamed to \code{cut_at()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/decompose.Rd b/man/decompose.Rd index 4f5b71a884a..f2fb8264e7d 100644 --- a/man/decompose.Rd +++ b/man/decompose.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/components.R \name{decompose} \alias{decompose} -\alias{decompose.graph} \title{Decompose a graph into components} \usage{ decompose(graph, mode = c("weak", "strong"), max.comps = NA, min.vertices = 0) diff --git a/man/decompose.graph.Rd b/man/decompose.graph.Rd new file mode 100644 index 00000000000..2d0da7dde12 --- /dev/null +++ b/man/decompose.graph.Rd @@ -0,0 +1,37 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/components.R +\name{decompose.graph} +\alias{decompose.graph} +\title{Decompose a graph into components} +\usage{ +decompose.graph( + graph, + mode = c("weak", "strong"), + max.comps = NA, + min.vertices = 0 +) +} +\arguments{ +\item{graph}{The original graph.} + +\item{mode}{Character constant giving the type of the components, wither +\code{weak} for weakly connected components or \code{strong} for strongly +connected components.} + +\item{max.comps}{The maximum number of components to return. The first +\code{max.comps} components will be returned (which hold at least +\code{min.vertices} vertices, see the next parameter), the others will be +ignored. Supply \code{NA} here if you don't want to limit the number of +components.} + +\item{min.vertices}{The minimum number of vertices a component should +contain in order to place it in the result list. E.g. supply 2 here to ignore +isolate vertices.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{decompose.graph()} was renamed to \code{decompose()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/degree.Rd b/man/degree.Rd index c69b416957d..e7f49c3f960 100644 --- a/man/degree.Rd +++ b/man/degree.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/structural.properties.R \name{degree} \alias{degree} -\alias{degree.distribution} \alias{degree_distribution} \title{Degree and degree distribution of the vertices} \usage{ diff --git a/man/degree.distribution.Rd b/man/degree.distribution.Rd new file mode 100644 index 00000000000..945b67d45d6 --- /dev/null +++ b/man/degree.distribution.Rd @@ -0,0 +1,24 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{degree.distribution} +\alias{degree.distribution} +\title{Degree and degree distribution of the vertices} +\usage{ +degree.distribution(graph, cumulative = FALSE, ...) +} +\arguments{ +\item{graph}{The graph to analyze.} + +\item{cumulative}{Logical; whether the cumulative degree distribution is to +be calculated.} + +\item{...}{Additional arguments to pass to \code{degree()}, e.g. \code{mode} +is useful but also \code{v} and \code{loops} make sense.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{degree.distribution()} was renamed to \code{degree_distribution()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/degree.sequence.game.Rd b/man/degree.sequence.game.Rd new file mode 100644 index 00000000000..1ad6a9fc821 --- /dev/null +++ b/man/degree.sequence.game.Rd @@ -0,0 +1,32 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{degree.sequence.game} +\alias{degree.sequence.game} +\title{Generate random graphs with a given degree sequence} +\usage{ +degree.sequence.game( + out.deg, + in.deg = NULL, + method = c("simple", "vl", "simple.no.multiple", "simple.no.multiple.uniform") +) +} +\arguments{ +\item{out.deg}{Numeric vector, the sequence of degrees (for undirected +graphs) or out-degrees (for directed graphs). For undirected graphs its sum +should be even. For directed graphs its sum should be the same as the sum of +\code{in.deg}.} + +\item{in.deg}{For directed graph, the in-degree sequence. By default this is +\code{NULL} and an undirected graph is created.} + +\item{method}{Character, the method for generating the graph. Right now the +\dQuote{simple}, \dQuote{simple.no.multiple} and \dQuote{vl} methods are +implemented.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{degree.sequence.game()} was renamed to \code{sample_degseq()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/delete.edges.Rd b/man/delete.edges.Rd new file mode 100644 index 00000000000..8782d65668f --- /dev/null +++ b/man/delete.edges.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/interface.R +\name{delete.edges} +\alias{delete.edges} +\title{Delete edges from a graph} +\usage{ +delete.edges(graph, edges) +} +\arguments{ +\item{graph}{The input graph.} + +\item{edges}{The edges to remove, specified as an edge sequence. Typically +this is either a numeric vector containing edge IDs, or a character vector +containing the IDs or names of the source and target vertices, separated by +\code{|}} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{delete.edges()} was renamed to \code{delete_edges()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/delete.vertices.Rd b/man/delete.vertices.Rd new file mode 100644 index 00000000000..4d605ba4cb2 --- /dev/null +++ b/man/delete.vertices.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/interface.R +\name{delete.vertices} +\alias{delete.vertices} +\title{Delete vertices from a graph} +\usage{ +delete.vertices(graph, v) +} +\arguments{ +\item{graph}{The input graph.} + +\item{v}{The vertices to remove, a vertex sequence.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{delete.vertices()} was renamed to \code{delete_vertices()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/delete_edge_attr.Rd b/man/delete_edge_attr.Rd index 933d737cd92..5f335d23bbb 100644 --- a/man/delete_edge_attr.Rd +++ b/man/delete_edge_attr.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/attributes.R \name{delete_edge_attr} \alias{delete_edge_attr} -\alias{remove.edge.attribute} \title{Delete an edge attribute} \usage{ delete_edge_attr(graph, name) diff --git a/man/delete_edges.Rd b/man/delete_edges.Rd index 448acc4573e..d8a81c4e8b2 100644 --- a/man/delete_edges.Rd +++ b/man/delete_edges.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/interface.R \name{delete_edges} \alias{delete_edges} -\alias{delete.edges} \title{Delete edges from a graph} \usage{ delete_edges(graph, edges) diff --git a/man/delete_graph_attr.Rd b/man/delete_graph_attr.Rd index cb185a78dd2..1d74b9774d5 100644 --- a/man/delete_graph_attr.Rd +++ b/man/delete_graph_attr.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/attributes.R \name{delete_graph_attr} \alias{delete_graph_attr} -\alias{remove.graph.attribute} \title{Delete a graph attribute} \usage{ delete_graph_attr(graph, name) diff --git a/man/delete_vertex_attr.Rd b/man/delete_vertex_attr.Rd index 3852e56e992..9f77f908463 100644 --- a/man/delete_vertex_attr.Rd +++ b/man/delete_vertex_attr.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/attributes.R \name{delete_vertex_attr} \alias{delete_vertex_attr} -\alias{remove.vertex.attribute} \title{Delete a vertex attribute} \usage{ delete_vertex_attr(graph, name) diff --git a/man/delete_vertices.Rd b/man/delete_vertices.Rd index ff96924401f..c0b800fed3f 100644 --- a/man/delete_vertices.Rd +++ b/man/delete_vertices.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/interface.R \name{delete_vertices} \alias{delete_vertices} -\alias{delete.vertices} \title{Delete vertices from a graph} \usage{ delete_vertices(graph, v) diff --git a/man/dendPlot.Rd b/man/dendPlot.Rd new file mode 100644 index 00000000000..63f2e7940a7 --- /dev/null +++ b/man/dendPlot.Rd @@ -0,0 +1,24 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{dendPlot} +\alias{dendPlot} +\title{Community structure dendrogram plots} +\usage{ +dendPlot(x, mode = igraph_opt("dend.plot.type"), ...) +} +\arguments{ +\item{x}{An object containing the community structure of a graph. See +\code{\link[=communities]{communities()}} for details.} + +\item{mode}{Which dendrogram plotting function to use. See details below.} + +\item{...}{Additional arguments to supply to the dendrogram plotting +function.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{dendPlot()} was renamed to \code{plot_dendrogram()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/dendPlot.communities.Rd b/man/dendPlot.communities.Rd new file mode 100644 index 00000000000..7d107c741de --- /dev/null +++ b/man/dendPlot.communities.Rd @@ -0,0 +1,35 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{dendPlot.communities} +\alias{dendPlot.communities} +\title{Community structure dendrogram plots} +\usage{ +dendPlot.communities( + x, + mode = igraph_opt("dend.plot.type"), + ..., + use.modularity = FALSE, + palette = categorical_pal(8) +) +} +\arguments{ +\item{x}{An object containing the community structure of a graph. See +\code{\link[=communities]{communities()}} for details.} + +\item{mode}{Which dendrogram plotting function to use. See details below.} + +\item{...}{Additional arguments to supply to the dendrogram plotting +function.} + +\item{use.modularity}{Logical scalar, whether to use the modularity values +to define the height of the branches.} + +\item{palette}{The color palette to use for colored plots.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{dendPlot.communities()} was renamed to \code{plot_dendrogram.communities()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/dendPlot.igraphHRG.Rd b/man/dendPlot.igraphHRG.Rd new file mode 100644 index 00000000000..ba889187136 --- /dev/null +++ b/man/dendPlot.igraphHRG.Rd @@ -0,0 +1,24 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/hrg.R +\name{dendPlot.igraphHRG} +\alias{dendPlot.igraphHRG} +\title{HRG dendrogram plot} +\usage{ +dendPlot.igraphHRG(x, mode = igraph_opt("dend.plot.type"), ...) +} +\arguments{ +\item{x}{An \code{igraphHRG}, a hierarchical random graph, as returned by +the \code{\link[=fit_hrg]{fit_hrg()}} function.} + +\item{mode}{Which dendrogram plotting function to use. See details below.} + +\item{...}{Additional arguments to supply to the dendrogram plotting +function.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{dendPlot.igraphHRG()} was renamed to \code{plot_dendrogram.igraphHRG()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/dfs.Rd b/man/dfs.Rd index f2d01b80c4f..91fa4acca7b 100644 --- a/man/dfs.Rd +++ b/man/dfs.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/structural.properties.R \name{dfs} \alias{dfs} -\alias{graph.dfs} \title{Depth-first search} \usage{ dfs( diff --git a/man/diameter.Rd b/man/diameter.Rd index 728975e5b5a..f791e616f87 100644 --- a/man/diameter.Rd +++ b/man/diameter.Rd @@ -2,8 +2,6 @@ % Please edit documentation in R/structural.properties.R \name{diameter} \alias{diameter} -\alias{get.diameter} -\alias{farthest.nodes} \alias{get_diameter} \alias{farthest_vertices} \title{Diameter of a graph} diff --git a/man/difference.igraph.Rd b/man/difference.igraph.Rd index 34a5e3e2f2b..73a1ce36558 100644 --- a/man/difference.igraph.Rd +++ b/man/difference.igraph.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/operators.R \name{difference.igraph} \alias{difference.igraph} -\alias{graph.difference} \alias{\%m\%} \title{Difference of graphs} \usage{ diff --git a/man/disjoint_union.Rd b/man/disjoint_union.Rd index 73c1c03fc86..afe0e421300 100644 --- a/man/disjoint_union.Rd +++ b/man/disjoint_union.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/operators.R \name{disjoint_union} \alias{disjoint_union} -\alias{graph.disjoint.union} \alias{\%du\%} \title{Disjoint union of graphs} \usage{ diff --git a/man/distances.Rd b/man/distances.Rd index 8f121c2c9d9..4b1ee5ef1bf 100644 --- a/man/distances.Rd +++ b/man/distances.Rd @@ -4,11 +4,6 @@ \alias{distance_table} \alias{mean_distance} \alias{distances} -\alias{shortest.paths} -\alias{get.shortest.paths} -\alias{get.all.shortest.paths} -\alias{average.path.length} -\alias{path.length.hist} \alias{shortest_paths} \alias{all_shortest_paths} \title{Shortest (directed or undirected) paths between vertices} diff --git a/man/diversity.Rd b/man/diversity.Rd index 2e9b2731ddf..9051ee339e5 100644 --- a/man/diversity.Rd +++ b/man/diversity.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centrality.R \name{diversity} \alias{diversity} -\alias{graph.diversity} \title{Graph diversity} \usage{ diversity(graph, weights = NULL, vids = V(graph)) diff --git a/man/dominator.tree.Rd b/man/dominator.tree.Rd new file mode 100644 index 00000000000..98eb4ec1c09 --- /dev/null +++ b/man/dominator.tree.Rd @@ -0,0 +1,27 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/flow.R +\name{dominator.tree} +\alias{dominator.tree} +\title{Dominator tree} +\usage{ +dominator.tree(graph, root, mode = c("out", "in", "all", "total")) +} +\arguments{ +\item{graph}{A directed graph. If it is not a flowgraph, and it contains +some vertices not reachable from the root vertex, then these vertices will +be collected and returned as part of the result.} + +\item{root}{The id of the root (or source) vertex, this will be the root of +the tree.} + +\item{mode}{Constant, must be \sQuote{\verb{in}} or \sQuote{\code{out}}. If +it is \sQuote{\verb{in}}, then all directions are considered as opposite to +the original one in the input graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{dominator.tree()} was renamed to \code{dominator_tree()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/dominator_tree.Rd b/man/dominator_tree.Rd index 817f5a2147b..230b9b9a40b 100644 --- a/man/dominator_tree.Rd +++ b/man/dominator_tree.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/flow.R \name{dominator_tree} \alias{dominator_tree} -\alias{dominator.tree} \title{Dominator tree} \usage{ dominator_tree(graph, root, mode = c("out", "in", "all", "total")) diff --git a/man/dyad.census.Rd b/man/dyad.census.Rd new file mode 100644 index 00000000000..ef0b7eb4b4a --- /dev/null +++ b/man/dyad.census.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/motifs.R +\name{dyad.census} +\alias{dyad.census} +\title{Dyad census of a graph} +\usage{ +dyad.census(graph) +} +\arguments{ +\item{graph}{The input graph. A warning is given if it is not directed.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{dyad.census()} was renamed to \code{dyad_census()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/dyad_census.Rd b/man/dyad_census.Rd index a3f261eb783..9cff6b3ee83 100644 --- a/man/dyad_census.Rd +++ b/man/dyad_census.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/motifs.R \name{dyad_census} \alias{dyad_census} -\alias{dyad.census} \title{Dyad census of a graph} \usage{ dyad_census(graph) diff --git a/man/edge.betweenness.Rd b/man/edge.betweenness.Rd new file mode 100644 index 00000000000..c7fd6f36f1b --- /dev/null +++ b/man/edge.betweenness.Rd @@ -0,0 +1,37 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/centrality.R +\name{edge.betweenness} +\alias{edge.betweenness} +\title{Vertex and edge betweenness centrality} +\usage{ +edge.betweenness( + graph, + e = E(graph), + directed = TRUE, + weights = NULL, + cutoff = -1 +) +} +\arguments{ +\item{graph}{The graph to analyze.} + +\item{e}{The edges for which the edge betweenness will be calculated.} + +\item{directed}{Logical, whether directed paths should be considered while +determining the shortest paths.} + +\item{weights}{Optional positive weight vector for calculating weighted +betweenness. If the graph has a \code{weight} edge attribute, then this is +used by default. Weights are used to calculate weighted shortest paths, +so they are interpreted as distances.} + +\item{cutoff}{The maximum path length to consider when calculating the +betweenness. If zero or negative then there is no such limit.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{edge.betweenness()} was renamed to \code{edge_betweenness()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/edge.betweenness.community.Rd b/man/edge.betweenness.community.Rd new file mode 100644 index 00000000000..8c0bf1cfeba --- /dev/null +++ b/man/edge.betweenness.community.Rd @@ -0,0 +1,65 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{edge.betweenness.community} +\alias{edge.betweenness.community} +\title{Community structure detection based on edge betweenness} +\usage{ +edge.betweenness.community( + graph, + weights = NULL, + directed = TRUE, + edge.betweenness = TRUE, + merges = TRUE, + bridges = TRUE, + modularity = TRUE, + membership = TRUE +) +} +\arguments{ +\item{graph}{The graph to analyze.} + +\item{weights}{The weights of the edges. It must be a positive numeric vector, +\code{NULL} or \code{NA}. If it is \code{NULL} and the input graph has a +\sQuote{weight} edge attribute, then that attribute will be used. If +\code{NULL} and no such attribute is present, then the edges will have equal +weights. Set this to \code{NA} if the graph was a \sQuote{weight} edge +attribute, but you don't want to use it for community detection. Edge weights +are used to calculate weighted edge betweenness. This means that edges are +interpreted as distances, not as connection strengths.} + +\item{directed}{Logical constant, whether to calculate directed edge +betweenness for directed graphs. It is ignored for undirected graphs.} + +\item{edge.betweenness}{Logical constant, whether to return the edge +betweenness of the edges at the time of their removal.} + +\item{merges}{Logical constant, whether to return the merge matrix +representing the hierarchical community structure of the network. This +argument is called \code{merges}, even if the community structure algorithm +itself is divisive and not agglomerative: it builds the tree from top to +bottom. There is one line for each merge (i.e. split) in matrix, the first +line is the first merge (last split). The communities are identified by +integer number starting from one. Community ids smaller than or equal to +\eqn{N}, the number of vertices in the graph, belong to singleton +communities, i.e. individual vertices. Before the first merge we have \eqn{N} +communities numbered from one to \eqn{N}. The first merge, the first line of +the matrix creates community \eqn{N+1}, the second merge creates community +\eqn{N+2}, etc.} + +\item{bridges}{Logical constant, whether to return a list the edge removals +which actually splitted a component of the graph.} + +\item{modularity}{Logical constant, whether to calculate the maximum +modularity score, considering all possibly community structures along the +edge-betweenness based edge removals.} + +\item{membership}{Logical constant, whether to calculate the membership +vector corresponding to the highest possible modularity score.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{edge.betweenness.community()} was renamed to \code{cluster_edge_betweenness()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/edge.connectivity.Rd b/man/edge.connectivity.Rd new file mode 100644 index 00000000000..6f14a79fdc5 --- /dev/null +++ b/man/edge.connectivity.Rd @@ -0,0 +1,32 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/flow.R +\name{edge.connectivity} +\alias{edge.connectivity} +\title{Edge connectivity} +\usage{ +edge.connectivity(graph, source = NULL, target = NULL, checks = TRUE) +} +\arguments{ +\item{graph}{The input graph.} + +\item{source}{The id of the source vertex, for \code{edge_connectivity()} it +can be \code{NULL}, see details below.} + +\item{target}{The id of the target vertex, for \code{edge_connectivity()} it +can be \code{NULL}, see details below.} + +\item{checks}{Logical constant. Whether to check that the graph is connected +and also the degree of the vertices. If the graph is not (strongly) +connected then the connectivity is obviously zero. Otherwise if the minimum +degree is one then the edge connectivity is also one. It is a good idea to +perform these checks, as they can be done quickly compared to the +connectivity calculation itself. They were suggested by Peter McMahan, +thanks Peter.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{edge.connectivity()} was renamed to \code{edge_connectivity()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/edge.disjoint.paths.Rd b/man/edge.disjoint.paths.Rd new file mode 100644 index 00000000000..35ca4184ca1 --- /dev/null +++ b/man/edge.disjoint.paths.Rd @@ -0,0 +1,32 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/flow.R +\name{edge.disjoint.paths} +\alias{edge.disjoint.paths} +\title{Edge connectivity} +\usage{ +edge.disjoint.paths(graph, source = NULL, target = NULL, checks = TRUE) +} +\arguments{ +\item{graph}{The input graph.} + +\item{source}{The id of the source vertex, for \code{edge_connectivity()} it +can be \code{NULL}, see details below.} + +\item{target}{The id of the target vertex, for \code{edge_connectivity()} it +can be \code{NULL}, see details below.} + +\item{checks}{Logical constant. Whether to check that the graph is connected +and also the degree of the vertices. If the graph is not (strongly) +connected then the connectivity is obviously zero. Otherwise if the minimum +degree is one then the edge connectivity is also one. It is a good idea to +perform these checks, as they can be done quickly compared to the +connectivity calculation itself. They were suggested by Peter McMahan, +thanks Peter.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{edge.disjoint.paths()} was renamed to \code{edge_connectivity()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/edge_attr.Rd b/man/edge_attr.Rd index 3782d289511..9c35571647a 100644 --- a/man/edge_attr.Rd +++ b/man/edge_attr.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/attributes.R \name{edge_attr} \alias{edge_attr} -\alias{get.edge.attribute} \alias{edge.attributes} \title{Query edge attributes of a graph} \usage{ diff --git a/man/edge_attr_names.Rd b/man/edge_attr_names.Rd index c51a641cb89..12cc2d6691c 100644 --- a/man/edge_attr_names.Rd +++ b/man/edge_attr_names.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/attributes.R \name{edge_attr_names} \alias{edge_attr_names} -\alias{list.edge.attributes} \title{List names of edge attributes} \usage{ edge_attr_names(graph) diff --git a/man/edge_connectivity.Rd b/man/edge_connectivity.Rd index bd9a51739a1..b3d03272ffb 100644 --- a/man/edge_connectivity.Rd +++ b/man/edge_connectivity.Rd @@ -2,9 +2,6 @@ % Please edit documentation in R/flow.R \name{edge_connectivity} \alias{edge_connectivity} -\alias{edge.connectivity} -\alias{graph.adhesion} -\alias{edge.disjoint.paths} \alias{edge_disjoint_paths} \alias{adhesion} \title{Edge connectivity} diff --git a/man/edge_density.Rd b/man/edge_density.Rd index dea8b29213b..3c3340b821f 100644 --- a/man/edge_density.Rd +++ b/man/edge_density.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/structural.properties.R \name{edge_density} \alias{edge_density} -\alias{graph.density} \title{Graph density} \usage{ edge_density(graph, loops = FALSE) diff --git a/man/ego.Rd b/man/ego.Rd index 39aa3996b62..e6d3bc34879 100644 --- a/man/ego.Rd +++ b/man/ego.Rd @@ -6,10 +6,7 @@ \alias{neighborhood_size} \alias{ego} \alias{neighborhood} -\alias{neighborhood.size} -\alias{graph.neighborhood} \alias{ego_graph} -\alias{connect.neighborhood} \alias{make_ego_graph} \alias{make_neighborhood_graph} \title{Neighborhood of graph vertices} diff --git a/man/eigen_centrality.Rd b/man/eigen_centrality.Rd index ee4e8efa30b..b39234100ea 100644 --- a/man/eigen_centrality.Rd +++ b/man/eigen_centrality.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centrality.R \name{eigen_centrality} \alias{eigen_centrality} -\alias{evcent} \title{Find Eigenvector Centrality Scores of Network Positions} \usage{ eigen_centrality( diff --git a/man/establishment.game.Rd b/man/establishment.game.Rd new file mode 100644 index 00000000000..fdf872fe2d9 --- /dev/null +++ b/man/establishment.game.Rd @@ -0,0 +1,37 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{establishment.game} +\alias{establishment.game} +\title{Graph generation based on different vertex types} +\usage{ +establishment.game( + nodes, + types, + k = 1, + type.dist = rep(1, types), + pref.matrix = matrix(1, types, types), + directed = FALSE +) +} +\arguments{ +\item{nodes}{The number of vertices in the graph.} + +\item{types}{The number of different vertex types.} + +\item{k}{The number of trials per time step, see details below.} + +\item{type.dist}{The distribution of the vertex types. This is assumed to be +stationary in time.} + +\item{pref.matrix}{A matrix giving the preferences of the given vertex +types. These should be probabilities, i.e. numbers between zero and one.} + +\item{directed}{Logical constant, whether to generate directed graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{establishment.game()} was renamed to \code{sample_traits()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/evcent.Rd b/man/evcent.Rd new file mode 100644 index 00000000000..1b5d2cb3371 --- /dev/null +++ b/man/evcent.Rd @@ -0,0 +1,46 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/centrality.R +\name{evcent} +\alias{evcent} +\title{Find Eigenvector Centrality Scores of Network Positions} +\usage{ +evcent( + graph, + directed = FALSE, + scale = TRUE, + weights = NULL, + options = arpack_defaults() +) +} +\arguments{ +\item{graph}{Graph to be analyzed.} + +\item{directed}{Logical scalar, whether to consider direction of the edges +in directed graphs. It is ignored for undirected graphs.} + +\item{scale}{Logical scalar, whether to scale the result to have a maximum +score of one. If no scaling is used then the result vector has unit length +in the Euclidean norm.} + +\item{weights}{A numerical vector or \code{NULL}. This argument can be used +to give edge weights for calculating the weighted eigenvector centrality of +vertices. If this is \code{NULL} and the graph has a \code{weight} edge +attribute then that is used. If \code{weights} is a numerical vector then it is +used, even if the graph has a \code{weight} edge attribute. If this is +\code{NA}, then no edge weights are used (even if the graph has a +\code{weight} edge attribute). Note that if there are negative edge weights +and the direction of the edges is considered, then the eigenvector might be +complex. In this case only the real part is reported. +This function interprets weights as connection strength. Higher +weights spread the centrality better.} + +\item{options}{A named list, to override some ARPACK options. See +\code{\link[=arpack]{arpack()}} for details.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{evcent()} was renamed to \code{eigen_centrality()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/exportPajek.Rd b/man/exportPajek.Rd new file mode 100644 index 00000000000..f5d0b564d5d --- /dev/null +++ b/man/exportPajek.Rd @@ -0,0 +1,40 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/cohesive.blocks.R +\name{exportPajek} +\alias{exportPajek} +\title{Calculate Cohesive Blocks} +\usage{ +exportPajek(blocks, graph, file, project.file = TRUE) +} +\arguments{ +\item{graph}{For \code{cohesive_blocks()} a graph object of class +\code{igraph}. It must be undirected and simple. (See +\code{\link[=is_simple]{is_simple()}}.) + +For \code{graphs_from_cohesive_blocks()} and \code{export_pajek()} the same graph must be +supplied whose cohesive block structure is given in the \code{blocks()} +argument.} + +\item{file}{Defines the file (or connection) the Pajek file is written to. + +If the \code{project.file} argument is \code{TRUE}, then it can be a +filename (with extension), a file object, or in general any king of +connection object. The file/connection will be opened if it wasn't already. + +If the \code{project.file} argument is \code{FALSE}, then several files are +created and \code{file} must be a character scalar containing the base name +of the files, without extension. (But it can contain the path to the files.) + +See also details below.} + +\item{project.file}{Logical scalar, whether to create a single Pajek project +file containing all the data, or to create separated files for each item. +See details below.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{exportPajek()} was renamed to \code{export_pajek()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/farthest.nodes.Rd b/man/farthest.nodes.Rd new file mode 100644 index 00000000000..9a0df816430 --- /dev/null +++ b/man/farthest.nodes.Rd @@ -0,0 +1,31 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{farthest.nodes} +\alias{farthest.nodes} +\title{Diameter of a graph} +\usage{ +farthest.nodes(graph, directed = TRUE, unconnected = TRUE, weights = NULL) +} +\arguments{ +\item{graph}{The graph to analyze.} + +\item{directed}{Logical, whether directed or undirected paths are to be +considered. This is ignored for undirected graphs.} + +\item{unconnected}{Logical, what to do if the graph is unconnected. If +FALSE, the function will return a number that is one larger the largest +possible diameter, which is always the number of vertices. If TRUE, the +diameters of the connected components will be calculated and the largest one +will be returned.} + +\item{weights}{Optional positive weight vector for calculating weighted +distances. If the graph has a \code{weight} edge attribute, then this is +used by default.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{farthest.nodes()} was renamed to \code{farthest_vertices()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/fastgreedy.community.Rd b/man/fastgreedy.community.Rd new file mode 100644 index 00000000000..ab36b5f172e --- /dev/null +++ b/man/fastgreedy.community.Rd @@ -0,0 +1,41 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{fastgreedy.community} +\alias{fastgreedy.community} +\title{Community structure via greedy optimization of modularity} +\usage{ +fastgreedy.community( + graph, + merges = TRUE, + modularity = TRUE, + membership = TRUE, + weights = NULL +) +} +\arguments{ +\item{graph}{The input graph} + +\item{merges}{Logical scalar, whether to return the merge matrix.} + +\item{modularity}{Logical scalar, whether to return a vector containing the +modularity after each merge.} + +\item{membership}{Logical scalar, whether to calculate the membership vector +corresponding to the maximum modularity score, considering all possible +community structures along the merges.} + +\item{weights}{The weights of the edges. It must be a positive numeric vector, +\code{NULL} or \code{NA}. If it is \code{NULL} and the input graph has a +\sQuote{weight} edge attribute, then that attribute will be used. If +\code{NULL} and no such attribute is present, then the edges will have equal +weights. Set this to \code{NA} if the graph was a \sQuote{weight} edge +attribute, but you don't want to use it for community detection. A larger +edge weight means a stronger connection for this function.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{fastgreedy.community()} was renamed to \code{cluster_fast_greedy()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/fit_hrg.Rd b/man/fit_hrg.Rd index 70fdab58cf2..1c9f67adba3 100644 --- a/man/fit_hrg.Rd +++ b/man/fit_hrg.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/hrg.R \name{fit_hrg} \alias{fit_hrg} -\alias{hrg.fit} \title{Fit a hierarchical random graph model} \usage{ fit_hrg(graph, hrg = NULL, start = FALSE, steps = 0) diff --git a/man/fit_power_law.Rd b/man/fit_power_law.Rd index f58242b10af..17ee0dc548b 100644 --- a/man/fit_power_law.Rd +++ b/man/fit_power_law.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/fit.R \name{fit_power_law} \alias{fit_power_law} -\alias{power.law.fit} \title{Fitting a power-law distribution function to discrete data} \usage{ fit_power_law( diff --git a/man/forest.fire.game.Rd b/man/forest.fire.game.Rd new file mode 100644 index 00000000000..6feed004af4 --- /dev/null +++ b/man/forest.fire.game.Rd @@ -0,0 +1,27 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{forest.fire.game} +\alias{forest.fire.game} +\title{Forest Fire Network Model} +\usage{ +forest.fire.game(nodes, fw.prob, bw.factor = 1, ambs = 1, directed = TRUE) +} +\arguments{ +\item{nodes}{The number of vertices in the graph.} + +\item{fw.prob}{The forward burning probability, see details below.} + +\item{bw.factor}{The backward burning ratio. The backward burning +probability is calculated as \code{bw.factor*fw.prob}.} + +\item{ambs}{The number of ambassador vertices.} + +\item{directed}{Logical scalar, whether to create a directed graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{forest.fire.game()} was renamed to \code{sample_forestfire()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/get.adjacency.Rd b/man/get.adjacency.Rd new file mode 100644 index 00000000000..28608d50bd6 --- /dev/null +++ b/man/get.adjacency.Rd @@ -0,0 +1,55 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/conversion.R +\name{get.adjacency} +\alias{get.adjacency} +\title{Convert a graph to an adjacency matrix} +\usage{ +get.adjacency( + graph, + type = c("both", "upper", "lower"), + attr = NULL, + edges = FALSE, + names = TRUE, + sparse = igraph_opt("sparsematrices") +) +} +\arguments{ +\item{graph}{The graph to convert.} + +\item{type}{Gives how to create the adjacency matrix for undirected graphs. +It is ignored for directed graphs. Possible values: \code{upper}: the upper +right triangle of the matrix is used, \code{lower}: the lower left triangle +of the matrix is used. \code{both}: the whole matrix is used, a symmetric +matrix is returned.} + +\item{attr}{Either \code{NULL} or a character string giving an edge +attribute name. If \code{NULL} a traditional adjacency matrix is returned. +If not \code{NULL} then the values of the given edge attribute are included +in the adjacency matrix. If the graph has multiple edges, the edge attribute +of an arbitrarily chosen edge (for the multiple edges) is included. This +argument is ignored if \code{edges} is \code{TRUE}. + +Note that this works only for certain attribute types. If the \code{sparse} +argumen is \code{TRUE}, then the attribute must be either logical or +numeric. If the \code{sparse} argument is \code{FALSE}, then character is +also allowed. The reason for the difference is that the \code{Matrix} +package does not support character sparse matrices yet.} + +\item{edges}{Logical scalar, whether to return the edge ids in the matrix. +For non-existant edges zero is returned.} + +\item{names}{Logical constant, whether to assign row and column names +to the matrix. These are only assigned if the \code{name} vertex attribute +is present in the graph.} + +\item{sparse}{Logical scalar, whether to create a sparse matrix. The +\sQuote{\code{Matrix}} package must be installed for creating sparse +matrices.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{get.adjacency()} was renamed to \code{as_adjacency_matrix()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/get.adjedgelist.Rd b/man/get.adjedgelist.Rd new file mode 100644 index 00000000000..e3f48eff32f --- /dev/null +++ b/man/get.adjedgelist.Rd @@ -0,0 +1,31 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/conversion.R +\name{get.adjedgelist} +\alias{get.adjedgelist} +\title{Adjacency lists} +\usage{ +get.adjedgelist( + graph, + mode = c("all", "out", "in", "total"), + loops = c("twice", "once", "ignore") +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{mode}{Character scalar, it gives what kind of adjacent edges/vertices +to include in the lists. \sQuote{\code{out}} is for outgoing edges/vertices, +\sQuote{\verb{in}} is for incoming edges/vertices, \sQuote{\code{all}} is +for both. This argument is ignored for undirected graphs.} + +\item{loops}{Character scalar, one of \code{"ignore"} (to omit loops), \code{"twice"} +(to include loop edges twice) and \code{"once"} (to include them once). \code{"twice"} +is not allowed for directed graphs and will be replaced with \code{"once"}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{get.adjedgelist()} was renamed to \code{as_adj_edge_list()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/get.adjlist.Rd b/man/get.adjlist.Rd new file mode 100644 index 00000000000..c595650131e --- /dev/null +++ b/man/get.adjlist.Rd @@ -0,0 +1,35 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/conversion.R +\name{get.adjlist} +\alias{get.adjlist} +\title{Adjacency lists} +\usage{ +get.adjlist( + graph, + mode = c("all", "out", "in", "total"), + loops = c("twice", "once", "ignore"), + multiple = TRUE +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{mode}{Character scalar, it gives what kind of adjacent edges/vertices +to include in the lists. \sQuote{\code{out}} is for outgoing edges/vertices, +\sQuote{\verb{in}} is for incoming edges/vertices, \sQuote{\code{all}} is +for both. This argument is ignored for undirected graphs.} + +\item{loops}{Character scalar, one of \code{"ignore"} (to omit loops), \code{"twice"} +(to include loop edges twice) and \code{"once"} (to include them once). \code{"twice"} +is not allowed for directed graphs and will be replaced with \code{"once"}.} + +\item{multiple}{Logical scalar, set to \code{FALSE} to use only one representative +of each set of parallel edges.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{get.adjlist()} was renamed to \code{as_adj_list()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/get.all.shortest.paths.Rd b/man/get.all.shortest.paths.Rd new file mode 100644 index 00000000000..5d6b2ac4886 --- /dev/null +++ b/man/get.all.shortest.paths.Rd @@ -0,0 +1,45 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{get.all.shortest.paths} +\alias{get.all.shortest.paths} +\title{Shortest (directed or undirected) paths between vertices} +\usage{ +get.all.shortest.paths( + graph, + from, + to = V(graph), + mode = c("out", "all", "in"), + weights = NULL +) +} +\arguments{ +\item{graph}{The graph to work on.} + +\item{from}{Numeric constant, the vertex from or to the shortest paths will +be calculated. Note that right now this is not a vector of vertex ids, but +only a single vertex.} + +\item{to}{Numeric vector, the vertices to which the shortest paths will be +calculated. By default it includes all vertices. Note that for +\code{distances()} every vertex must be included here at most once. (This +is not required for \code{shortest_paths()}.} + +\item{mode}{Character constant, gives whether the shortest paths to or from +the given vertices should be calculated for directed graphs. If \code{out} +then the shortest paths \emph{from} the vertex, if \verb{in} then \emph{to} +it will be considered. If \code{all}, the default, then the corresponding +undirected graph will be used, i.e. not directed paths are searched. This +argument is ignored for undirected graphs.} + +\item{weights}{Possibly a numeric vector giving edge weights. If this is +\code{NULL} and the graph has a \code{weight} edge attribute, then the +attribute is used. If this is \code{NA} then no weights are used (even if +the graph has a \code{weight} attribute).} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{get.all.shortest.paths()} was renamed to \code{all_shortest_paths()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/get.data.frame.Rd b/man/get.data.frame.Rd new file mode 100644 index 00000000000..9e0091f5617 --- /dev/null +++ b/man/get.data.frame.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/conversion.R +\name{get.data.frame} +\alias{get.data.frame} +\title{Creating igraph graphs from data frames or vice-versa} +\usage{ +get.data.frame(x, what = c("edges", "vertices", "both")) +} +\arguments{ +\item{x}{An igraph object.} + +\item{what}{Character constant, whether to return info about vertices, +edges, or both. The default is \sQuote{edges}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{get.data.frame()} was renamed to \code{as_data_frame()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/get.diameter.Rd b/man/get.diameter.Rd new file mode 100644 index 00000000000..c2be3a432fb --- /dev/null +++ b/man/get.diameter.Rd @@ -0,0 +1,31 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{get.diameter} +\alias{get.diameter} +\title{Diameter of a graph} +\usage{ +get.diameter(graph, directed = TRUE, unconnected = TRUE, weights = NULL) +} +\arguments{ +\item{graph}{The graph to analyze.} + +\item{directed}{Logical, whether directed or undirected paths are to be +considered. This is ignored for undirected graphs.} + +\item{unconnected}{Logical, what to do if the graph is unconnected. If +FALSE, the function will return a number that is one larger the largest +possible diameter, which is always the number of vertices. If TRUE, the +diameters of the connected components will be calculated and the largest one +will be returned.} + +\item{weights}{Optional positive weight vector for calculating weighted +distances. If the graph has a \code{weight} edge attribute, then this is +used by default.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{get.diameter()} was renamed to \code{get_diameter()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/get.edge.attribute.Rd b/man/get.edge.attribute.Rd new file mode 100644 index 00000000000..0a7ba9ac7ce --- /dev/null +++ b/man/get.edge.attribute.Rd @@ -0,0 +1,24 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/attributes.R +\name{get.edge.attribute} +\alias{get.edge.attribute} +\title{Query edge attributes of a graph} +\usage{ +get.edge.attribute(graph, name, index = E(graph)) +} +\arguments{ +\item{graph}{The graph} + +\item{name}{The name of the attribute to query. If missing, then +all edge attributes are returned in a list.} + +\item{index}{An optional edge sequence to query edge attributes +for a subset of edges.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{get.edge.attribute()} was renamed to \code{edge_attr()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/get.edgelist.Rd b/man/get.edgelist.Rd new file mode 100644 index 00000000000..3ec792add93 --- /dev/null +++ b/man/get.edgelist.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/conversion.R +\name{get.edgelist} +\alias{get.edgelist} +\title{Convert a graph to an edge list} +\usage{ +get.edgelist(graph, names = TRUE) +} +\arguments{ +\item{graph}{The graph to convert.} + +\item{names}{Whether to return a character matrix containing vertex +names (i.e. the \code{name} vertex attribute) if they exist or numeric +vertex ids.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{get.edgelist()} was renamed to \code{as_edgelist()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/get.graph.attribute.Rd b/man/get.graph.attribute.Rd new file mode 100644 index 00000000000..71fff1eac3f --- /dev/null +++ b/man/get.graph.attribute.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/attributes.R +\name{get.graph.attribute} +\alias{get.graph.attribute} +\title{Graph attributes of a graph} +\usage{ +get.graph.attribute(graph, name) +} +\arguments{ +\item{graph}{Input graph.} + +\item{name}{The name of attribute to query. If missing, then all +attributes are returned in a list.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{get.graph.attribute()} was renamed to \code{graph_attr()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/get.incidence.Rd b/man/get.incidence.Rd new file mode 100644 index 00000000000..e89865d804f --- /dev/null +++ b/man/get.incidence.Rd @@ -0,0 +1,38 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/conversion.R +\name{get.incidence} +\alias{get.incidence} +\title{Bipartite adjacency matrix of a bipartite graph} +\usage{ +get.incidence(graph, types = NULL, attr = NULL, names = TRUE, sparse = FALSE) +} +\arguments{ +\item{graph}{The input graph. The direction of the edges is ignored in +directed graphs.} + +\item{types}{An optional vertex type vector to use instead of the +\code{type} vertex attribute. You must supply this argument if the graph has +no \code{type} vertex attribute.} + +\item{attr}{Either \code{NULL} or a character string giving an edge +attribute name. If \code{NULL}, then a traditional bipartite adjacency matrix is +returned. If not \code{NULL} then the values of the given edge attribute are +included in the bipartite adjacency matrix. If the graph has multiple edges, the edge +attribute of an arbitrarily chosen edge (for the multiple edges) is +included.} + +\item{names}{Logical scalar, if \code{TRUE} and the vertices in the graph +are named (i.e. the graph has a vertex attribute called \code{name}), then +vertex names will be added to the result as row and column names. Otherwise +the ids of the vertices are used as row and column names.} + +\item{sparse}{Logical scalar, if it is \code{TRUE} then a sparse matrix is +created, you will need the \code{Matrix} package for this.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{get.incidence()} was renamed to \code{as_biadjacency_matrix()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/get.shortest.paths.Rd b/man/get.shortest.paths.Rd new file mode 100644 index 00000000000..38077feeae4 --- /dev/null +++ b/man/get.shortest.paths.Rd @@ -0,0 +1,81 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{get.shortest.paths} +\alias{get.shortest.paths} +\title{Shortest (directed or undirected) paths between vertices} +\usage{ +get.shortest.paths( + graph, + from, + to = V(graph), + mode = c("out", "all", "in"), + weights = NULL, + output = c("vpath", "epath", "both"), + predecessors = FALSE, + inbound.edges = FALSE, + algorithm = c("automatic", "unweighted", "dijkstra", "bellman-ford") +) +} +\arguments{ +\item{graph}{The graph to work on.} + +\item{from}{Numeric constant, the vertex from or to the shortest paths will +be calculated. Note that right now this is not a vector of vertex ids, but +only a single vertex.} + +\item{to}{Numeric vector, the vertices to which the shortest paths will be +calculated. By default it includes all vertices. Note that for +\code{distances()} every vertex must be included here at most once. (This +is not required for \code{shortest_paths()}.} + +\item{mode}{Character constant, gives whether the shortest paths to or from +the given vertices should be calculated for directed graphs. If \code{out} +then the shortest paths \emph{from} the vertex, if \verb{in} then \emph{to} +it will be considered. If \code{all}, the default, then the corresponding +undirected graph will be used, i.e. not directed paths are searched. This +argument is ignored for undirected graphs.} + +\item{weights}{Possibly a numeric vector giving edge weights. If this is +\code{NULL} and the graph has a \code{weight} edge attribute, then the +attribute is used. If this is \code{NA} then no weights are used (even if +the graph has a \code{weight} attribute).} + +\item{output}{Character scalar, defines how to report the shortest paths. +\dQuote{vpath} means that the vertices along the paths are reported, this +form was used prior to igraph version 0.6. \dQuote{epath} means that the +edges along the paths are reported. \dQuote{both} means that both forms are +returned, in a named list with components \dQuote{vpath} and \dQuote{epath}.} + +\item{predecessors}{Logical scalar, whether to return the predecessor vertex +for each vertex. The predecessor of vertex \code{i} in the tree is the +vertex from which vertex \code{i} was reached. The predecessor of the start +vertex (in the \code{from} argument) is itself by definition. If the +predecessor is zero, it means that the given vertex was not reached from the +source during the search. Note that the search terminates if all the +vertices in \code{to} are reached.} + +\item{inbound.edges}{Logical scalar, whether to return the inbound edge for +each vertex. The inbound edge of vertex \code{i} in the tree is the edge via +which vertex \code{i} was reached. The start vertex and vertices that were +not reached during the search will have zero in the corresponding entry of +the vector. Note that the search terminates if all the vertices in \code{to} +are reached.} + +\item{algorithm}{Which algorithm to use for the calculation. By default +igraph tries to select the fastest suitable algorithm. If there are no +weights, then an unweighted breadth-first search is used, otherwise if all +weights are positive, then Dijkstra's algorithm is used. If there are +negative weights and we do the calculation for more than 100 sources, then +Johnson's algorithm is used. Otherwise the Bellman-Ford algorithm is used. +You can override igraph's choice by explicitly giving this parameter. Note +that the igraph C core might still override your choice in obvious cases, +i.e. if there are no edge weights, then the unweighted algorithm will be +used, regardless of this argument.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{get.shortest.paths()} was renamed to \code{shortest_paths()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/get.stochastic.Rd b/man/get.stochastic.Rd new file mode 100644 index 00000000000..0c11cea8ec6 --- /dev/null +++ b/man/get.stochastic.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/scg.R +\name{get.stochastic} +\alias{get.stochastic} +\title{Stochastic matrix of a graph} +\usage{ +get.stochastic( + graph, + column.wise = FALSE, + sparse = igraph_opt("sparsematrices") +) +} +\arguments{ +\item{graph}{The input graph. Must be of class \code{igraph}.} + +\item{column.wise}{If \code{FALSE}, then the rows of the stochastic matrix +sum up to one; otherwise it is the columns.} + +\item{sparse}{Logical scalar, whether to return a sparse matrix. The +\code{Matrix} package is needed for sparse matrices.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{get.stochastic()} was renamed to \code{stochastic_matrix()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/get.vertex.attribute.Rd b/man/get.vertex.attribute.Rd new file mode 100644 index 00000000000..9834c562471 --- /dev/null +++ b/man/get.vertex.attribute.Rd @@ -0,0 +1,24 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/attributes.R +\name{get.vertex.attribute} +\alias{get.vertex.attribute} +\title{Query vertex attributes of a graph} +\usage{ +get.vertex.attribute(graph, name, index = V(graph)) +} +\arguments{ +\item{graph}{The graph.} + +\item{name}{Name of the attribute to query. If missing, then +all vertex attributes are returned in a list.} + +\item{index}{An optional vertex sequence to query the attribute only +for these vertices.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{get.vertex.attribute()} was renamed to \code{vertex_attr()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/getIgraphOpt.Rd b/man/getIgraphOpt.Rd new file mode 100644 index 00000000000..ca7b7a6a292 --- /dev/null +++ b/man/getIgraphOpt.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/par.R +\name{getIgraphOpt} +\alias{getIgraphOpt} +\title{Parameters for the igraph package} +\usage{ +getIgraphOpt(x, default = NULL) +} +\arguments{ +\item{x}{A character string holding an option name.} + +\item{default}{If the specified option is not set in the options list, this +value is returned. This facilitates retrieving an option and checking +whether it is set and setting it separately if not.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{getIgraphOpt()} was renamed to \code{igraph_opt()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.Rd b/man/graph.Rd new file mode 100644 index 00000000000..0ff4f9fcc08 --- /dev/null +++ b/man/graph.Rd @@ -0,0 +1,61 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph} +\alias{graph} +\title{Create an igraph graph from a list of edges, or a notable graph} +\usage{ +graph( + edges, + ..., + n = max(edges), + isolates = NULL, + directed = TRUE, + dir = directed, + simplify = TRUE +) +} +\arguments{ +\item{edges}{A vector defining the edges, the first edge points +from the first element to the second, the second edge from the third +to the fourth, etc. For a numeric vector, these are interpreted +as internal vertex ids. For character vectors, they are interpreted +as vertex names. + +Alternatively, this can be a character scalar, the name of a +notable graph. See Notable graphs below. The name is case +insensitive. + +Starting from igraph 0.8.0, you can also include literals here, +via igraph's formula notation (see \code{\link[=graph_from_literal]{graph_from_literal()}}). +In this case, the first term of the formula has to start with +a \sQuote{\code{~}} character, just like regular formulae in R. +See examples below.} + +\item{...}{For \code{make_graph()}: extra arguments for the case when the +graph is given via a literal, see \code{\link[=graph_from_literal]{graph_from_literal()}}. +For \code{directed_graph()} and \code{undirected_graph()}: +Passed to \code{make_directed_graph()} or \code{make_undirected_graph()}.} + +\item{n}{The number of vertices in the graph. This argument is +ignored (with a warning) if \code{edges} are symbolic vertex names. It +is also ignored if there is a bigger vertex id in \code{edges}. This +means that for this function it is safe to supply zero here if the +vertex with the largest id is not an isolate.} + +\item{isolates}{Character vector, names of isolate vertices, +for symbolic edge lists. It is ignored for numeric edge lists.} + +\item{directed}{Whether to create a directed graph.} + +\item{dir}{It is the same as \code{directed}, for compatibility. +Do not give both of them.} + +\item{simplify}{For graph literals, whether to simplify the graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph()} was renamed to \code{make_graph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.adhesion.Rd b/man/graph.adhesion.Rd new file mode 100644 index 00000000000..75064997cb7 --- /dev/null +++ b/man/graph.adhesion.Rd @@ -0,0 +1,26 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/flow.R +\name{graph.adhesion} +\alias{graph.adhesion} +\title{Edge connectivity} +\usage{ +graph.adhesion(graph, checks = TRUE) +} +\arguments{ +\item{graph}{The input graph.} + +\item{checks}{Logical constant. Whether to check that the graph is connected +and also the degree of the vertices. If the graph is not (strongly) +connected then the connectivity is obviously zero. Otherwise if the minimum +degree is one then the edge connectivity is also one. It is a good idea to +perform these checks, as they can be done quickly compared to the +connectivity calculation itself. They were suggested by Peter McMahan, +thanks Peter.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.adhesion()} was renamed to \code{adhesion()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.adjacency.Rd b/man/graph.adjacency.Rd new file mode 100644 index 00000000000..70609e73bd8 --- /dev/null +++ b/man/graph.adjacency.Rd @@ -0,0 +1,57 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/adjacency.R +\name{graph.adjacency} +\alias{graph.adjacency} +\title{Create graphs from adjacency matrices} +\usage{ +graph.adjacency( + adjmatrix, + mode = c("directed", "undirected", "max", "min", "upper", "lower", "plus"), + weighted = NULL, + diag = TRUE, + add.colnames = NULL, + add.rownames = NA +) +} +\arguments{ +\item{adjmatrix}{A square adjacency matrix. From igraph version 0.5.1 this +can be a sparse matrix created with the \code{Matrix} package.} + +\item{mode}{Character scalar, specifies how igraph should interpret the +supplied matrix. See also the \code{weighted} argument, the interpretation +depends on that too. Possible values are: \code{directed}, +\code{undirected}, \code{upper}, \code{lower}, \code{max}, \code{min}, +\code{plus}. See details below.} + +\item{weighted}{This argument specifies whether to create a weighted graph +from an adjacency matrix. If it is \code{NULL} then an unweighted graph is +created and the elements of the adjacency matrix gives the number of edges +between the vertices. If it is a character constant then for every non-zero +matrix entry an edge is created and the value of the entry is added as an +edge attribute named by the \code{weighted} argument. If it is \code{TRUE} +then a weighted graph is created and the name of the edge attribute will be +\code{weight}. See also details below.} + +\item{diag}{Logical scalar, whether to include the diagonal of the matrix in +the calculation. If this is \code{FALSE} then the diagonal is zerod out +first.} + +\item{add.colnames}{Character scalar, whether to add the column names as +vertex attributes. If it is \sQuote{\code{NULL}} (the default) then, if +present, column names are added as vertex attribute \sQuote{name}. If +\sQuote{\code{NA}} then they will not be added. If a character constant, +then it gives the name of the vertex attribute to add.} + +\item{add.rownames}{Character scalar, whether to add the row names as vertex +attributes. Possible values the same as the previous argument. By default +row names are not added. If \sQuote{\code{add.rownames}} and +\sQuote{\code{add.colnames}} specify the same vertex attribute, then the +former is ignored.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.adjacency()} was renamed to \code{graph_from_adjacency_matrix()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.adjlist.Rd b/man/graph.adjlist.Rd new file mode 100644 index 00000000000..d71f4028000 --- /dev/null +++ b/man/graph.adjlist.Rd @@ -0,0 +1,33 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{graph.adjlist} +\alias{graph.adjlist} +\title{Create graphs from adjacency lists} +\usage{ +graph.adjlist(adjlist, mode = c("out", "in", "all", "total"), duplicate = TRUE) +} +\arguments{ +\item{adjlist}{The adjacency list. It should be consistent, i.e. the maximum +throughout all vectors in the list must be less than the number of vectors +(=the number of vertices in the graph).} + +\item{mode}{Character scalar, it specifies whether the graph to create is +undirected (\sQuote{all} or \sQuote{total}) or directed; and in the latter +case, whether it contains the outgoing (\sQuote{out}) or the incoming +(\sQuote{in}) neighbors of the vertices.} + +\item{duplicate}{Logical scalar. For undirected graphs it gives whether +edges are included in the list twice. E.g. if it is \code{TRUE} then for an +undirected \code{{A,B}} edge \code{graph_from_adj_list()} expects \code{A} +included in the neighbors of \code{B} and \code{B} to be included in the +neighbors of \code{A}. + +This argument is ignored if \code{mode} is \code{out} or \verb{in}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.adjlist()} was renamed to \code{graph_from_adj_list()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.atlas.Rd b/man/graph.atlas.Rd new file mode 100644 index 00000000000..e2623ab8ef2 --- /dev/null +++ b/man/graph.atlas.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph.atlas} +\alias{graph.atlas} +\title{Create a graph from the Graph Atlas} +\usage{ +graph.atlas(n) +} +\arguments{ +\item{n}{The id of the graph to create.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.atlas()} was renamed to \code{graph_from_atlas()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.automorphisms.Rd b/man/graph.automorphisms.Rd new file mode 100644 index 00000000000..32a02939e5b --- /dev/null +++ b/man/graph.automorphisms.Rd @@ -0,0 +1,33 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{graph.automorphisms} +\alias{graph.automorphisms} +\title{Number of automorphisms} +\usage{ +graph.automorphisms(graph, colors, sh = c("fm", "f", "fs", "fl", "flm", "fsm")) +} +\arguments{ +\item{graph}{The input graph, it is treated as undirected.} + +\item{colors}{The colors of the individual vertices of the graph; only +vertices having the same color are allowed to match each other in an +automorphism. When omitted, igraph uses the \code{color} attribute of the +vertices, or, if there is no such vertex attribute, it simply assumes that +all vertices have the same color. Pass NULL explicitly if the graph has a +\code{color} vertex attribute but you do not want to use it.} + +\item{sh}{The splitting heuristics for the BLISS algorithm. Possible values +are: \sQuote{\code{f}}: first non-singleton cell, \sQuote{\code{fl}}: first +largest non-singleton cell, \sQuote{\code{fs}}: first smallest non-singleton +cell, \sQuote{\code{fm}}: first maximally non-trivially connected +non-singleton cell, \sQuote{\code{flm}}: first largest maximally +non-trivially connected non-singleton cell, \sQuote{\code{fsm}}: first +smallest maximally non-trivially connected non-singleton cell.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.automorphisms()} was renamed to \code{count_automorphisms()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.bfs.Rd b/man/graph.bfs.Rd new file mode 100644 index 00000000000..ecd08ff2e24 --- /dev/null +++ b/man/graph.bfs.Rd @@ -0,0 +1,76 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{graph.bfs} +\alias{graph.bfs} +\title{Breadth-first search} +\usage{ +graph.bfs( + graph, + root, + mode = c("out", "in", "all", "total"), + unreachable = TRUE, + restricted = NULL, + order = TRUE, + rank = FALSE, + father = FALSE, + pred = FALSE, + succ = FALSE, + dist = FALSE, + callback = NULL, + extra = NULL, + rho = parent.frame(), + neimode +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{root}{Numeric vector, usually of length one. The root vertex, or root +vertices to start the search from.} + +\item{mode}{For directed graphs specifies the type of edges to follow. +\sQuote{out} follows outgoing, \sQuote{in} incoming edges. \sQuote{all} +ignores edge directions completely. \sQuote{total} is a synonym for +\sQuote{all}. This argument is ignored for undirected graphs.} + +\item{unreachable}{Logical scalar, whether the search should visit the +vertices that are unreachable from the given root vertex (or vertices). If +\code{TRUE}, then additional searches are performed until all vertices are +visited.} + +\item{restricted}{\code{NULL} (=no restriction), or a vector of vertices +(ids or symbolic names). In the latter case, the search is restricted to the +given vertices.} + +\item{order}{Logical scalar, whether to return the ordering of the vertices.} + +\item{rank}{Logical scalar, whether to return the rank of the vertices.} + +\item{father}{Logical scalar, whether to return the father of the vertices.} + +\item{pred}{Logical scalar, whether to return the predecessors of the +vertices.} + +\item{succ}{Logical scalar, whether to return the successors of the +vertices.} + +\item{dist}{Logical scalar, whether to return the distance from the root of +the search tree.} + +\item{callback}{If not \code{NULL}, then it must be callback function. This +is called whenever a vertex is visited. See details below.} + +\item{extra}{Additional argument to supply to the callback function.} + +\item{rho}{The environment in which the callback function is evaluated.} + +\item{neimode}{This argument is deprecated from igraph 1.3.0; use +\code{mode} instead.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.bfs()} was renamed to \code{bfs()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.bipartite.Rd b/man/graph.bipartite.Rd new file mode 100644 index 00000000000..515d5626fc7 --- /dev/null +++ b/man/graph.bipartite.Rd @@ -0,0 +1,30 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph.bipartite} +\alias{graph.bipartite} +\title{Create a bipartite graph} +\usage{ +graph.bipartite(types, edges, directed = FALSE) +} +\arguments{ +\item{types}{A vector giving the vertex types. It will be coerced into +boolean. The length of the vector gives the number of vertices in the graph. +When the vector is a named vector, the names will be attached to the graph +as the \code{name} vertex attribute.} + +\item{edges}{A vector giving the edges of the graph, the same way as for the +regular \code{\link[=graph]{graph()}} function. It is checked that the edges indeed +connect vertices of different kind, according to the supplied \code{types} +vector. The vector may be a string vector if \code{types} is a named vector.} + +\item{directed}{Whether to create a directed graph, boolean constant. Note +that by default undirected graphs are created, as this is more common for +bipartite graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.bipartite()} was renamed to \code{make_bipartite_graph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.cohesion.Rd b/man/graph.cohesion.Rd new file mode 100644 index 00000000000..6fc66c5cbb7 --- /dev/null +++ b/man/graph.cohesion.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/cohesive.blocks.R +\name{graph.cohesion} +\alias{graph.cohesion} +\title{Vertex connectivity} +\usage{ +graph.cohesion(x, ...) +} +\arguments{ +\item{x}{bla} + +\item{...}{bla} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.cohesion()} was renamed to \code{cohesion()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.complementer.Rd b/man/graph.complementer.Rd new file mode 100644 index 00000000000..fb80a6cb9be --- /dev/null +++ b/man/graph.complementer.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/operators.R +\name{graph.complementer} +\alias{graph.complementer} +\title{Complementer of a graph} +\usage{ +graph.complementer(graph, loops = FALSE) +} +\arguments{ +\item{graph}{The input graph, can be directed or undirected.} + +\item{loops}{Logical constant, whether to generate loop edges.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.complementer()} was renamed to \code{complementer()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.compose.Rd b/man/graph.compose.Rd new file mode 100644 index 00000000000..45ffa7b8fee --- /dev/null +++ b/man/graph.compose.Rd @@ -0,0 +1,26 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/operators.R +\name{graph.compose} +\alias{graph.compose} +\title{Compose two graphs as binary relations} +\usage{ +graph.compose(g1, g2, byname = "auto") +} +\arguments{ +\item{g1}{The first input graph.} + +\item{g2}{The second input graph.} + +\item{byname}{A logical scalar, or the character scalar \code{auto}. Whether +to perform the operation based on symbolic vertex names. If it is +\code{auto}, that means \code{TRUE} if both graphs are named and +\code{FALSE} otherwise. A warning is generated if \code{auto} and one graph, +but not both graphs are named.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.compose()} was renamed to \code{compose()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.coreness.Rd b/man/graph.coreness.Rd new file mode 100644 index 00000000000..7c78b7efaa7 --- /dev/null +++ b/man/graph.coreness.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{graph.coreness} +\alias{graph.coreness} +\title{K-core decomposition of graphs} +\usage{ +graph.coreness(graph, mode = c("all", "out", "in")) +} +\arguments{ +\item{graph}{The input graph, it can be directed or undirected} + +\item{mode}{The type of the core in directed graphs. Character constant, +possible values: \verb{in}: in-cores are computed, \code{out}: out-cores are +computed, \code{all}: the corresponding undirected graph is considered. This +argument is ignored for undirected graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.coreness()} was renamed to \code{coreness()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.data.frame.Rd b/man/graph.data.frame.Rd new file mode 100644 index 00000000000..3edbba9ce89 --- /dev/null +++ b/man/graph.data.frame.Rd @@ -0,0 +1,27 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/data_frame.R +\name{graph.data.frame} +\alias{graph.data.frame} +\title{Creating igraph graphs from data frames or vice-versa} +\usage{ +graph.data.frame(d, directed = TRUE, vertices = NULL) +} +\arguments{ +\item{d}{A data frame containing a symbolic edge list in the first two +columns. Additional columns are considered as edge attributes. Since +version 0.7 this argument is coerced to a data frame with +\code{as.data.frame}.} + +\item{directed}{Logical scalar, whether or not to create a directed graph.} + +\item{vertices}{A data frame with vertex metadata, or \code{NULL}. See +details below. Since version 0.7 this argument is coerced to a data frame +with \code{as.data.frame}, if not \code{NULL}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.data.frame()} was renamed to \code{graph_from_data_frame()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.de.bruijn.Rd b/man/graph.de.bruijn.Rd new file mode 100644 index 00000000000..79918ad3ce8 --- /dev/null +++ b/man/graph.de.bruijn.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph.de.bruijn} +\alias{graph.de.bruijn} +\title{De Bruijn graphs} +\usage{ +graph.de.bruijn(m, n) +} +\arguments{ +\item{m}{Integer scalar, the size of the alphabet. See details below.} + +\item{n}{Integer scalar, the length of the labels. See details below.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.de.bruijn()} was renamed to \code{make_de_bruijn_graph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.density.Rd b/man/graph.density.Rd new file mode 100644 index 00000000000..f18365e9a48 --- /dev/null +++ b/man/graph.density.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{graph.density} +\alias{graph.density} +\title{Graph density} +\usage{ +graph.density(graph, loops = FALSE) +} +\arguments{ +\item{graph}{The input graph.} + +\item{loops}{Logical constant, whether loop edges may exist in the graph. +This affects the calculation of the largest possible number of edges in the +graph. If this parameter is set to FALSE yet the graph contains self-loops, +the result will not be meaningful.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.density()} was renamed to \code{edge_density()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.dfs.Rd b/man/graph.dfs.Rd new file mode 100644 index 00000000000..581c4b7f88d --- /dev/null +++ b/man/graph.dfs.Rd @@ -0,0 +1,69 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{graph.dfs} +\alias{graph.dfs} +\title{Depth-first search} +\usage{ +graph.dfs( + graph, + root, + mode = c("out", "in", "all", "total"), + unreachable = TRUE, + order = TRUE, + order.out = FALSE, + father = FALSE, + dist = FALSE, + in.callback = NULL, + out.callback = NULL, + extra = NULL, + rho = parent.frame(), + neimode +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{root}{The single root vertex to start the search from.} + +\item{mode}{For directed graphs specifies the type of edges to follow. +\sQuote{out} follows outgoing, \sQuote{in} incoming edges. \sQuote{all} +ignores edge directions completely. \sQuote{total} is a synonym for +\sQuote{all}. This argument is ignored for undirected graphs.} + +\item{unreachable}{Logical scalar, whether the search should visit the +vertices that are unreachable from the given root vertex (or vertices). If +\code{TRUE}, then additional searches are performed until all vertices are +visited.} + +\item{order}{Logical scalar, whether to return the DFS ordering of the +vertices.} + +\item{order.out}{Logical scalar, whether to return the ordering based on +leaving the subtree of the vertex.} + +\item{father}{Logical scalar, whether to return the father of the vertices.} + +\item{dist}{Logical scalar, whether to return the distance from the root of +the search tree.} + +\item{in.callback}{If not \code{NULL}, then it must be callback function. +This is called whenever a vertex is visited. See details below.} + +\item{out.callback}{If not \code{NULL}, then it must be callback function. +This is called whenever the subtree of a vertex is completed by the +algorithm. See details below.} + +\item{extra}{Additional argument to supply to the callback function.} + +\item{rho}{The environment in which the callback function is evaluated.} + +\item{neimode}{This argument is deprecated from igraph 1.3.0; use +\code{mode} instead.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.dfs()} was renamed to \code{dfs()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.difference.Rd b/man/graph.difference.Rd new file mode 100644 index 00000000000..81537597a05 --- /dev/null +++ b/man/graph.difference.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/operators.R +\name{graph.difference} +\alias{graph.difference} +\title{Difference of two sets} +\usage{ +graph.difference(...) +} +\arguments{ +\item{...}{Arguments, their number and interpretation depends on +the function that implements \code{difference()}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.difference()} was renamed to \code{difference()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.disjoint.union.Rd b/man/graph.disjoint.union.Rd new file mode 100644 index 00000000000..c6b1c7d4272 --- /dev/null +++ b/man/graph.disjoint.union.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/operators.R +\name{graph.disjoint.union} +\alias{graph.disjoint.union} +\title{Disjoint union of graphs} +\usage{ +graph.disjoint.union(...) +} +\arguments{ +\item{...}{Graph objects or lists of graph objects.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.disjoint.union()} was renamed to \code{disjoint_union()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.diversity.Rd b/man/graph.diversity.Rd new file mode 100644 index 00000000000..15a116b8e24 --- /dev/null +++ b/man/graph.diversity.Rd @@ -0,0 +1,24 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{graph.diversity} +\alias{graph.diversity} +\title{Graph diversity} +\usage{ +graph.diversity(graph, weights = NULL, vids = V(graph)) +} +\arguments{ +\item{graph}{The input graph. Edge directions are ignored.} + +\item{weights}{\code{NULL}, or the vector of edge weights to use for the +computation. If \code{NULL}, then the \sQuote{weight} attibute is used. Note +that this measure is not defined for unweighted graphs.} + +\item{vids}{The vertex ids for which to calculate the measure.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.diversity()} was renamed to \code{diversity()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.edgelist.Rd b/man/graph.edgelist.Rd new file mode 100644 index 00000000000..3d87bfaf33c --- /dev/null +++ b/man/graph.edgelist.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/data_frame.R +\name{graph.edgelist} +\alias{graph.edgelist} +\title{Create a graph from an edge list matrix} +\usage{ +graph.edgelist(el, directed = TRUE) +} +\arguments{ +\item{el}{The edge list, a two column matrix, character or numeric.} + +\item{directed}{Whether to create a directed graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.edgelist()} was renamed to \code{graph_from_edgelist()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.eigen.Rd b/man/graph.eigen.Rd new file mode 100644 index 00000000000..2a374fac921 --- /dev/null +++ b/man/graph.eigen.Rd @@ -0,0 +1,33 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/centrality.R +\name{graph.eigen} +\alias{graph.eigen} +\title{Eigenvalues and eigenvectors of the adjacency matrix of a graph} +\usage{ +graph.eigen( + graph, + algorithm = c("arpack", "auto", "lapack", "comp_auto", "comp_lapack", "comp_arpack"), + which = list(), + options = arpack_defaults() +) +} +\arguments{ +\item{graph}{The input graph, can be directed or undirected.} + +\item{algorithm}{The algorithm to use. Currently only \code{arpack} is +implemented, which uses the ARPACK solver. See also \code{\link[=arpack]{arpack()}}.} + +\item{which}{A list to specify which eigenvalues and eigenvectors to +calculate. By default the leading (i.e. largest magnitude) eigenvalue and +the corresponding eigenvector is calculated.} + +\item{options}{Options for the ARPACK solver. See +\code{\link[=arpack_defaults]{arpack_defaults()}}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.eigen()} was renamed to \code{spectrum()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.empty.Rd b/man/graph.empty.Rd new file mode 100644 index 00000000000..10e43e0614a --- /dev/null +++ b/man/graph.empty.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph.empty} +\alias{graph.empty} +\title{A graph with no edges} +\usage{ +graph.empty(n = 0, directed = TRUE) +} +\arguments{ +\item{n}{Number of vertices.} + +\item{directed}{Whether to create a directed graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.empty()} was renamed to \code{make_empty_graph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.extended.chordal.ring.Rd b/man/graph.extended.chordal.ring.Rd new file mode 100644 index 00000000000..6bb8c5004b2 --- /dev/null +++ b/man/graph.extended.chordal.ring.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph.extended.chordal.ring} +\alias{graph.extended.chordal.ring} +\title{Create an extended chordal ring graph} +\usage{ +graph.extended.chordal.ring(n, w, directed = FALSE) +} +\arguments{ +\item{n}{The number of vertices.} + +\item{w}{A matrix which specifies the extended chordal ring. See +details below.} + +\item{directed}{Logical scalar, whether or not to create a directed graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.extended.chordal.ring()} was renamed to \code{make_chordal_ring()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.famous.Rd b/man/graph.famous.Rd new file mode 100644 index 00000000000..d5bb7f4a00f --- /dev/null +++ b/man/graph.famous.Rd @@ -0,0 +1,61 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph.famous} +\alias{graph.famous} +\title{Create an igraph graph from a list of edges, or a notable graph} +\usage{ +graph.famous( + edges, + ..., + n = max(edges), + isolates = NULL, + directed = TRUE, + dir = directed, + simplify = TRUE +) +} +\arguments{ +\item{edges}{A vector defining the edges, the first edge points +from the first element to the second, the second edge from the third +to the fourth, etc. For a numeric vector, these are interpreted +as internal vertex ids. For character vectors, they are interpreted +as vertex names. + +Alternatively, this can be a character scalar, the name of a +notable graph. See Notable graphs below. The name is case +insensitive. + +Starting from igraph 0.8.0, you can also include literals here, +via igraph's formula notation (see \code{\link[=graph_from_literal]{graph_from_literal()}}). +In this case, the first term of the formula has to start with +a \sQuote{\code{~}} character, just like regular formulae in R. +See examples below.} + +\item{...}{For \code{make_graph()}: extra arguments for the case when the +graph is given via a literal, see \code{\link[=graph_from_literal]{graph_from_literal()}}. +For \code{directed_graph()} and \code{undirected_graph()}: +Passed to \code{make_directed_graph()} or \code{make_undirected_graph()}.} + +\item{n}{The number of vertices in the graph. This argument is +ignored (with a warning) if \code{edges} are symbolic vertex names. It +is also ignored if there is a bigger vertex id in \code{edges}. This +means that for this function it is safe to supply zero here if the +vertex with the largest id is not an isolate.} + +\item{isolates}{Character vector, names of isolate vertices, +for symbolic edge lists. It is ignored for numeric edge lists.} + +\item{directed}{Whether to create a directed graph.} + +\item{dir}{It is the same as \code{directed}, for compatibility. +Do not give both of them.} + +\item{simplify}{For graph literals, whether to simplify the graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.famous()} was renamed to \code{make_graph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.formula.Rd b/man/graph.formula.Rd new file mode 100644 index 00000000000..dcf759191d5 --- /dev/null +++ b/man/graph.formula.Rd @@ -0,0 +1,24 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph.formula} +\alias{graph.formula} +\title{Creating (small) graphs via a simple interface} +\usage{ +graph.formula(..., simplify = TRUE) +} +\arguments{ +\item{...}{For \code{graph_from_literal()} the formulae giving the +structure of the graph, see details below. For \code{from_literal()} +all arguments are passed to \code{graph_from_literal()}.} + +\item{simplify}{Logical scalar, whether to call \code{\link[=simplify]{simplify()}} +on the created graph. By default the graph is simplified, loop and +multiple edges are removed.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.formula()} was renamed to \code{graph_from_literal()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.full.Rd b/man/graph.full.Rd new file mode 100644 index 00000000000..b466b688478 --- /dev/null +++ b/man/graph.full.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph.full} +\alias{graph.full} +\title{Create a full graph} +\usage{ +graph.full(n, directed = FALSE, loops = FALSE) +} +\arguments{ +\item{n}{Number of vertices.} + +\item{directed}{Whether to create a directed graph.} + +\item{loops}{Whether to add self-loops to the graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.full()} was renamed to \code{make_full_graph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.full.bipartite.Rd b/man/graph.full.bipartite.Rd new file mode 100644 index 00000000000..f59e7f010b4 --- /dev/null +++ b/man/graph.full.bipartite.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph.full.bipartite} +\alias{graph.full.bipartite} +\title{Create a full bipartite graph} +\usage{ +graph.full.bipartite(n1, n2, directed = FALSE, mode = c("all", "out", "in")) +} +\arguments{ +\item{n1}{The number of vertices of the first kind.} + +\item{n2}{The number of vertices of the second kind.} + +\item{directed}{Logical scalar, whether the graphs is directed.} + +\item{mode}{Scalar giving the kind of edges to create for directed graphs. +If this is \sQuote{\code{out}} then all vertices of the first kind are +connected to the others; \sQuote{\verb{in}} specifies the opposite +direction; \sQuote{\code{all}} creates mutual edges. This argument is +ignored for undirected graphs.x} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.full.bipartite()} was renamed to \code{make_full_bipartite_graph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.full.citation.Rd b/man/graph.full.citation.Rd new file mode 100644 index 00000000000..64eca86958b --- /dev/null +++ b/man/graph.full.citation.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph.full.citation} +\alias{graph.full.citation} +\title{Create a complete (full) citation graph} +\usage{ +graph.full.citation(n, directed = TRUE) +} +\arguments{ +\item{n}{The number of vertices.} + +\item{directed}{Whether to create a directed graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.full.citation()} was renamed to \code{make_full_citation_graph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.graphdb.Rd b/man/graph.graphdb.Rd new file mode 100644 index 00000000000..9f5b4ce278c --- /dev/null +++ b/man/graph.graphdb.Rd @@ -0,0 +1,56 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/foreign.R +\name{graph.graphdb} +\alias{graph.graphdb} +\title{Load a graph from the graph database for testing graph isomorphism.} +\usage{ +graph.graphdb( + url = NULL, + prefix = "iso", + type = "r001", + nodes = NULL, + pair = "A", + which = 0, + base = "http://cneurocvs.rmki.kfki.hu/graphdb/gzip", + compressed = TRUE, + directed = TRUE +) +} +\arguments{ +\item{url}{If not \code{NULL} it is a complete URL with the file to import.} + +\item{prefix}{Gives the prefix. See details below. Possible values: +\code{iso}, \code{i2}, \code{si4}, \code{si6}, \code{mcs10}, \code{mcs30}, +\code{mcs50}, \code{mcs70}, \code{mcs90}.} + +\item{type}{Gives the graph type identifier. See details below. Possible +values: \code{r001}, \code{r005}, \code{r01}, \code{r02}, \code{m2D}, +\code{m2Dr2}, \code{m2Dr4}, \code{m2Dr6} \code{m3D}, \code{m3Dr2}, +\code{m3Dr4}, \code{m3Dr6}, \code{m4D}, \code{m4Dr2}, \code{m4Dr4}, +\code{m4Dr6}, \code{b03}, \code{b03m}, \code{b06}, \code{b06m}, \code{b09}, +\code{b09m}.} + +\item{nodes}{The number of vertices in the graph.} + +\item{pair}{Specifies which graph of the pair to read. Possible values: +\code{A} and \code{B}.} + +\item{which}{Gives the number of the graph to read. For every graph type +there are a number of actual graphs in the database. This argument specifies +which one to read.} + +\item{base}{The base address of the database. See details below.} + +\item{compressed}{Logical constant, if TRUE than the file is expected to be +compressed by gzip. If \code{url} is \code{NULL} then a \sQuote{\code{.gz}} +suffix is added to the filename.} + +\item{directed}{Logical constant, whether to create a directed graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.graphdb()} was renamed to \code{graph_from_graphdb()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.incidence.Rd b/man/graph.incidence.Rd new file mode 100644 index 00000000000..1f0922a4436 --- /dev/null +++ b/man/graph.incidence.Rd @@ -0,0 +1,56 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/incidence.R +\name{graph.incidence} +\alias{graph.incidence} +\title{Create graphs from a bipartite adjacency matrix} +\usage{ +graph.incidence( + incidence, + directed = FALSE, + mode = c("all", "out", "in", "total"), + multiple = FALSE, + weighted = NULL, + add.names = NULL +) +} +\arguments{ +\item{incidence}{The input bipartite adjacency matrix. It can also be a sparse matrix +from the \code{Matrix} package.} + +\item{directed}{Logical scalar, whether to create a directed graph.} + +\item{mode}{A character constant, defines the direction of the edges in +directed graphs, ignored for undirected graphs. If \sQuote{\code{out}}, then +edges go from vertices of the first kind (corresponding to rows in the +bipartite adjacency matrix) to vertices of the second kind (columns in the incidence +matrix). If \sQuote{\verb{in}}, then the opposite direction is used. If +\sQuote{\code{all}} or \sQuote{\code{total}}, then mutual edges are created.} + +\item{multiple}{Logical scalar, specifies how to interpret the matrix +elements. See details below.} + +\item{weighted}{This argument specifies whether to create a weighted graph +from the bipartite adjacency matrix. If it is \code{NULL} then an unweighted graph is +created and the \code{multiple} argument is used to determine the edges of +the graph. If it is a character constant then for every non-zero matrix +entry an edge is created and the value of the entry is added as an edge +attribute named by the \code{weighted} argument. If it is \code{TRUE} then a +weighted graph is created and the name of the edge attribute will be +\sQuote{\code{weight}}.} + +\item{add.names}{A character constant, \code{NA} or \code{NULL}. +\code{graph_from_biadjacency_matrix()} can add the row and column names of the incidence +matrix as vertex attributes. If this argument is \code{NULL} (the default) +and the bipartite adjacency matrix has both row and column names, then these are added +as the \sQuote{\code{name}} vertex attribute. If you want a different vertex +attribute for this, then give the name of the attributes as a character +string. If this argument is \code{NA}, then no vertex attributes (other than +type) will be added.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.incidence()} was renamed to \code{graph_from_biadjacency_matrix()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.intersection.Rd b/man/graph.intersection.Rd new file mode 100644 index 00000000000..6f937f6a664 --- /dev/null +++ b/man/graph.intersection.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/operators.R +\name{graph.intersection} +\alias{graph.intersection} +\title{Intersection of two or more sets} +\usage{ +graph.intersection(...) +} +\arguments{ +\item{...}{Arguments, their number and interpretation depends on +the function that implements \code{intersection()}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.intersection()} was renamed to \code{intersection()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.isocreate.Rd b/man/graph.isocreate.Rd new file mode 100644 index 00000000000..d36c3732e0f --- /dev/null +++ b/man/graph.isocreate.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{graph.isocreate} +\alias{graph.isocreate} +\title{Create a graph from an isomorphism class} +\usage{ +graph.isocreate(size, number, directed = TRUE) +} +\arguments{ +\item{size}{The number of vertices in the graph.} + +\item{number}{The isomorphism class.} + +\item{directed}{Whether to create a directed graph (the default).} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.isocreate()} was renamed to \code{graph_from_isomorphism_class()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.kautz.Rd b/man/graph.kautz.Rd new file mode 100644 index 00000000000..be6751fd79f --- /dev/null +++ b/man/graph.kautz.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph.kautz} +\alias{graph.kautz} +\title{Kautz graphs} +\usage{ +graph.kautz(m, n) +} +\arguments{ +\item{m}{Integer scalar, the size of the alphabet. See details below.} + +\item{n}{Integer scalar, the length of the labels. See details below.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.kautz()} was renamed to \code{make_kautz_graph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.knn.Rd b/man/graph.knn.Rd new file mode 100644 index 00000000000..b5776128ca6 --- /dev/null +++ b/man/graph.knn.Rd @@ -0,0 +1,45 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{graph.knn} +\alias{graph.knn} +\title{Average nearest neighbor degree} +\usage{ +graph.knn( + graph, + vids = V(graph), + mode = c("all", "out", "in", "total"), + neighbor.degree.mode = c("all", "out", "in", "total"), + weights = NULL +) +} +\arguments{ +\item{graph}{The input graph. It may be directed.} + +\item{vids}{The vertices for which the calculation is performed. Normally it +includes all vertices. Note, that if not all vertices are given here, then +both \sQuote{\code{knn}} and \sQuote{\code{knnk}} will be calculated based +on the given vertices only.} + +\item{mode}{Character constant to indicate the type of neighbors to consider +in directed graphs. \code{out} considers out-neighbors, \verb{in} considers +in-neighbors and \code{all} ignores edge directions.} + +\item{neighbor.degree.mode}{The type of degree to average in directed graphs. +\code{out} averages out-degrees, \verb{in} averages in-degrees and \code{all} +ignores edge directions for the degree calculation.} + +\item{weights}{Weight vector. If the graph has a \code{weight} edge +attribute, then this is used by default. If this argument is given, then +vertex strength (see \code{\link[=strength]{strength()}}) is used instead of vertex +degree. But note that \code{knnk} is still given in the function of the +normal vertex degree. +Weights are are used to calculate a weighted degree (also called +\code{\link[=strength]{strength()}}) instead of the degree.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.knn()} was renamed to \code{knn()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.laplacian.Rd b/man/graph.laplacian.Rd new file mode 100644 index 00000000000..66471f23ef1 --- /dev/null +++ b/man/graph.laplacian.Rd @@ -0,0 +1,35 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{graph.laplacian} +\alias{graph.laplacian} +\title{Graph Laplacian} +\usage{ +graph.laplacian( + graph, + normalized = FALSE, + weights = NULL, + sparse = igraph_opt("sparsematrices") +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{normalized}{Whether to calculate the normalized Laplacian. See +definitions below.} + +\item{weights}{An optional vector giving edge weights for weighted Laplacian +matrix. If this is \code{NULL} and the graph has an edge attribute called +\code{weight}, then it will be used automatically. Set this to \code{NA} if +you want the unweighted Laplacian on a graph that has a \code{weight} edge +attribute.} + +\item{sparse}{Logical scalar, whether to return the result as a sparse +matrix. The \code{Matrix} package is required for sparse matrices.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.laplacian()} was renamed to \code{laplacian_matrix()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.lattice.Rd b/man/graph.lattice.Rd new file mode 100644 index 00000000000..c243b39e41b --- /dev/null +++ b/man/graph.lattice.Rd @@ -0,0 +1,43 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph.lattice} +\alias{graph.lattice} +\title{Create a lattice graph} +\usage{ +graph.lattice( + dimvector = NULL, + length = NULL, + dim = NULL, + nei = 1, + directed = FALSE, + mutual = FALSE, + circular = FALSE +) +} +\arguments{ +\item{dimvector}{A vector giving the size of the lattice in each +dimension.} + +\item{length}{Integer constant, for regular lattices, the size of the +lattice in each dimension.} + +\item{dim}{Integer constant, the dimension of the lattice.} + +\item{nei}{The distance within which (inclusive) the neighbors on the +lattice will be connected. This parameter is not used right now.} + +\item{directed}{Whether to create a directed lattice.} + +\item{mutual}{Logical, if \code{TRUE} directed lattices will be +mutually connected.} + +\item{circular}{Logical, if \code{TRUE} the lattice or ring will be +circular.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.lattice()} was renamed to \code{make_lattice()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.lcf.Rd b/man/graph.lcf.Rd new file mode 100644 index 00000000000..217d7167d5c --- /dev/null +++ b/man/graph.lcf.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{graph.lcf} +\alias{graph.lcf} +\title{Creating a graph from LCF notation} +\usage{ +graph.lcf(n, shifts, repeats = 1) +} +\arguments{ +\item{n}{Integer, the number of vertices in the graph.} + +\item{shifts}{Integer vector, the shifts.} + +\item{repeats}{Integer constant, how many times to repeat the shifts.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.lcf()} was renamed to \code{graph_from_lcf()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.maxflow.Rd b/man/graph.maxflow.Rd new file mode 100644 index 00000000000..275496b06db --- /dev/null +++ b/man/graph.maxflow.Rd @@ -0,0 +1,26 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{graph.maxflow} +\alias{graph.maxflow} +\title{Maximum flow in a graph} +\usage{ +graph.maxflow(graph, source, target, capacity = NULL) +} +\arguments{ +\item{graph}{The input graph.} + +\item{source}{The id of the source vertex.} + +\item{target}{The id of the target vertex (sometimes also called sink).} + +\item{capacity}{Vector giving the capacity of the edges. If this is +\code{NULL} (the default) then the \code{capacity} edge attribute is used. +Note that the \code{weight} edge attribute is not used by this function.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.maxflow()} was renamed to \code{max_flow()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.mincut.Rd b/man/graph.mincut.Rd new file mode 100644 index 00000000000..bfd204590cf --- /dev/null +++ b/man/graph.mincut.Rd @@ -0,0 +1,35 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/flow.R +\name{graph.mincut} +\alias{graph.mincut} +\title{Minimum cut in a graph} +\usage{ +graph.mincut( + graph, + source = NULL, + target = NULL, + capacity = NULL, + value.only = TRUE +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{source}{The id of the source vertex.} + +\item{target}{The id of the target vertex (sometimes also called sink).} + +\item{capacity}{Vector giving the capacity of the edges. If this is +\code{NULL} (the default) then the \code{capacity} edge attribute is used.} + +\item{value.only}{Logical scalar, if \code{TRUE} only the minimum cut value +is returned, if \code{FALSE} the edges in the cut and a the two (or more) +partitions are also returned.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.mincut()} was renamed to \code{min_cut()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.motifs.Rd b/man/graph.motifs.Rd new file mode 100644 index 00000000000..00ff37371b1 --- /dev/null +++ b/man/graph.motifs.Rd @@ -0,0 +1,25 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/motifs.R +\name{graph.motifs} +\alias{graph.motifs} +\title{Graph motifs} +\usage{ +graph.motifs(graph, size = 3, cut.prob = rep(0, size)) +} +\arguments{ +\item{graph}{Graph object, the input graph.} + +\item{size}{The size of the motif, currently sizes 3 and 4 are supported in +directed graphs and sizes 3-6 in undirected graphs.} + +\item{cut.prob}{Numeric vector giving the probabilities that the search +graph is cut at a certain level. Its length should be the same as the size +of the motif (the \code{size} argument). By default no cuts are made.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.motifs()} was renamed to \code{motifs()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.motifs.est.Rd b/man/graph.motifs.est.Rd new file mode 100644 index 00000000000..82dce6287d4 --- /dev/null +++ b/man/graph.motifs.est.Rd @@ -0,0 +1,37 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/motifs.R +\name{graph.motifs.est} +\alias{graph.motifs.est} +\title{Graph motifs} +\usage{ +graph.motifs.est( + graph, + size = 3, + cut.prob = rep(0, size), + sample.size = vcount(graph)/10, + sample = NULL +) +} +\arguments{ +\item{graph}{Graph object, the input graph.} + +\item{size}{The size of the motif, currently size 3 and 4 are supported +in directed graphs and sizes 3-6 in undirected graphs.} + +\item{cut.prob}{Numeric vector giving the probabilities that the search +graph is cut at a certain level. Its length should be the same as the size +of the motif (the \code{size} argument). By default no cuts are made.} + +\item{sample.size}{The number of vertices to use as a starting point for +finding motifs. Only used if the \code{sample} argument is \code{NULL}.} + +\item{sample}{If not \code{NULL} then it specifies the vertices to use as a +starting point for finding motifs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.motifs.est()} was renamed to \code{sample_motifs()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.motifs.no.Rd b/man/graph.motifs.no.Rd new file mode 100644 index 00000000000..238fedc1b44 --- /dev/null +++ b/man/graph.motifs.no.Rd @@ -0,0 +1,24 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/motifs.R +\name{graph.motifs.no} +\alias{graph.motifs.no} +\title{Graph motifs} +\usage{ +graph.motifs.no(graph, size = 3, cut.prob = rep(0, size)) +} +\arguments{ +\item{graph}{Graph object, the input graph.} + +\item{size}{The size of the motif.} + +\item{cut.prob}{Numeric vector giving the probabilities that the search +graph is cut at a certain level. Its length should be the same as the size +of the motif (the \code{size} argument). By default no cuts are made.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.motifs.no()} was renamed to \code{count_motifs()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.neighborhood.Rd b/man/graph.neighborhood.Rd new file mode 100644 index 00000000000..48599100271 --- /dev/null +++ b/man/graph.neighborhood.Rd @@ -0,0 +1,38 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{graph.neighborhood} +\alias{graph.neighborhood} +\title{Neighborhood of graph vertices} +\usage{ +graph.neighborhood( + graph, + order = 1, + nodes = V(graph), + mode = c("all", "out", "in"), + mindist = 0 +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{order}{Integer giving the order of the neighborhood.} + +\item{nodes}{The vertices for which the calculation is performed.} + +\item{mode}{Character constant, it specifies how to use the direction of +the edges if a directed graph is analyzed. For \sQuote{out} only the +outgoing edges are followed, so all vertices reachable from the source +vertex in at most \code{order} steps are counted. For \sQuote{"in"} all +vertices from which the source vertex is reachable in at most \code{order} +steps are counted. \sQuote{"all"} ignores the direction of the edges. This +argument is ignored for undirected graphs.} + +\item{mindist}{The minimum distance to include the vertex in the result.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.neighborhood()} was renamed to \code{make_ego_graph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.ring.Rd b/man/graph.ring.Rd new file mode 100644 index 00000000000..ec1d13c8b6b --- /dev/null +++ b/man/graph.ring.Rd @@ -0,0 +1,27 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph.ring} +\alias{graph.ring} +\title{Create a ring graph} +\usage{ +graph.ring(n, directed = FALSE, mutual = FALSE, circular = TRUE) +} +\arguments{ +\item{n}{Number of vertices.} + +\item{directed}{Whether the graph is directed.} + +\item{mutual}{Whether directed edges are mutual. It is ignored in +undirected graphs.} + +\item{circular}{Whether to create a circular ring. A non-circular +ring is essentially a \dQuote{line}: a tree where every non-leaf +vertex has one child.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.ring()} was renamed to \code{make_ring()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.star.Rd b/man/graph.star.Rd new file mode 100644 index 00000000000..f2efd882150 --- /dev/null +++ b/man/graph.star.Rd @@ -0,0 +1,26 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph.star} +\alias{graph.star} +\title{Create a star graph, a tree with n vertices and n - 1 leaves} +\usage{ +graph.star(n, mode = c("in", "out", "mutual", "undirected"), center = 1) +} +\arguments{ +\item{n}{Number of vertices.} + +\item{mode}{It defines the direction of the +edges, \verb{in}: the edges point \emph{to} the center, \code{out}: +the edges point \emph{from} the center, \code{mutual}: a directed +star is created with mutual edges, \code{undirected}: the edges +are undirected.} + +\item{center}{ID of the center vertex.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.star()} was renamed to \code{make_star()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.strength.Rd b/man/graph.strength.Rd new file mode 100644 index 00000000000..1eb588b2bc5 --- /dev/null +++ b/man/graph.strength.Rd @@ -0,0 +1,38 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{graph.strength} +\alias{graph.strength} +\title{Strength or weighted vertex degree} +\usage{ +graph.strength( + graph, + vids = V(graph), + mode = c("all", "out", "in", "total"), + loops = TRUE, + weights = NULL +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{vids}{The vertices for which the strength will be calculated.} + +\item{mode}{Character string, \dQuote{out} for out-degree, \dQuote{in} for +in-degree or \dQuote{all} for the sum of the two. For undirected graphs this +argument is ignored.} + +\item{loops}{Logical; whether the loop edges are also counted.} + +\item{weights}{Weight vector. If the graph has a \code{weight} edge +attribute, then this is used by default. If the graph does not have a +\code{weight} edge attribute and this argument is \code{NULL}, then a +\code{\link[=degree]{degree()}} is called. If this is \code{NA}, then no edge weights are used +(even if the graph has a \code{weight} edge attribute).} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.strength()} was renamed to \code{strength()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.tree.Rd b/man/graph.tree.Rd new file mode 100644 index 00000000000..1bcb3001576 --- /dev/null +++ b/man/graph.tree.Rd @@ -0,0 +1,27 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{graph.tree} +\alias{graph.tree} +\title{Create tree graphs} +\usage{ +graph.tree(n, children = 2, mode = c("out", "in", "undirected")) +} +\arguments{ +\item{n}{Number of vertices.} + +\item{children}{Integer scalar, the number of children of a vertex +(except for leafs)} + +\item{mode}{Defines the direction of the +edges. \code{out} indicates that the edges point from the parent to +the children, \verb{in} indicates that they point from the children +to their parents, while \code{undirected} creates an undirected +graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.tree()} was renamed to \code{make_tree()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph.union.Rd b/man/graph.union.Rd new file mode 100644 index 00000000000..48d65bebb39 --- /dev/null +++ b/man/graph.union.Rd @@ -0,0 +1,24 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/operators.R +\name{graph.union} +\alias{graph.union} +\title{Union of graphs} +\usage{ +graph.union(..., byname = "auto") +} +\arguments{ +\item{...}{Graph objects or lists of graph objects.} + +\item{byname}{A logical scalar, or the character scalar \code{auto}. Whether +to perform the operation based on symbolic vertex names. If it is +\code{auto}, that means \code{TRUE} if all graphs are named and \code{FALSE} +otherwise. A warning is generated if \code{auto} and some (but not all) +graphs are named.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graph.union()} was renamed to \code{union.igraph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graph_attr.Rd b/man/graph_attr.Rd index 24da90ff989..886f71ef11d 100644 --- a/man/graph_attr.Rd +++ b/man/graph_attr.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/attributes.R \name{graph_attr} \alias{graph_attr} -\alias{get.graph.attribute} \alias{graph.attributes} \title{Graph attributes of a graph} \usage{ diff --git a/man/graph_attr_names.Rd b/man/graph_attr_names.Rd index 8a91c0b3b11..d808548ead2 100644 --- a/man/graph_attr_names.Rd +++ b/man/graph_attr_names.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/attributes.R \name{graph_attr_names} \alias{graph_attr_names} -\alias{list.graph.attributes} \alias{attributes} \title{List names of graph attributes} \usage{ diff --git a/man/graph_from_adj_list.Rd b/man/graph_from_adj_list.Rd index 21ecdb70ebc..c200be3fbd1 100644 --- a/man/graph_from_adj_list.Rd +++ b/man/graph_from_adj_list.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/conversion.R \name{graph_from_adj_list} \alias{graph_from_adj_list} -\alias{graph.adjlist} \title{Create graphs from adjacency lists} \usage{ graph_from_adj_list( diff --git a/man/graph_from_adjacency_matrix.Rd b/man/graph_from_adjacency_matrix.Rd index 7cb576779a9..6fcea554132 100644 --- a/man/graph_from_adjacency_matrix.Rd +++ b/man/graph_from_adjacency_matrix.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/adjacency.R \name{graph_from_adjacency_matrix} \alias{graph_from_adjacency_matrix} -\alias{graph.adjacency} \alias{from_adjacency} \title{Create graphs from adjacency matrices} \usage{ diff --git a/man/graph_from_atlas.Rd b/man/graph_from_atlas.Rd index 333120d3f00..1a27f6fce15 100644 --- a/man/graph_from_atlas.Rd +++ b/man/graph_from_atlas.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/make.R \name{graph_from_atlas} \alias{graph_from_atlas} -\alias{graph.atlas} \alias{atlas} \title{Create a graph from the Graph Atlas} \usage{ diff --git a/man/graph_from_biadjacency_matrix.Rd b/man/graph_from_biadjacency_matrix.Rd index 3f4874ead70..19b85d2739c 100644 --- a/man/graph_from_biadjacency_matrix.Rd +++ b/man/graph_from_biadjacency_matrix.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/incidence.R \name{graph_from_biadjacency_matrix} \alias{graph_from_biadjacency_matrix} -\alias{graph.incidence} \title{Create graphs from a bipartite adjacency matrix} \usage{ graph_from_biadjacency_matrix( diff --git a/man/graph_from_data_frame.Rd b/man/graph_from_data_frame.Rd index 4f7c66b9fa4..afcbdd549a5 100644 --- a/man/graph_from_data_frame.Rd +++ b/man/graph_from_data_frame.Rd @@ -3,8 +3,6 @@ \name{as_data_frame} \alias{as_data_frame} \alias{graph_from_data_frame} -\alias{graph.data.frame} -\alias{get.data.frame} \alias{from_data_frame} \title{Creating igraph graphs from data frames or vice-versa} \usage{ diff --git a/man/graph_from_edgelist.Rd b/man/graph_from_edgelist.Rd index 0376e2b9e99..122ba54251e 100644 --- a/man/graph_from_edgelist.Rd +++ b/man/graph_from_edgelist.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/data_frame.R \name{graph_from_edgelist} \alias{graph_from_edgelist} -\alias{graph.edgelist} \alias{from_edgelist} \title{Create a graph from an edge list matrix} \usage{ diff --git a/man/graph_from_graphdb.Rd b/man/graph_from_graphdb.Rd index 77824ec73e8..68fec588512 100644 --- a/man/graph_from_graphdb.Rd +++ b/man/graph_from_graphdb.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/foreign.R \name{graph_from_graphdb} \alias{graph_from_graphdb} -\alias{graph.graphdb} \title{Load a graph from the graph database for testing graph isomorphism.} \usage{ graph_from_graphdb( diff --git a/man/graph_from_graphnel.Rd b/man/graph_from_graphnel.Rd index 0dfc1dd48e9..f8e69bac82a 100644 --- a/man/graph_from_graphnel.Rd +++ b/man/graph_from_graphnel.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/conversion.R \name{graph_from_graphnel} \alias{graph_from_graphnel} -\alias{igraph.from.graphNEL} \title{Convert graphNEL objects from the graph package to igraph} \usage{ graph_from_graphnel(graphNEL, name = TRUE, weight = TRUE, unlist.attrs = TRUE) diff --git a/man/graph_from_isomorphism_class.Rd b/man/graph_from_isomorphism_class.Rd index df9b0f5a049..f6cad230fb7 100644 --- a/man/graph_from_isomorphism_class.Rd +++ b/man/graph_from_isomorphism_class.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/topology.R \name{graph_from_isomorphism_class} \alias{graph_from_isomorphism_class} -\alias{graph.isocreate} \title{Create a graph from an isomorphism class} \usage{ graph_from_isomorphism_class(size, number, directed = TRUE) diff --git a/man/graph_from_lcf.Rd b/man/graph_from_lcf.Rd index 164af68134b..3e0d4e96ffd 100644 --- a/man/graph_from_lcf.Rd +++ b/man/graph_from_lcf.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/make.R \name{graph_from_lcf} \alias{graph_from_lcf} -\alias{graph.lcf} \title{Creating a graph from LCF notation} \usage{ graph_from_lcf(n, shifts, repeats = 1) diff --git a/man/graph_from_literal.Rd b/man/graph_from_literal.Rd index 089574ab951..fe0cdcedd20 100644 --- a/man/graph_from_literal.Rd +++ b/man/graph_from_literal.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/make.R \name{graph_from_literal} \alias{graph_from_literal} -\alias{graph.formula} \alias{from_literal} \title{Creating (small) graphs via a simple interface} \usage{ diff --git a/man/graphlet_basis.Rd b/man/graphlet_basis.Rd index 56c9785329c..d0cd5c360be 100644 --- a/man/graphlet_basis.Rd +++ b/man/graphlet_basis.Rd @@ -2,8 +2,6 @@ % Please edit documentation in R/glet.R \name{graphlet_basis} \alias{graphlet_basis} -\alias{graphlets.project} -\alias{graphlets.candidate.basis} \alias{graphlet_proj} \alias{graphlets} \title{Graphlet decomposition of a graph} diff --git a/man/graphlets.candidate.basis.Rd b/man/graphlets.candidate.basis.Rd new file mode 100644 index 00000000000..7a6a12a12b0 --- /dev/null +++ b/man/graphlets.candidate.basis.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/glet.R +\name{graphlets.candidate.basis} +\alias{graphlets.candidate.basis} +\title{Graphlet decomposition of a graph} +\usage{ +graphlets.candidate.basis(graph, weights = NULL) +} +\arguments{ +\item{graph}{The input graph, edge directions are ignored. Only simple graph +(i.e. graphs without self-loops and multiple edges) are supported.} + +\item{weights}{Edge weights. If the graph has a \code{weight} edge attribute +and this argument is \code{NULL} (the default), then the \code{weight} edge +attribute is used.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graphlets.candidate.basis()} was renamed to \code{graphlet_basis()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/graphlets.project.Rd b/man/graphlets.project.Rd new file mode 100644 index 00000000000..e16e9554f45 --- /dev/null +++ b/man/graphlets.project.Rd @@ -0,0 +1,36 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/glet.R +\name{graphlets.project} +\alias{graphlets.project} +\title{Graphlet decomposition of a graph} +\usage{ +graphlets.project( + graph, + weights = NULL, + cliques, + niter = 1000, + Mu = rep(1, length(cliques)) +) +} +\arguments{ +\item{graph}{The input graph, edge directions are ignored. Only simple graph +(i.e. graphs without self-loops and multiple edges) are supported.} + +\item{weights}{Edge weights. If the graph has a \code{weight} edge attribute +and this argument is \code{NULL} (the default), then the \code{weight} edge +attribute is used.} + +\item{cliques}{A list of vertex ids, the graphlet basis to use for the +projection.} + +\item{niter}{Integer scalar, the number of iterations to perform.} + +\item{Mu}{Starting weights for the projection.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{graphlets.project()} was renamed to \code{graphlet_proj()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/grg.game.Rd b/man/grg.game.Rd new file mode 100644 index 00000000000..e5858787f3b --- /dev/null +++ b/man/grg.game.Rd @@ -0,0 +1,26 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{grg.game} +\alias{grg.game} +\title{Geometric random graphs} +\usage{ +grg.game(nodes, radius, torus = FALSE, coords = FALSE) +} +\arguments{ +\item{nodes}{The number of vertices in the graph.} + +\item{radius}{The radius within which the vertices will be connected by an +edge.} + +\item{torus}{Logical constant, whether to use a torus instead of a square.} + +\item{coords}{Logical scalar, whether to add the positions of the vertices +as vertex attributes called \sQuote{\code{x}} and \sQuote{\code{y}}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{grg.game()} was renamed to \code{sample_grg()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/groups.Rd b/man/groups.Rd index a72ac54bb81..36a2f317092 100644 --- a/man/groups.Rd +++ b/man/groups.Rd @@ -55,7 +55,6 @@ Community detection \code{\link{cluster_walktrap}()}, \code{\link{compare}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} diff --git a/man/growing.random.game.Rd b/man/growing.random.game.Rd new file mode 100644 index 00000000000..4d575cb50fb --- /dev/null +++ b/man/growing.random.game.Rd @@ -0,0 +1,25 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{growing.random.game} +\alias{growing.random.game} +\title{Growing random graph generation} +\usage{ +growing.random.game(n, m = 1, directed = TRUE, citation = FALSE) +} +\arguments{ +\item{n}{Numeric constant, number of vertices in the graph.} + +\item{m}{Numeric constant, number of edges added in each time step.} + +\item{directed}{Logical, whether to create a directed graph.} + +\item{citation}{Logical. If \code{TRUE} a citation graph is created, i.e. in +each time step the added edges are originating from the new vertex.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{growing.random.game()} was renamed to \code{sample_growing()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/has.multiple.Rd b/man/has.multiple.Rd new file mode 100644 index 00000000000..6cffe01f491 --- /dev/null +++ b/man/has.multiple.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{has.multiple} +\alias{has.multiple} +\title{Find the multiple or loop edges in a graph} +\usage{ +has.multiple(graph) +} +\arguments{ +\item{graph}{The input graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{has.multiple()} was renamed to \code{any_multiple()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/hrg.Rd b/man/hrg.Rd index 62cf65fa821..98cdab96ffb 100644 --- a/man/hrg.Rd +++ b/man/hrg.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/hrg.R \name{hrg} \alias{hrg} -\alias{hrg.create} \title{Create a hierarchical random graph from an igraph graph} \usage{ hrg(graph, prob) diff --git a/man/hrg.consensus.Rd b/man/hrg.consensus.Rd new file mode 100644 index 00000000000..65434f7be08 --- /dev/null +++ b/man/hrg.consensus.Rd @@ -0,0 +1,29 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{hrg.consensus} +\alias{hrg.consensus} +\title{Create a consensus tree from several hierarchical random graph models} +\usage{ +hrg.consensus(graph, hrg = NULL, start = FALSE, num.samples = 10000) +} +\arguments{ +\item{graph}{The graph the models were fitted to.} + +\item{hrg}{A hierarchical random graph model, in the form of an +\code{igraphHRG} object. \code{consensus_tree()} allows this to be +\code{NULL} as well, then a HRG is fitted to the graph first, from a +random starting point.} + +\item{start}{Logical, whether to start the fitting/sampling from the +supplied \code{igraphHRG} object, or from a random starting point.} + +\item{num.samples}{Number of samples to use for consensus generation or +missing edge prediction.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{hrg.consensus()} was renamed to \code{consensus_tree()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/hrg.create.Rd b/man/hrg.create.Rd new file mode 100644 index 00000000000..ea30cbe5aea --- /dev/null +++ b/man/hrg.create.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{hrg.create} +\alias{hrg.create} +\title{Create a hierarchical random graph from an igraph graph} +\usage{ +hrg.create(graph, prob) +} +\arguments{ +\item{graph}{The igraph graph to create the HRG from.} + +\item{prob}{A vector of probabilities, one for each vertex, in the order of +vertex ids.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{hrg.create()} was renamed to \code{hrg()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/hrg.dendrogram.Rd b/man/hrg.dendrogram.Rd new file mode 100644 index 00000000000..ebbee3ed77a --- /dev/null +++ b/man/hrg.dendrogram.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{hrg.dendrogram} +\alias{hrg.dendrogram} +\title{Create an igraph graph from a hierarchical random graph model} +\usage{ +hrg.dendrogram(hrg) +} +\arguments{ +\item{hrg}{A hierarchical random graph model.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{hrg.dendrogram()} was renamed to \code{hrg_tree()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/hrg.fit.Rd b/man/hrg.fit.Rd new file mode 100644 index 00000000000..0684aa26512 --- /dev/null +++ b/man/hrg.fit.Rd @@ -0,0 +1,29 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/hrg.R +\name{hrg.fit} +\alias{hrg.fit} +\title{Fit a hierarchical random graph model} +\usage{ +hrg.fit(graph, hrg = NULL, start = FALSE, steps = 0) +} +\arguments{ +\item{graph}{The graph to fit the model to. Edge directions are ignored in +directed graphs.} + +\item{hrg}{A hierarchical random graph model, in the form of an +\code{igraphHRG} object. \code{fit_hrg()} allows this to be \code{NULL}, in +which case a random starting point is used for the fitting.} + +\item{start}{Logical, whether to start the fitting/sampling from the +supplied \code{igraphHRG} object, or from a random starting point.} + +\item{steps}{The number of MCMC steps to make. If this is zero, then the +MCMC procedure is performed until convergence.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{hrg.fit()} was renamed to \code{fit_hrg()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/hrg.game.Rd b/man/hrg.game.Rd new file mode 100644 index 00000000000..d8f4a4f85bc --- /dev/null +++ b/man/hrg.game.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{hrg.game} +\alias{hrg.game} +\title{Sample from a hierarchical random graph model} +\usage{ +hrg.game(hrg) +} +\arguments{ +\item{hrg}{A hierarchical random graph model.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{hrg.game()} was renamed to \code{sample_hrg()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/hrg.predict.Rd b/man/hrg.predict.Rd new file mode 100644 index 00000000000..5a833edbfb2 --- /dev/null +++ b/man/hrg.predict.Rd @@ -0,0 +1,39 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/hrg.R +\name{hrg.predict} +\alias{hrg.predict} +\title{Predict edges based on a hierarchical random graph model} +\usage{ +hrg.predict( + graph, + hrg = NULL, + start = FALSE, + num.samples = 10000, + num.bins = 25 +) +} +\arguments{ +\item{graph}{The graph to fit the model to. Edge directions are ignored in +directed graphs.} + +\item{hrg}{A hierarchical random graph model, in the form of an +\code{igraphHRG} object. \code{predict_edges()} allow this to be +\code{NULL} as well, then a HRG is fitted to the graph first, from a +random starting point.} + +\item{start}{Logical, whether to start the fitting/sampling from the +supplied \code{igraphHRG} object, or from a random starting point.} + +\item{num.samples}{Number of samples to use for consensus generation or +missing edge prediction.} + +\item{num.bins}{Number of bins for the edge probabilities. Give a higher +number for a more accurate prediction.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{hrg.predict()} was renamed to \code{predict_edges()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/hub.score.Rd b/man/hub.score.Rd new file mode 100644 index 00000000000..53822e76652 --- /dev/null +++ b/man/hub.score.Rd @@ -0,0 +1,32 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/centrality.R +\name{hub.score} +\alias{hub.score} +\title{Kleinberg's hub and authority centrality scores.} +\usage{ +hub.score(graph, scale = TRUE, weights = NULL, options = arpack_defaults()) +} +\arguments{ +\item{graph}{The input graph.} + +\item{scale}{Logical scalar, whether to scale the result to have a maximum +score of one. If no scaling is used then the result vector has unit length +in the Euclidean norm.} + +\item{weights}{Optional positive weight vector for calculating weighted +scores. If the graph has a \code{weight} edge attribute, then this is used +by default. +This function interprets edge weights as connection strengths. In the +random surfer model, an edge with a larger weight is more likely to be +selected by the surfer.} + +\item{options}{A named list, to override some ARPACK options. See +\code{\link[=arpack]{arpack()}} for details.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{hub.score()} was renamed to \code{hub_score()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/hub_score.Rd b/man/hub_score.Rd index 133c5d677ee..7e583312a74 100644 --- a/man/hub_score.Rd +++ b/man/hub_score.Rd @@ -2,9 +2,7 @@ % Please edit documentation in R/centrality.R \name{hub_score} \alias{hub_score} -\alias{hub.score} \alias{authority_score} -\alias{authority.score} \title{Kleinberg's hub and authority centrality scores.} \usage{ hub_score(graph, scale = TRUE, weights = NULL, options = arpack_defaults()) diff --git a/man/igraph.console.Rd b/man/igraph.console.Rd new file mode 100644 index 00000000000..6b526fbe872 --- /dev/null +++ b/man/igraph.console.Rd @@ -0,0 +1,15 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/console.R +\name{igraph.console} +\alias{igraph.console} +\title{The igraph console} +\usage{ +igraph.console() +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{igraph.console()} was renamed to \code{console()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/igraph.from.graphNEL.Rd b/man/igraph.from.graphNEL.Rd new file mode 100644 index 00000000000..2731a8d70c1 --- /dev/null +++ b/man/igraph.from.graphNEL.Rd @@ -0,0 +1,30 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/conversion.R +\name{igraph.from.graphNEL} +\alias{igraph.from.graphNEL} +\title{Convert graphNEL objects from the graph package to igraph} +\usage{ +igraph.from.graphNEL(graphNEL, name = TRUE, weight = TRUE, unlist.attrs = TRUE) +} +\arguments{ +\item{graphNEL}{The graphNEL graph.} + +\item{name}{Logical scalar, whether to add graphNEL vertex names as an +igraph vertex attribute called \sQuote{\code{name}}.} + +\item{weight}{Logical scalar, whether to add graphNEL edge weights as an +igraph edge attribute called \sQuote{\code{weight}}. (graphNEL graphs are +always weighted.)} + +\item{unlist.attrs}{Logical scalar. graphNEL attribute query functions +return the values of the attributes in R lists, if this argument is +\code{TRUE} (the default) these will be converted to atomic vectors, +whenever possible, before adding them to the igraph graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{igraph.from.graphNEL()} was renamed to \code{graph_from_graphnel()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/igraph.options.Rd b/man/igraph.options.Rd new file mode 100644 index 00000000000..2dcb1ded5a6 --- /dev/null +++ b/man/igraph.options.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/par.R +\name{igraph.options} +\alias{igraph.options} +\title{Parameters for the igraph package} +\usage{ +igraph.options(...) +} +\arguments{ +\item{...}{A list may be given as the only argument, or any number of +arguments may be in the \code{name=value} form, or no argument at all may be +given. See the Value and Details sections for explanation.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{igraph.options()} was renamed to \code{igraph_options()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/igraph.sample.Rd b/man/igraph.sample.Rd new file mode 100644 index 00000000000..7b9b6a3ab8e --- /dev/null +++ b/man/igraph.sample.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/other.R +\name{igraph.sample} +\alias{igraph.sample} +\title{Sampling a random integer sequence} +\usage{ +igraph.sample(low, high, length) +} +\arguments{ +\item{low}{The lower limit of the interval (inclusive).} + +\item{high}{The higher limit of the interval (inclusive).} + +\item{length}{The length of the sample.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{igraph.sample()} was renamed to \code{sample_seq()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/igraph.shape.noclip.Rd b/man/igraph.shape.noclip.Rd new file mode 100644 index 00000000000..56b7a86d522 --- /dev/null +++ b/man/igraph.shape.noclip.Rd @@ -0,0 +1,15 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/plot.shapes.R +\name{igraph.shape.noclip} +\alias{igraph.shape.noclip} +\title{Various vertex shapes when plotting igraph graphs} +\usage{ +igraph.shape.noclip(coords, el, params, end = c("both", "from", "to")) +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{igraph.shape.noclip()} was renamed to \code{shape_noclip()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/igraph.shape.noplot.Rd b/man/igraph.shape.noplot.Rd new file mode 100644 index 00000000000..d824ee3df31 --- /dev/null +++ b/man/igraph.shape.noplot.Rd @@ -0,0 +1,15 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/plot.shapes.R +\name{igraph.shape.noplot} +\alias{igraph.shape.noplot} +\title{Various vertex shapes when plotting igraph graphs} +\usage{ +igraph.shape.noplot(coords, v = NULL, params) +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{igraph.shape.noplot()} was renamed to \code{shape_noplot()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/igraph.to.graphNEL.Rd b/man/igraph.to.graphNEL.Rd new file mode 100644 index 00000000000..7825b1e4563 --- /dev/null +++ b/man/igraph.to.graphNEL.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/conversion.R +\name{igraph.to.graphNEL} +\alias{igraph.to.graphNEL} +\title{Convert igraph graphs to graphNEL objects from the graph package} +\usage{ +igraph.to.graphNEL(graph) +} +\arguments{ +\item{graph}{An igraph graph object.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{igraph.to.graphNEL()} was renamed to \code{as_graphnel()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/igraph.version.Rd b/man/igraph.version.Rd new file mode 100644 index 00000000000..672971579b7 --- /dev/null +++ b/man/igraph.version.Rd @@ -0,0 +1,15 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/test.R +\name{igraph.version} +\alias{igraph.version} +\title{Query igraph's version string} +\usage{ +igraph.version() +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{igraph.version()} was renamed to \code{igraph_version()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/igraph_demo.Rd b/man/igraph_demo.Rd index 652add7f60d..65277fd0d0b 100644 --- a/man/igraph_demo.Rd +++ b/man/igraph_demo.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/demo.R \name{igraph_demo} \alias{igraph_demo} -\alias{igraphdemo} \title{Run igraph demos, step by step} \usage{ igraph_demo(which) diff --git a/man/igraph_options.Rd b/man/igraph_options.Rd index 9c8797979a8..4c75852c87d 100644 --- a/man/igraph_options.Rd +++ b/man/igraph_options.Rd @@ -2,8 +2,6 @@ % Please edit documentation in R/par.R \name{igraph_options} \alias{igraph_options} -\alias{igraph.options} -\alias{getIgraphOpt} \alias{igraph_opt} \title{Parameters for the igraph package} \usage{ diff --git a/man/igraph_test.Rd b/man/igraph_test.Rd index 0dbfcb98c9c..e3c3bb08a2c 100644 --- a/man/igraph_test.Rd +++ b/man/igraph_test.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/test.R \name{igraph_test} \alias{igraph_test} -\alias{igraphtest} \title{Run package tests} \usage{ igraph_test() diff --git a/man/igraph_version.Rd b/man/igraph_version.Rd index 352814e5705..66d3a766239 100644 --- a/man/igraph_version.Rd +++ b/man/igraph_version.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/test.R \name{igraph_version} \alias{igraph_version} -\alias{igraph.version} \title{Query igraph's version string} \usage{ igraph_version() diff --git a/man/igraphdemo.Rd b/man/igraphdemo.Rd new file mode 100644 index 00000000000..a03b308fd12 --- /dev/null +++ b/man/igraphdemo.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/demo.R +\name{igraphdemo} +\alias{igraphdemo} +\title{Run igraph demos, step by step} +\usage{ +igraphdemo(which) +} +\arguments{ +\item{which}{If not given, then the names of the available demos are listed. +Otherwise it should be either a filename or the name of an igraph demo.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{igraphdemo()} was renamed to \code{igraph_demo()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/igraphtest.Rd b/man/igraphtest.Rd new file mode 100644 index 00000000000..e9d2c666071 --- /dev/null +++ b/man/igraphtest.Rd @@ -0,0 +1,15 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/test.R +\name{igraphtest} +\alias{igraphtest} +\title{Run package tests} +\usage{ +igraphtest() +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{igraphtest()} was renamed to \code{igraph_test()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/independence.number.Rd b/man/independence.number.Rd new file mode 100644 index 00000000000..0c31fbea555 --- /dev/null +++ b/man/independence.number.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/cliques.R +\name{independence.number} +\alias{independence.number} +\title{Independent vertex sets} +\usage{ +independence.number(graph) +} +\arguments{ +\item{graph}{The input graph, directed graphs are considered as undirected, +loop edges and multiple edges are ignored.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{independence.number()} was renamed to \code{ivs_size()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/independent.vertex.sets.Rd b/man/independent.vertex.sets.Rd new file mode 100644 index 00000000000..c1c2b5f3007 --- /dev/null +++ b/man/independent.vertex.sets.Rd @@ -0,0 +1,25 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/cliques.R +\name{independent.vertex.sets} +\alias{independent.vertex.sets} +\title{Independent vertex sets} +\usage{ +independent.vertex.sets(graph, min = NULL, max = NULL) +} +\arguments{ +\item{graph}{The input graph, directed graphs are considered as undirected, +loop edges and multiple edges are ignored.} + +\item{min}{Numeric constant, limit for the minimum size of the independent +vertex sets to find. \code{NULL} means no limit.} + +\item{max}{Numeric constant, limit for the maximum size of the independent +vertex sets to find. \code{NULL} means no limit.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{independent.vertex.sets()} was renamed to \code{ivs()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/induced.subgraph.Rd b/man/induced.subgraph.Rd new file mode 100644 index 00000000000..2c976ca6c70 --- /dev/null +++ b/man/induced.subgraph.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{induced.subgraph} +\alias{induced.subgraph} +\title{Subgraph of a graph} +\usage{ +induced.subgraph( + graph, + vids, + impl = c("auto", "copy_and_delete", "create_from_scratch") +) +} +\arguments{ +\item{graph}{The original graph.} + +\item{vids}{Numeric vector, the vertices of the original graph which will +form the subgraph.} + +\item{impl}{Character scalar, to choose between two implementation of the +subgraph calculation. \sQuote{\code{copy_and_delete}} copies the graph +first, and then deletes the vertices and edges that are not included in the +result graph. \sQuote{\code{create_from_scratch}} searches for all vertices +and edges that must be kept and then uses them to create the graph from +scratch. \sQuote{\code{auto}} chooses between the two implementations +automatically, using heuristics based on the size of the original and the +result graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{induced.subgraph()} was renamed to \code{induced_subgraph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/infomap.community.Rd b/man/infomap.community.Rd new file mode 100644 index 00000000000..ad91b0419e0 --- /dev/null +++ b/man/infomap.community.Rd @@ -0,0 +1,43 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{infomap.community} +\alias{infomap.community} +\title{Infomap community finding} +\usage{ +infomap.community( + graph, + e.weights = NULL, + v.weights = NULL, + nb.trials = 10, + modularity = TRUE +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{e.weights}{If not \code{NULL}, then a numeric vector of edge weights. +The length must match the number of edges in the graph. By default the +\sQuote{\code{weight}} edge attribute is used as weights. If it is not +present, then all edges are considered to have the same weight. +Larger edge weights correspond to stronger connections.} + +\item{v.weights}{If not \code{NULL}, then a numeric vector of vertex +weights. The length must match the number of vertices in the graph. By +default the \sQuote{\code{weight}} vertex attribute is used as weights. If +it is not present, then all vertices are considered to have the same weight. +A larger vertex weight means a larger probability that the random surfer +jumps to that vertex.} + +\item{nb.trials}{The number of attempts to partition the network (can be any +integer value equal or larger than 1).} + +\item{modularity}{Logical scalar, whether to calculate the modularity score +of the detected community structure.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{infomap.community()} was renamed to \code{cluster_infomap()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/interconnected.islands.game.Rd b/man/interconnected.islands.game.Rd new file mode 100644 index 00000000000..48c1209c8e5 --- /dev/null +++ b/man/interconnected.islands.game.Rd @@ -0,0 +1,25 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{interconnected.islands.game} +\alias{interconnected.islands.game} +\title{A graph with subgraphs that are each a random graph.} +\usage{ +interconnected.islands.game(islands.n, islands.size, islands.pin, n.inter) +} +\arguments{ +\item{islands.n}{The number of islands in the graph.} + +\item{islands.size}{The size of islands in the graph.} + +\item{islands.pin}{The probability to create each possible edge into each +island.} + +\item{n.inter}{The number of edges to create between two islands.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{interconnected.islands.game()} was renamed to \code{sample_islands()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/intersection.igraph.Rd b/man/intersection.igraph.Rd index dc9c688975f..a0b861b516f 100644 --- a/man/intersection.igraph.Rd +++ b/man/intersection.igraph.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/operators.R \name{intersection.igraph} \alias{intersection.igraph} -\alias{graph.intersection} \alias{\%s\%} \title{Intersection of graphs} \usage{ diff --git a/man/is.bipartite.Rd b/man/is.bipartite.Rd new file mode 100644 index 00000000000..ab0257badc7 --- /dev/null +++ b/man/is.bipartite.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/attributes.R +\name{is.bipartite} +\alias{is.bipartite} +\title{Create a bipartite graph} +\usage{ +is.bipartite(graph) +} +\arguments{ +\item{graph}{The input graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.bipartite()} was renamed to \code{is_bipartite()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.chordal.Rd b/man/is.chordal.Rd new file mode 100644 index 00000000000..d11da484157 --- /dev/null +++ b/man/is.chordal.Rd @@ -0,0 +1,38 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/decomposition.R +\name{is.chordal} +\alias{is.chordal} +\title{Chordality of a graph} +\usage{ +is.chordal( + graph, + alpha = NULL, + alpham1 = NULL, + fillin = FALSE, + newgraph = FALSE +) +} +\arguments{ +\item{graph}{The input graph. It may be directed, but edge directions are +ignored, as the algorithm is defined for undirected graphs.} + +\item{alpha}{Numeric vector, the maximal chardinality ordering of the +vertices. If it is \code{NULL}, then it is automatically calculated by +calling \code{\link[=max_cardinality]{max_cardinality()}}, or from \code{alpham1} if +that is given..} + +\item{alpham1}{Numeric vector, the inverse of \code{alpha}. If it is +\code{NULL}, then it is automatically calculated by calling +\code{\link[=max_cardinality]{max_cardinality()}}, or from \code{alpha}.} + +\item{fillin}{Logical scalar, whether to calculate the fill-in edges.} + +\item{newgraph}{Logical scalar, whether to calculate the triangulated graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.chordal()} was renamed to \code{is_chordal()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.connected.Rd b/man/is.connected.Rd new file mode 100644 index 00000000000..dce9d1b3014 --- /dev/null +++ b/man/is.connected.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{is.connected} +\alias{is.connected} +\title{Connected components of a graph} +\usage{ +is.connected(graph, mode = c("weak", "strong")) +} +\arguments{ +\item{graph}{The graph to analyze.} + +\item{mode}{Character string, either \dQuote{weak} or \dQuote{strong}. For +directed graphs \dQuote{weak} implies weakly, \dQuote{strong} strongly +connected components to search. It is ignored for undirected graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.connected()} was renamed to \code{is_connected()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.dag.Rd b/man/is.dag.Rd new file mode 100644 index 00000000000..52a4f295ea6 --- /dev/null +++ b/man/is.dag.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{is.dag} +\alias{is.dag} +\title{Directed acyclic graphs} +\usage{ +is.dag(graph) +} +\arguments{ +\item{graph}{The input graph. It may be undirected, in which case +\code{FALSE} is reported.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.dag()} was renamed to \code{is_dag()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.degree.sequence.Rd b/man/is.degree.sequence.Rd new file mode 100644 index 00000000000..a094c08539e --- /dev/null +++ b/man/is.degree.sequence.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/degseq.R +\name{is.degree.sequence} +\alias{is.degree.sequence} +\title{Check if a degree sequence is valid for a multi-graph} +\usage{ +is.degree.sequence(out.deg, in.deg = NULL) +} +\arguments{ +\item{out.deg}{Integer vector, the degree sequence for undirected graphs, or +the out-degree sequence for directed graphs.} + +\item{in.deg}{\code{NULL} or an integer vector. For undirected graphs, it +should be \code{NULL}. For directed graphs it specifies the in-degrees.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.degree.sequence()} was renamed to \code{is_degseq()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.directed.Rd b/man/is.directed.Rd new file mode 100644 index 00000000000..6504ec7b979 --- /dev/null +++ b/man/is.directed.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/interface.R +\name{is.directed} +\alias{is.directed} +\title{Check whether a graph is directed} +\usage{ +is.directed(graph) +} +\arguments{ +\item{graph}{The input graph} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.directed()} was renamed to \code{is_directed()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.graphical.degree.sequence.Rd b/man/is.graphical.degree.sequence.Rd new file mode 100644 index 00000000000..7e9dce5865c --- /dev/null +++ b/man/is.graphical.degree.sequence.Rd @@ -0,0 +1,33 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{is.graphical.degree.sequence} +\alias{is.graphical.degree.sequence} +\title{Is a degree sequence graphical?} +\usage{ +is.graphical.degree.sequence( + out.deg, + in.deg = NULL, + allowed.edge.types = c("simple", "loops", "multi", "all") +) +} +\arguments{ +\item{out.deg}{Integer vector, the degree sequence for undirected graphs, or +the out-degree sequence for directed graphs.} + +\item{in.deg}{\code{NULL} or an integer vector. For undirected graphs, it +should be \code{NULL}. For directed graphs it specifies the in-degrees.} + +\item{allowed.edge.types}{The allowed edge types in the graph. \sQuote{simple} +means that neither loop nor multiple edges are allowed (i.e. the graph must be +simple). \sQuote{loops} means that loop edges are allowed but mutiple edges +are not. \sQuote{multi} means that multiple edges are allowed but loop edges +are not. \sQuote{all} means that both loop edges and multiple edges are +allowed.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.graphical.degree.sequence()} was renamed to \code{is_graphical()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.hierarchical.Rd b/man/is.hierarchical.Rd new file mode 100644 index 00000000000..585e656a36c --- /dev/null +++ b/man/is.hierarchical.Rd @@ -0,0 +1,15 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{is.hierarchical} +\alias{is.hierarchical} +\title{Functions to deal with the result of network community detection} +\usage{ +is.hierarchical(communities) +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.hierarchical()} was renamed to \code{is_hierarchical()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.igraph.Rd b/man/is.igraph.Rd new file mode 100644 index 00000000000..53d26bbb24d --- /dev/null +++ b/man/is.igraph.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/basic.R +\name{is.igraph} +\alias{is.igraph} +\title{Is this object an igraph graph?} +\usage{ +is.igraph(graph) +} +\arguments{ +\item{graph}{An R object.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.igraph()} was renamed to \code{is_igraph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.loop.Rd b/man/is.loop.Rd new file mode 100644 index 00000000000..78e6ccdf91e --- /dev/null +++ b/man/is.loop.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{is.loop} +\alias{is.loop} +\title{Find the multiple or loop edges in a graph} +\usage{ +is.loop(graph, eids = E(graph)) +} +\arguments{ +\item{graph}{The input graph.} + +\item{eids}{The edges to which the query is restricted. By default this is +all edges in the graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.loop()} was renamed to \code{which_loop()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.matching.Rd b/man/is.matching.Rd new file mode 100644 index 00000000000..5e40ababaa8 --- /dev/null +++ b/man/is.matching.Rd @@ -0,0 +1,26 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{is.matching} +\alias{is.matching} +\title{Matching} +\usage{ +is.matching(graph, matching, types = NULL) +} +\arguments{ +\item{graph}{The input graph. It might be directed, but edge directions will +be ignored.} + +\item{matching}{A potential matching. An integer vector that gives the +pair in the matching for each vertex. For vertices without a pair, +supply \code{NA} here.} + +\item{types}{Vertex types, if the graph is bipartite. By default they +are taken from the \sQuote{\code{type}} vertex attribute, if present.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.matching()} was renamed to \code{is_matching()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.maximal.matching.Rd b/man/is.maximal.matching.Rd new file mode 100644 index 00000000000..23ae1a509e7 --- /dev/null +++ b/man/is.maximal.matching.Rd @@ -0,0 +1,26 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{is.maximal.matching} +\alias{is.maximal.matching} +\title{Matching} +\usage{ +is.maximal.matching(graph, matching, types = NULL) +} +\arguments{ +\item{graph}{The input graph. It might be directed, but edge directions will +be ignored.} + +\item{matching}{A potential matching. An integer vector that gives the +pair in the matching for each vertex. For vertices without a pair, +supply \code{NA} here.} + +\item{types}{Vertex types, if the graph is bipartite. By default they +are taken from the \sQuote{\code{type}} vertex attribute, if present.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.maximal.matching()} was renamed to \code{is_max_matching()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.minimal.separator.Rd b/man/is.minimal.separator.Rd new file mode 100644 index 00000000000..b2e39eabe1e --- /dev/null +++ b/man/is.minimal.separator.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{is.minimal.separator} +\alias{is.minimal.separator} +\title{Minimal vertex separators} +\usage{ +is.minimal.separator(graph, candidate) +} +\arguments{ +\item{graph}{The input graph. It may be directed, but edge directions are +ignored.} + +\item{candidate}{A numeric vector giving the vertex ids of the candidate +separator.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.minimal.separator()} was renamed to \code{is_min_separator()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.multiple.Rd b/man/is.multiple.Rd new file mode 100644 index 00000000000..abe7eba5230 --- /dev/null +++ b/man/is.multiple.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{is.multiple} +\alias{is.multiple} +\title{Find the multiple or loop edges in a graph} +\usage{ +is.multiple(graph, eids = E(graph)) +} +\arguments{ +\item{graph}{The input graph.} + +\item{eids}{The edges to which the query is restricted. By default this is +all edges in the graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.multiple()} was renamed to \code{which_multiple()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.mutual.Rd b/man/is.mutual.Rd new file mode 100644 index 00000000000..511b56da76f --- /dev/null +++ b/man/is.mutual.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{is.mutual} +\alias{is.mutual} +\title{Find mutual edges in a directed graph} +\usage{ +is.mutual(graph, eids = E(graph)) +} +\arguments{ +\item{graph}{The input graph.} + +\item{eids}{Edge sequence, the edges that will be probed. By default is +includes all edges in the order of their ids.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.mutual()} was renamed to \code{which_mutual()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.named.Rd b/man/is.named.Rd new file mode 100644 index 00000000000..f46cbcac029 --- /dev/null +++ b/man/is.named.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/attributes.R +\name{is.named} +\alias{is.named} +\title{Named graphs} +\usage{ +is.named(graph) +} +\arguments{ +\item{graph}{The input graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.named()} was renamed to \code{is_named()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.separator.Rd b/man/is.separator.Rd new file mode 100644 index 00000000000..290162920bd --- /dev/null +++ b/man/is.separator.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{is.separator} +\alias{is.separator} +\title{Vertex separators} +\usage{ +is.separator(graph, candidate) +} +\arguments{ +\item{graph}{The input graph. It may be directed, but edge directions are +ignored.} + +\item{candidate}{A numeric vector giving the vertex ids of the candidate +separator.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.separator()} was renamed to \code{is_separator()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.simple.Rd b/man/is.simple.Rd new file mode 100644 index 00000000000..1159f56348f --- /dev/null +++ b/man/is.simple.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{is.simple} +\alias{is.simple} +\title{Simple graphs} +\usage{ +is.simple(graph) +} +\arguments{ +\item{graph}{The graph to work on.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.simple()} was renamed to \code{is_simple()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is.weighted.Rd b/man/is.weighted.Rd new file mode 100644 index 00000000000..28099ed6ce2 --- /dev/null +++ b/man/is.weighted.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/attributes.R +\name{is.weighted} +\alias{is.weighted} +\title{Weighted graphs} +\usage{ +is.weighted(graph) +} +\arguments{ +\item{graph}{The input graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{is.weighted()} was renamed to \code{is_weighted()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/is_chordal.Rd b/man/is_chordal.Rd index 576094a3deb..35d8a3f0c7b 100644 --- a/man/is_chordal.Rd +++ b/man/is_chordal.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/decomposition.R \name{is_chordal} \alias{is_chordal} -\alias{is.chordal} \title{Chordality of a graph} \usage{ is_chordal( diff --git a/man/is_dag.Rd b/man/is_dag.Rd index d64ec94edc9..7504e4ae01c 100644 --- a/man/is_dag.Rd +++ b/man/is_dag.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/paths.R \name{is_dag} \alias{is_dag} -\alias{is.dag} \title{Directed acyclic graphs} \usage{ is_dag(graph) diff --git a/man/is_degseq.Rd b/man/is_degseq.Rd index 403d7f058fa..0e5d8708b1c 100644 --- a/man/is_degseq.Rd +++ b/man/is_degseq.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/degseq.R \name{is_degseq} \alias{is_degseq} -\alias{is.degree.sequence} \title{Check if a degree sequence is valid for a multi-graph} \usage{ is_degseq(out.deg, in.deg = NULL) diff --git a/man/is_directed.Rd b/man/is_directed.Rd index 6ca6d94ddea..86c612636c5 100644 --- a/man/is_directed.Rd +++ b/man/is_directed.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/interface.R \name{is_directed} \alias{is_directed} -\alias{is.directed} \title{Check whether a graph is directed} \usage{ is_directed(graph) diff --git a/man/is_graphical.Rd b/man/is_graphical.Rd index faa2ba2dccd..bdbdc81464d 100644 --- a/man/is_graphical.Rd +++ b/man/is_graphical.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/degseq.R \name{is_graphical} \alias{is_graphical} -\alias{is.graphical.degree.sequence} \title{Is a degree sequence graphical?} \usage{ is_graphical( diff --git a/man/is_igraph.Rd b/man/is_igraph.Rd index a606e212907..798a29ab267 100644 --- a/man/is_igraph.Rd +++ b/man/is_igraph.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/basic.R \name{is_igraph} \alias{is_igraph} -\alias{is.igraph} \title{Is this object an igraph graph?} \usage{ is_igraph(graph) diff --git a/man/is_min_separator.Rd b/man/is_min_separator.Rd index 93cb3d62207..00714c7c96f 100644 --- a/man/is_min_separator.Rd +++ b/man/is_min_separator.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/flow.R \name{is_min_separator} \alias{is_min_separator} -\alias{is.minimal.separator} \title{Minimal vertex separators} \usage{ is_min_separator(graph, candidate) diff --git a/man/is_named.Rd b/man/is_named.Rd index 07096304a3b..1b409257b93 100644 --- a/man/is_named.Rd +++ b/man/is_named.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/attributes.R \name{is_named} \alias{is_named} -\alias{is.named} \title{Named graphs} \usage{ is_named(graph) diff --git a/man/is_separator.Rd b/man/is_separator.Rd index 086d0312a80..45b4d84ae32 100644 --- a/man/is_separator.Rd +++ b/man/is_separator.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/flow.R \name{is_separator} \alias{is_separator} -\alias{is.separator} \title{Vertex separators} \usage{ is_separator(graph, candidate) diff --git a/man/is_weighted.Rd b/man/is_weighted.Rd index 7c93881b58a..3f35b29936f 100644 --- a/man/is_weighted.Rd +++ b/man/is_weighted.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/attributes.R \name{is_weighted} \alias{is_weighted} -\alias{is.weighted} \title{Weighted graphs} \usage{ is_weighted(graph) diff --git a/man/ivs.Rd b/man/ivs.Rd index a8dd5500694..ef9c3c443c5 100644 --- a/man/ivs.Rd +++ b/man/ivs.Rd @@ -2,10 +2,6 @@ % Please edit documentation in R/cliques.R \name{ivs} \alias{ivs} -\alias{independent.vertex.sets} -\alias{largest.independent.vertex.sets} -\alias{maximal.independent.vertex.sets} -\alias{independence.number} \alias{largest_ivs} \alias{maximal_ivs} \alias{ivs_size} diff --git a/man/k.regular.game.Rd b/man/k.regular.game.Rd new file mode 100644 index 00000000000..c6899bc1535 --- /dev/null +++ b/man/k.regular.game.Rd @@ -0,0 +1,26 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{k.regular.game} +\alias{k.regular.game} +\title{Create a random regular graph} +\usage{ +k.regular.game(no.of.nodes, k, directed = FALSE, multiple = FALSE) +} +\arguments{ +\item{no.of.nodes}{Integer scalar, the number of vertices in the generated +graph.} + +\item{k}{Integer scalar, the degree of each vertex in the graph, or the +out-degree and in-degree in a directed graph.} + +\item{directed}{Logical scalar, whether to create a directed graph.} + +\item{multiple}{Logical scalar, whether multiple edges are allowed.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{k.regular.game()} was renamed to \code{sample_k_regular()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/knn.Rd b/man/knn.Rd index e7e4c93d4c4..e3c1d935cba 100644 --- a/man/knn.Rd +++ b/man/knn.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/structural.properties.R \name{knn} \alias{knn} -\alias{graph.knn} \title{Average nearest neighbor degree} \usage{ knn( diff --git a/man/label.propagation.community.Rd b/man/label.propagation.community.Rd new file mode 100644 index 00000000000..e92f653d50f --- /dev/null +++ b/man/label.propagation.community.Rd @@ -0,0 +1,43 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{label.propagation.community} +\alias{label.propagation.community} +\title{Finding communities based on propagating labels} +\usage{ +label.propagation.community( + graph, + weights = NULL, + ..., + initial = NULL, + fixed = NULL +) +} +\arguments{ +\item{graph}{The input graph, should be undirected to make sense.} + +\item{weights}{The weights of the edges. It must be a positive numeric vector, +\code{NULL} or \code{NA}. If it is \code{NULL} and the input graph has a +\sQuote{weight} edge attribute, then that attribute will be used. If +\code{NULL} and no such attribute is present, then the edges will have equal +weights. Set this to \code{NA} if the graph was a \sQuote{weight} edge +attribute, but you don't want to use it for community detection. A larger +edge weight means a stronger connection for this function.} + +\item{...}{These dots are for future extensions and must be empty.} + +\item{initial}{The initial state. If \code{NULL}, every vertex will have a +different label at the beginning. Otherwise it must be a vector with an +entry for each vertex. Non-negative values denote different labels, negative +entries denote vertices without labels.} + +\item{fixed}{Logical vector denoting which labels are fixed. Of course this +makes sense only if you provided an initial state, otherwise this element +will be ignored. Also note that vertices without labels cannot be fixed.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{label.propagation.community()} was renamed to \code{cluster_label_prop()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/laplacian_matrix.Rd b/man/laplacian_matrix.Rd index a6b85082cbb..80eb155615d 100644 --- a/man/laplacian_matrix.Rd +++ b/man/laplacian_matrix.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/structural.properties.R \name{laplacian_matrix} \alias{laplacian_matrix} -\alias{graph.laplacian} \title{Graph Laplacian} \usage{ laplacian_matrix( diff --git a/man/largest.cliques.Rd b/man/largest.cliques.Rd new file mode 100644 index 00000000000..6ab42d96759 --- /dev/null +++ b/man/largest.cliques.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{largest.cliques} +\alias{largest.cliques} +\title{Functions to find cliques, i.e. complete subgraphs in a graph} +\usage{ +largest.cliques(graph) +} +\arguments{ +\item{graph}{The input graph, directed graphs will be considered as +undirected ones, multiple edges and loops are ignored.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{largest.cliques()} was renamed to \code{largest_cliques()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/largest.independent.vertex.sets.Rd b/man/largest.independent.vertex.sets.Rd new file mode 100644 index 00000000000..384fd15f547 --- /dev/null +++ b/man/largest.independent.vertex.sets.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/cliques.R +\name{largest.independent.vertex.sets} +\alias{largest.independent.vertex.sets} +\title{Independent vertex sets} +\usage{ +largest.independent.vertex.sets(graph) +} +\arguments{ +\item{graph}{The input graph, directed graphs are considered as undirected, +loop edges and multiple edges are ignored.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{largest.independent.vertex.sets()} was renamed to \code{largest_ivs()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/lastcit.game.Rd b/man/lastcit.game.Rd new file mode 100644 index 00000000000..eb3964a0aab --- /dev/null +++ b/man/lastcit.game.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{lastcit.game} +\alias{lastcit.game} +\title{Random citation graphs} +\usage{ +lastcit.game( + n, + edges = 1, + agebins = n/7100, + pref = (1:(agebins + 1))^-3, + directed = TRUE +) +} +\arguments{ +\item{n}{Number of vertices.} + +\item{edges}{Number of edges per step.} + +\item{agebins}{Number of aging bins.} + +\item{pref}{Vector (\code{sample_last_cit()} and \code{sample_cit_types()} or +matrix (\code{sample_cit_cit_types()}) giving the (unnormalized) citation +probabilities for the different vertex types.} + +\item{directed}{Logical scalar, whether to generate directed networks.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{lastcit.game()} was renamed to \code{sample_last_cit()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/layout.auto.Rd b/man/layout.auto.Rd new file mode 100644 index 00000000000..a95c4e0b3b4 --- /dev/null +++ b/man/layout.auto.Rd @@ -0,0 +1,24 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/layout.R +\name{layout.auto} +\alias{layout.auto} +\title{Choose an appropriate graph layout algorithm automatically} +\usage{ +layout.auto(graph, dim = 2, ...) +} +\arguments{ +\item{graph}{The input graph} + +\item{dim}{Dimensions, should be 2 or 3.} + +\item{...}{For \code{layout_nicely()} the extra arguments are passed to +the real layout function. For \code{nicely()} all argument are passed to +\code{layout_nicely()}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{layout.auto()} was renamed to \code{layout_nicely()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/layout.bipartite.Rd b/man/layout.bipartite.Rd new file mode 100644 index 00000000000..ae9bc139b69 --- /dev/null +++ b/man/layout.bipartite.Rd @@ -0,0 +1,33 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/layout.R +\name{layout.bipartite} +\alias{layout.bipartite} +\title{Simple two-row layout for bipartite graphs} +\usage{ +layout.bipartite(graph, types = NULL, hgap = 1, vgap = 1, maxiter = 100) +} +\arguments{ +\item{graph}{The bipartite input graph. It should have a logical +\sQuote{\code{type}} vertex attribute, or the \code{types} argument must be +given.} + +\item{types}{A logical vector, the vertex types. If this argument is +\code{NULL} (the default), then the \sQuote{\code{type}} vertex attribute is +used.} + +\item{hgap}{Real scalar, the minimum horizontal gap between vertices in the +same layer.} + +\item{vgap}{Real scalar, the distance between the two layers.} + +\item{maxiter}{Integer scalar, the maximum number of iterations in the +crossing minimization stage. 100 is a reasonable default; if you feel that +you have too many edge crossings, increase this.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{layout.bipartite()} was renamed to \code{layout_as_bipartite()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/layout.davidson.harel.Rd b/man/layout.davidson.harel.Rd new file mode 100644 index 00000000000..c961a4cd8d2 --- /dev/null +++ b/man/layout.davidson.harel.Rd @@ -0,0 +1,55 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/layout.R +\name{layout.davidson.harel} +\alias{layout.davidson.harel} +\title{The Davidson-Harel layout algorithm} +\usage{ +layout.davidson.harel( + graph, + coords = NULL, + maxiter = 10, + fineiter = max(10, log2(vcount(graph))), + cool.fact = 0.75, + weight.node.dist = 1, + weight.border = 0, + weight.edge.lengths = edge_density(graph)/10, + weight.edge.crossings = 1 - sqrt(edge_density(graph)), + weight.node.edge.dist = 0.2 * (1 - edge_density(graph)) +) +} +\arguments{ +\item{graph}{The graph to lay out. Edge directions are ignored.} + +\item{coords}{Optional starting positions for the vertices. If this argument +is not \code{NULL} then it should be an appropriate matrix of starting +coordinates.} + +\item{maxiter}{Number of iterations to perform in the first phase.} + +\item{fineiter}{Number of iterations in the fine tuning phase.} + +\item{cool.fact}{Cooling factor.} + +\item{weight.node.dist}{Weight for the node-node distances component of the +energy function.} + +\item{weight.border}{Weight for the distance from the border component of +the energy function. It can be set to zero, if vertices are allowed to sit +on the border.} + +\item{weight.edge.lengths}{Weight for the edge length component of the +energy function.} + +\item{weight.edge.crossings}{Weight for the edge crossing component of the +energy function.} + +\item{weight.node.edge.dist}{Weight for the node-edge distance component of +the energy function.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{layout.davidson.harel()} was renamed to \code{layout_with_dh()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/layout.drl.Rd b/man/layout.drl.Rd new file mode 100644 index 00000000000..6ebc75bcff1 --- /dev/null +++ b/man/layout.drl.Rd @@ -0,0 +1,47 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/layout_drl.R +\name{layout.drl} +\alias{layout.drl} +\title{The DrL graph layout generator} +\usage{ +layout.drl( + graph, + use.seed = FALSE, + seed = matrix(runif(vcount(graph) * 2), ncol = 2), + options = drl_defaults$default, + weights = NULL, + dim = 2 +) +} +\arguments{ +\item{graph}{The input graph, in can be directed or undirected.} + +\item{use.seed}{Logical scalar, whether to use the coordinates given in the +\code{seed} argument as a starting point.} + +\item{seed}{A matrix with two columns, the starting coordinates for the +vertices is \code{use.seed} is \code{TRUE}. It is ignored otherwise.} + +\item{options}{Options for the layout generator, a named list. See details +below.} + +\item{weights}{The weights of the edges. It must be a positive numeric vector, +\code{NULL} or \code{NA}. If it is \code{NULL} and the input graph has a +\sQuote{weight} edge attribute, then that attribute will be used. If +\code{NULL} and no such attribute is present, then the edges will have equal +weights. Set this to \code{NA} if the graph was a \sQuote{weight} edge +attribute, but you don't want to use it for the layout. Larger edge weights +correspond to stronger connections.} + +\item{dim}{Either \sQuote{2} or \sQuote{3}, it specifies whether we want a +two dimensional or a three dimensional layout. Note that because of the +nature of the DrL algorithm, the three dimensional layout takes +significantly longer to compute.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{layout.drl()} was renamed to \code{layout_with_drl()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/layout.gem.Rd b/man/layout.gem.Rd new file mode 100644 index 00000000000..a53adc0ca87 --- /dev/null +++ b/man/layout.gem.Rd @@ -0,0 +1,44 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/layout.R +\name{layout.gem} +\alias{layout.gem} +\title{The GEM layout algorithm} +\usage{ +layout.gem( + graph, + coords = NULL, + maxiter = 40 * vcount(graph)^2, + temp.max = max(vcount(graph), 1), + temp.min = 1/10, + temp.init = sqrt(max(vcount(graph), 1)) +) +} +\arguments{ +\item{graph}{The input graph. Edge directions are ignored.} + +\item{coords}{If not \code{NULL}, then the starting coordinates should be +given here, in a two or three column matrix, depending on the \code{dim} +argument.} + +\item{maxiter}{The maximum number of iterations to perform. Updating a +single vertex counts as an iteration. A reasonable default is 40 * n * n, +where n is the number of vertices. The original paper suggests 4 * n * n, +but this usually only works if the other parameters are set up carefully.} + +\item{temp.max}{The maximum allowed local temperature. A reasonable default +is the number of vertices.} + +\item{temp.min}{The global temperature at which the algorithm terminates +(even before reaching \code{maxiter} iterations). A reasonable default is +1/10.} + +\item{temp.init}{Initial local temperature of all vertices. A reasonable +default is the square root of the number of vertices.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{layout.gem()} was renamed to \code{layout_with_gem()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/layout.graphopt.Rd b/man/layout.graphopt.Rd new file mode 100644 index 00000000000..05bd52f4bc9 --- /dev/null +++ b/man/layout.graphopt.Rd @@ -0,0 +1,52 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/layout.R +\name{layout.graphopt} +\alias{layout.graphopt} +\title{The graphopt layout algorithm} +\usage{ +layout.graphopt( + graph, + start = NULL, + niter = 500, + charge = 0.001, + mass = 30, + spring.length = 0, + spring.constant = 1, + max.sa.movement = 5 +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{start}{If given, then it should be a matrix with two columns and one +line for each vertex. This matrix will be used as starting positions for the +algorithm. If not given, then a random starting matrix is used.} + +\item{niter}{Integer scalar, the number of iterations to perform. Should be +a couple of hundred in general. If you have a large graph then you might +want to only do a few iterations and then check the result. If it is not +good enough you can feed it in again in the \code{start} argument. The +default value is 500.} + +\item{charge}{The charge of the vertices, used to calculate electric +repulsion. The default is 0.001.} + +\item{mass}{The mass of the vertices, used for the spring forces. The +default is 30.} + +\item{spring.length}{The length of the springs, an integer number. The +default value is zero.} + +\item{spring.constant}{The spring constant, the default value is one.} + +\item{max.sa.movement}{Real constant, it gives the maximum amount of +movement allowed in a single step along a single axis. The default value is +5.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{layout.graphopt()} was renamed to \code{layout_with_graphopt()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/layout.grid.Rd b/man/layout.grid.Rd new file mode 100644 index 00000000000..b964807d7f5 --- /dev/null +++ b/man/layout.grid.Rd @@ -0,0 +1,29 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/layout.R +\name{layout.grid} +\alias{layout.grid} +\title{Simple grid layout} +\usage{ +layout.grid(graph, width = 0, height = 0, dim = 2) +} +\arguments{ +\item{graph}{The input graph.} + +\item{width}{The number of vertices in a single row of the grid. If this is +zero or negative, then for 2d layouts the width of the grid will be the +square root of the number of vertices in the graph, rounded up to the next +integer. Similarly, it will be the cube root for 3d layouts.} + +\item{height}{The number of vertices in a single column of the grid, for +three dimensional layouts. If this is zero or negative, then it is +determinted automatically.} + +\item{dim}{Two or three. Whether to make 2d or a 3d layout.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{layout.grid()} was renamed to \code{layout_on_grid()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/layout.mds.Rd b/man/layout.mds.Rd new file mode 100644 index 00000000000..bfc263b9599 --- /dev/null +++ b/man/layout.mds.Rd @@ -0,0 +1,29 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/layout.R +\name{layout.mds} +\alias{layout.mds} +\title{Graph layout by multidimensional scaling} +\usage{ +layout.mds(graph, dist = NULL, dim = 2, options = arpack_defaults()) +} +\arguments{ +\item{graph}{The input graph.} + +\item{dist}{The distance matrix for the multidimensional scaling. If +\code{NULL} (the default), then the unweighted shortest path matrix is used.} + +\item{dim}{\code{layout_with_mds()} supports dimensions up to the number of nodes +minus one, but only if the graph is connected; for unconnected graphs, the +only possible value is 2. This is because \code{merge_coords()} only works in +2D.} + +\item{options}{This is currently ignored, as ARPACK is not used any more for +solving the eigenproblem} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{layout.mds()} was renamed to \code{layout_with_mds()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/layout.merge.Rd b/man/layout.merge.Rd new file mode 100644 index 00000000000..c8306f5e565 --- /dev/null +++ b/man/layout.merge.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/layout.R +\name{layout.merge} +\alias{layout.merge} +\title{Merging graph layouts} +\usage{ +layout.merge(graphs, layouts, method = "dla") +} +\arguments{ +\item{graphs}{A list of graph objects.} + +\item{layouts}{A list of two-column matrices.} + +\item{method}{Character constant giving the method to use. Right now only +\code{dla} is implemented.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{layout.merge()} was renamed to \code{merge_coords()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/layout.norm.Rd b/man/layout.norm.Rd new file mode 100644 index 00000000000..711b13ea28f --- /dev/null +++ b/man/layout.norm.Rd @@ -0,0 +1,36 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/layout.R +\name{layout.norm} +\alias{layout.norm} +\title{Normalize coordinates for plotting graphs} +\usage{ +layout.norm( + layout, + xmin = -1, + xmax = 1, + ymin = -1, + ymax = 1, + zmin = -1, + zmax = 1 +) +} +\arguments{ +\item{layout}{A matrix with two or three columns, the layout to normalize.} + +\item{xmin, xmax}{The limits for the first coordinate, if one of them or both +are \code{NULL} then no normalization is performed along this direction.} + +\item{ymin, ymax}{The limits for the second coordinate, if one of them or +both are \code{NULL} then no normalization is performed along this +direction.} + +\item{zmin, zmax}{The limits for the third coordinate, if one of them or both +are \code{NULL} then no normalization is performed along this direction.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{layout.norm()} was renamed to \code{norm_coords()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/layout.star.Rd b/man/layout.star.Rd new file mode 100644 index 00000000000..25364c9e18c --- /dev/null +++ b/man/layout.star.Rd @@ -0,0 +1,24 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/layout.R +\name{layout.star} +\alias{layout.star} +\title{Generate coordinates to place the vertices of a graph in a star-shape} +\usage{ +layout.star(graph, center = V(graph)[1], order = NULL) +} +\arguments{ +\item{graph}{The graph to layout.} + +\item{center}{The id of the vertex to put in the center. By default it is +the first vertex.} + +\item{order}{Numeric vector, the order of the vertices along the perimeter. +The default ordering is given by the vertex ids.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{layout.star()} was renamed to \code{layout_as_star()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/layout.sugiyama.Rd b/man/layout.sugiyama.Rd new file mode 100644 index 00000000000..fc925431459 --- /dev/null +++ b/man/layout.sugiyama.Rd @@ -0,0 +1,52 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/layout.R +\name{layout.sugiyama} +\alias{layout.sugiyama} +\title{The Sugiyama graph layout generator} +\usage{ +layout.sugiyama( + graph, + layers = NULL, + hgap = 1, + vgap = 1, + maxiter = 100, + weights = NULL, + attributes = c("default", "all", "none") +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{layers}{A numeric vector or \code{NULL}. If not \code{NULL}, then it +should specify the layer index of the vertices. Layers are numbered from +one. If \code{NULL}, then igraph calculates the layers automatically.} + +\item{hgap}{Real scalar, the minimum horizontal gap between vertices in the +same layer.} + +\item{vgap}{Real scalar, the distance between layers.} + +\item{maxiter}{Integer scalar, the maximum number of iterations in the +crossing minimization stage. 100 is a reasonable default; if you feel that +you have too many edge crossings, increase this.} + +\item{weights}{Optional edge weight vector. If \code{NULL}, then the +'weight' edge attribute is used, if there is one. Supply \code{NA} here and +igraph ignores the edge weights. These are used only if the graph +contains cycles; igraph will tend to reverse edges with smaller weights +when breaking the cycles.} + +\item{attributes}{Which graph/vertex/edge attributes to keep in the extended +graph. \sQuote{default} keeps the \sQuote{size}, \sQuote{size2}, +\sQuote{shape}, \sQuote{label} and \sQuote{color} vertex attributes and the +\sQuote{arrow.mode} and \sQuote{arrow.size} edge attributes. \sQuote{all} +keep all graph, vertex and edge attributes, \sQuote{none} keeps none of +them.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{layout.sugiyama()} was renamed to \code{layout_with_sugiyama()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/layout_as_bipartite.Rd b/man/layout_as_bipartite.Rd index b4853a2809d..1cc68a1d3e1 100644 --- a/man/layout_as_bipartite.Rd +++ b/man/layout_as_bipartite.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/layout.R \name{layout_as_bipartite} \alias{layout_as_bipartite} -\alias{layout.bipartite} \alias{as_bipartite} \title{Simple two-row layout for bipartite graphs} \usage{ diff --git a/man/layout_as_star.Rd b/man/layout_as_star.Rd index dd8faac6dde..605d43a2bf4 100644 --- a/man/layout_as_star.Rd +++ b/man/layout_as_star.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/layout.R \name{layout_as_star} \alias{layout_as_star} -\alias{layout.star} \alias{as_star} \title{Generate coordinates to place the vertices of a graph in a star-shape} \usage{ diff --git a/man/layout_nicely.Rd b/man/layout_nicely.Rd index ac77f47b27a..fc08b8ead52 100644 --- a/man/layout_nicely.Rd +++ b/man/layout_nicely.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/layout.R \name{layout_nicely} \alias{layout_nicely} -\alias{layout.auto} \alias{nicely} \title{Choose an appropriate graph layout algorithm automatically} \usage{ diff --git a/man/layout_on_grid.Rd b/man/layout_on_grid.Rd index 6f14eb395b6..e0b5f09b8f3 100644 --- a/man/layout_on_grid.Rd +++ b/man/layout_on_grid.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/layout.R \name{layout_on_grid} \alias{layout_on_grid} -\alias{layout.grid} \alias{layout.grid.3d} \alias{on_grid} \title{Simple grid layout} diff --git a/man/layout_with_dh.Rd b/man/layout_with_dh.Rd index d5f915aa960..4435e3986a6 100644 --- a/man/layout_with_dh.Rd +++ b/man/layout_with_dh.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/layout.R \name{layout_with_dh} \alias{layout_with_dh} -\alias{layout.davidson.harel} \alias{with_dh} \title{The Davidson-Harel layout algorithm} \usage{ diff --git a/man/layout_with_drl.Rd b/man/layout_with_drl.Rd index bda99b682bc..993d7066c2b 100644 --- a/man/layout_with_drl.Rd +++ b/man/layout_with_drl.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/layout_drl.R \name{layout_with_drl} \alias{layout_with_drl} -\alias{layout.drl} \alias{drl_defaults} \alias{igraph.drl.coarsen} \alias{igraph.drl.coarsest} diff --git a/man/layout_with_gem.Rd b/man/layout_with_gem.Rd index a37f65f777d..971eb697cfe 100644 --- a/man/layout_with_gem.Rd +++ b/man/layout_with_gem.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/layout.R \name{layout_with_gem} \alias{layout_with_gem} -\alias{layout.gem} \alias{with_gem} \title{The GEM layout algorithm} \usage{ diff --git a/man/layout_with_graphopt.Rd b/man/layout_with_graphopt.Rd index 66d25a84678..750de8fb747 100644 --- a/man/layout_with_graphopt.Rd +++ b/man/layout_with_graphopt.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/layout.R \name{layout_with_graphopt} \alias{layout_with_graphopt} -\alias{layout.graphopt} \alias{with_graphopt} \title{The graphopt layout algorithm} \usage{ diff --git a/man/layout_with_mds.Rd b/man/layout_with_mds.Rd index d21994cdd8f..6e17f489a2a 100644 --- a/man/layout_with_mds.Rd +++ b/man/layout_with_mds.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/layout.R \name{layout_with_mds} \alias{layout_with_mds} -\alias{layout.mds} \alias{with_mds} \title{Graph layout by multidimensional scaling} \usage{ diff --git a/man/layout_with_sugiyama.Rd b/man/layout_with_sugiyama.Rd index a913df1de62..9c571d1838b 100644 --- a/man/layout_with_sugiyama.Rd +++ b/man/layout_with_sugiyama.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/layout.R \name{layout_with_sugiyama} \alias{layout_with_sugiyama} -\alias{layout.sugiyama} \alias{with_sugiyama} \title{The Sugiyama graph layout generator} \usage{ diff --git a/man/leading.eigenvector.community.Rd b/man/leading.eigenvector.community.Rd new file mode 100644 index 00000000000..c35aa58bd14 --- /dev/null +++ b/man/leading.eigenvector.community.Rd @@ -0,0 +1,52 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{leading.eigenvector.community} +\alias{leading.eigenvector.community} +\title{Community structure detecting based on the leading eigenvector of the community matrix} +\usage{ +leading.eigenvector.community( + graph, + steps = -1, + weights = NULL, + start = NULL, + options = arpack_defaults(), + callback = NULL, + extra = NULL, + env = parent.frame() +) +} +\arguments{ +\item{graph}{The input graph. Should be undirected as the method needs a +symmetric matrix.} + +\item{steps}{The number of steps to take, this is actually the number of +tries to make a step. It is not a particularly useful parameter.} + +\item{weights}{The weights of the edges. It must be a positive numeric vector, +\code{NULL} or \code{NA}. If it is \code{NULL} and the input graph has a +\sQuote{weight} edge attribute, then that attribute will be used. If +\code{NULL} and no such attribute is present, then the edges will have equal +weights. Set this to \code{NA} if the graph was a \sQuote{weight} edge +attribute, but you don't want to use it for community detection. A larger +edge weight means a stronger connection for this function.} + +\item{start}{\code{NULL}, or a numeric membership vector, giving the start +configuration of the algorithm.} + +\item{options}{A named list to override some ARPACK options.} + +\item{callback}{If not \code{NULL}, then it must be callback function. This +is called after each iteration, after calculating the leading eigenvector of +the modularity matrix. See details below.} + +\item{extra}{Additional argument to supply to the callback function.} + +\item{env}{The environment in which the callback function is evaluated.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{leading.eigenvector.community()} was renamed to \code{cluster_leading_eigen()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/line.graph.Rd b/man/line.graph.Rd new file mode 100644 index 00000000000..90ecd45077b --- /dev/null +++ b/man/line.graph.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/make.R +\name{line.graph} +\alias{line.graph} +\title{Line graph of a graph} +\usage{ +line.graph(graph) +} +\arguments{ +\item{graph}{The input graph, it can be directed or undirected.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{line.graph()} was renamed to \code{make_line_graph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/list.edge.attributes.Rd b/man/list.edge.attributes.Rd new file mode 100644 index 00000000000..7f34f592035 --- /dev/null +++ b/man/list.edge.attributes.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/attributes.R +\name{list.edge.attributes} +\alias{list.edge.attributes} +\title{List names of edge attributes} +\usage{ +list.edge.attributes(graph) +} +\arguments{ +\item{graph}{The graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{list.edge.attributes()} was renamed to \code{edge_attr_names()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/list.graph.attributes.Rd b/man/list.graph.attributes.Rd new file mode 100644 index 00000000000..4ed78a65925 --- /dev/null +++ b/man/list.graph.attributes.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/attributes.R +\name{list.graph.attributes} +\alias{list.graph.attributes} +\title{List names of graph attributes} +\usage{ +list.graph.attributes(graph) +} +\arguments{ +\item{graph}{The graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{list.graph.attributes()} was renamed to \code{graph_attr_names()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/list.vertex.attributes.Rd b/man/list.vertex.attributes.Rd new file mode 100644 index 00000000000..f30d3bb0493 --- /dev/null +++ b/man/list.vertex.attributes.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/attributes.R +\name{list.vertex.attributes} +\alias{list.vertex.attributes} +\title{List names of vertex attributes} +\usage{ +list.vertex.attributes(graph) +} +\arguments{ +\item{graph}{The graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{list.vertex.attributes()} was renamed to \code{vertex_attr_names()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/make_bipartite_graph.Rd b/man/make_bipartite_graph.Rd index c431c006b8c..1ee7574887f 100644 --- a/man/make_bipartite_graph.Rd +++ b/man/make_bipartite_graph.Rd @@ -3,8 +3,6 @@ \name{is_bipartite} \alias{is_bipartite} \alias{make_bipartite_graph} -\alias{graph.bipartite} -\alias{is.bipartite} \alias{bipartite_graph} \title{Create a bipartite graph} \usage{ diff --git a/man/make_chordal_ring.Rd b/man/make_chordal_ring.Rd index 466f769dd57..16f376d87a4 100644 --- a/man/make_chordal_ring.Rd +++ b/man/make_chordal_ring.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/make.R \name{make_chordal_ring} \alias{make_chordal_ring} -\alias{graph.extended.chordal.ring} \alias{chordal_ring} \title{Create an extended chordal ring graph} \usage{ diff --git a/man/make_clusters.Rd b/man/make_clusters.Rd index 2d43b04272d..944eecc783d 100644 --- a/man/make_clusters.Rd +++ b/man/make_clusters.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/community.R \name{make_clusters} \alias{make_clusters} -\alias{create.communities} \title{Creates a communities object.} \usage{ make_clusters( @@ -53,7 +52,6 @@ Community detection \code{\link{cluster_walktrap}()}, \code{\link{compare}()}, \code{\link{groups}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} diff --git a/man/make_de_bruijn_graph.Rd b/man/make_de_bruijn_graph.Rd index e4fa752cd6b..346a225f3c0 100644 --- a/man/make_de_bruijn_graph.Rd +++ b/man/make_de_bruijn_graph.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/make.R \name{make_de_bruijn_graph} \alias{make_de_bruijn_graph} -\alias{graph.de.bruijn} \alias{de_bruijn_graph} \title{De Bruijn graphs} \usage{ diff --git a/man/make_empty_graph.Rd b/man/make_empty_graph.Rd index abe8d84dbbf..9bea1d081cf 100644 --- a/man/make_empty_graph.Rd +++ b/man/make_empty_graph.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/make.R \name{make_empty_graph} \alias{make_empty_graph} -\alias{graph.empty} \alias{empty_graph} \title{A graph with no edges} \usage{ diff --git a/man/make_full_bipartite_graph.Rd b/man/make_full_bipartite_graph.Rd index c8ab11b7f26..6ea70f55e82 100644 --- a/man/make_full_bipartite_graph.Rd +++ b/man/make_full_bipartite_graph.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/make.R \name{make_full_bipartite_graph} \alias{make_full_bipartite_graph} -\alias{graph.full.bipartite} \alias{full_bipartite_graph} \title{Create a full bipartite graph} \usage{ diff --git a/man/make_full_citation_graph.Rd b/man/make_full_citation_graph.Rd index aac29c33004..908b894b3da 100644 --- a/man/make_full_citation_graph.Rd +++ b/man/make_full_citation_graph.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/make.R \name{make_full_citation_graph} \alias{make_full_citation_graph} -\alias{graph.full.citation} \alias{full_citation_graph} \title{Create a complete (full) citation graph} \usage{ diff --git a/man/make_full_graph.Rd b/man/make_full_graph.Rd index 76445d1e66c..5c4c8cc1115 100644 --- a/man/make_full_graph.Rd +++ b/man/make_full_graph.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/make.R \name{make_full_graph} \alias{make_full_graph} -\alias{graph.full} \alias{full_graph} \title{Create a full graph} \usage{ diff --git a/man/make_graph.Rd b/man/make_graph.Rd index c3ab91abe9a..a69a75719a3 100644 --- a/man/make_graph.Rd +++ b/man/make_graph.Rd @@ -3,8 +3,6 @@ \encoding{UTF-8} \name{make_graph} \alias{make_graph} -\alias{graph.famous} -\alias{graph} \alias{make_directed_graph} \alias{make_undirected_graph} \alias{directed_graph} diff --git a/man/make_kautz_graph.Rd b/man/make_kautz_graph.Rd index f64b20776d5..ab900135075 100644 --- a/man/make_kautz_graph.Rd +++ b/man/make_kautz_graph.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/make.R \name{make_kautz_graph} \alias{make_kautz_graph} -\alias{graph.kautz} \alias{kautz_graph} \title{Kautz graphs} \usage{ diff --git a/man/make_lattice.Rd b/man/make_lattice.Rd index 0fd195b32e8..f2d535e204a 100644 --- a/man/make_lattice.Rd +++ b/man/make_lattice.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/make.R \name{make_lattice} \alias{make_lattice} -\alias{graph.lattice} \alias{lattice} \title{Create a lattice graph} \usage{ diff --git a/man/make_line_graph.Rd b/man/make_line_graph.Rd index 866a3a52ba4..bec671be3d5 100644 --- a/man/make_line_graph.Rd +++ b/man/make_line_graph.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/make.R \name{make_line_graph} \alias{make_line_graph} -\alias{line.graph} \alias{line_graph} \title{Line graph of a graph} \usage{ diff --git a/man/make_ring.Rd b/man/make_ring.Rd index 94ce9cea1b5..f908a973ab8 100644 --- a/man/make_ring.Rd +++ b/man/make_ring.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/make.R \name{make_ring} \alias{make_ring} -\alias{graph.ring} \alias{ring} \title{Create a ring graph} \usage{ diff --git a/man/make_star.Rd b/man/make_star.Rd index 7d97f03d8a8..ad30b9ae416 100644 --- a/man/make_star.Rd +++ b/man/make_star.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/make.R \name{make_star} \alias{make_star} -\alias{graph.star} \alias{star} \title{Create a star graph, a tree with n vertices and n - 1 leaves} \usage{ diff --git a/man/make_tree.Rd b/man/make_tree.Rd index 29cec876968..fcad5310c51 100644 --- a/man/make_tree.Rd +++ b/man/make_tree.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/make.R \name{make_tree} \alias{make_tree} -\alias{graph.tree} \alias{tree} \title{Create tree graphs} \usage{ diff --git a/man/matching.Rd b/man/matching.Rd index 634e3f1ea52..4787dd1bf17 100644 --- a/man/matching.Rd +++ b/man/matching.Rd @@ -2,9 +2,6 @@ % Please edit documentation in R/structural.properties.R \name{is_matching} \alias{is_matching} -\alias{is.matching} -\alias{is.maximal.matching} -\alias{maximum.bipartite.matching} \alias{max_bipartite_match} \alias{is_max_matching} \title{Matching} diff --git a/man/max_cardinality.Rd b/man/max_cardinality.Rd index 970e29c6068..2dccfe4fe72 100644 --- a/man/max_cardinality.Rd +++ b/man/max_cardinality.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/paths.R \name{max_cardinality} \alias{max_cardinality} -\alias{maximum.cardinality.search} \title{Maximum cardinality search} \usage{ max_cardinality(graph) diff --git a/man/max_flow.Rd b/man/max_flow.Rd index c18c6daaf95..b0dfa40d5d7 100644 --- a/man/max_flow.Rd +++ b/man/max_flow.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/flow.R \name{max_flow} \alias{max_flow} -\alias{graph.maxflow} \title{Maximum flow in a graph} \usage{ max_flow(graph, source, target, capacity = NULL) diff --git a/man/maxcohesion.Rd b/man/maxcohesion.Rd new file mode 100644 index 00000000000..909b4b50c75 --- /dev/null +++ b/man/maxcohesion.Rd @@ -0,0 +1,15 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/cohesive.blocks.R +\name{maxcohesion} +\alias{maxcohesion} +\title{Calculate Cohesive Blocks} +\usage{ +maxcohesion(blocks) +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{maxcohesion()} was renamed to \code{max_cohesion()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/maximal.cliques.Rd b/man/maximal.cliques.Rd new file mode 100644 index 00000000000..191e3aa9092 --- /dev/null +++ b/man/maximal.cliques.Rd @@ -0,0 +1,37 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/cliques.R +\name{maximal.cliques} +\alias{maximal.cliques} +\title{Functions to find cliques, i.e. complete subgraphs in a graph} +\usage{ +maximal.cliques(graph, min = NULL, max = NULL, subset = NULL, file = NULL) +} +\arguments{ +\item{graph}{The input graph, directed graphs will be considered as +undirected ones, multiple edges and loops are ignored.} + +\item{min}{Numeric constant, lower limit on the size of the cliques to find. +\code{NULL} means no limit, i.e. it is the same as 0.} + +\item{max}{Numeric constant, upper limit on the size of the cliques to find. +\code{NULL} means no limit.} + +\item{subset}{If not \code{NULL}, then it must be a vector of vertex ids, +numeric or symbolic if the graph is named. The algorithm is run from these +vertices only, so only a subset of all maximal cliques is returned. See the +Eppstein paper for details. This argument makes it possible to easily +parallelize the finding of maximal cliques.} + +\item{file}{If not \code{NULL}, then it must be a file name, i.e. a +character scalar. The output of the algorithm is written to this file. (If +it exists, then it will be overwritten.) Each clique will be a separate line +in the file, given with the numeric ids of its vertices, separated by +whitespace.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{maximal.cliques()} was renamed to \code{max_cliques()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/maximal.cliques.count.Rd b/man/maximal.cliques.count.Rd new file mode 100644 index 00000000000..840a7e0db14 --- /dev/null +++ b/man/maximal.cliques.count.Rd @@ -0,0 +1,31 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/cliques.R +\name{maximal.cliques.count} +\alias{maximal.cliques.count} +\title{Functions to find cliques, i.e. complete subgraphs in a graph} +\usage{ +maximal.cliques.count(graph, min = NULL, max = NULL, subset = NULL) +} +\arguments{ +\item{graph}{The input graph, directed graphs will be considered as +undirected ones, multiple edges and loops are ignored.} + +\item{min}{Numeric constant, lower limit on the size of the cliques to find. +\code{NULL} means no limit, i.e. it is the same as 0.} + +\item{max}{Numeric constant, upper limit on the size of the cliques to find. +\code{NULL} means no limit.} + +\item{subset}{If not \code{NULL}, then it must be a vector of vertex ids, +numeric or symbolic if the graph is named. The algorithm is run from these +vertices only, so only a subset of all maximal cliques is returned. See the +Eppstein paper for details. This argument makes it possible to easily +parallelize the finding of maximal cliques.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{maximal.cliques.count()} was renamed to \code{count_max_cliques()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/maximal.independent.vertex.sets.Rd b/man/maximal.independent.vertex.sets.Rd new file mode 100644 index 00000000000..9e53faec2d5 --- /dev/null +++ b/man/maximal.independent.vertex.sets.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/cliques.R +\name{maximal.independent.vertex.sets} +\alias{maximal.independent.vertex.sets} +\title{Independent vertex sets} +\usage{ +maximal.independent.vertex.sets(graph) +} +\arguments{ +\item{graph}{The input graph, directed graphs are considered as undirected, +loop edges and multiple edges are ignored.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{maximal.independent.vertex.sets()} was renamed to \code{maximal_ivs()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/maximum.bipartite.matching.Rd b/man/maximum.bipartite.matching.Rd new file mode 100644 index 00000000000..d67e481d105 --- /dev/null +++ b/man/maximum.bipartite.matching.Rd @@ -0,0 +1,41 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{maximum.bipartite.matching} +\alias{maximum.bipartite.matching} +\title{Matching} +\usage{ +maximum.bipartite.matching( + graph, + types = NULL, + weights = NULL, + eps = .Machine$double.eps +) +} +\arguments{ +\item{graph}{The input graph. It might be directed, but edge directions will +be ignored.} + +\item{types}{Vertex types, if the graph is bipartite. By default they +are taken from the \sQuote{\code{type}} vertex attribute, if present.} + +\item{weights}{Potential edge weights. If the graph has an edge +attribute called \sQuote{\code{weight}}, and this argument is +\code{NULL}, then the edge attribute is used automatically. +In weighted matching, the weights of the edges must match as +much as possible.} + +\item{eps}{A small real number used in equality tests in the weighted +bipartite matching algorithm. Two real numbers are considered equal in +the algorithm if their difference is smaller than \code{eps}. This is +required to avoid the accumulation of numerical errors. By default it is +set to the smallest \eqn{x}, such that \eqn{1+x \ne 1}{1+x != 1} +holds. If you are running the algorithm with no weights, this argument +is ignored.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{maximum.bipartite.matching()} was renamed to \code{max_bipartite_match()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/maximum.cardinality.search.Rd b/man/maximum.cardinality.search.Rd new file mode 100644 index 00000000000..a7c1ffe3b36 --- /dev/null +++ b/man/maximum.cardinality.search.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{maximum.cardinality.search} +\alias{maximum.cardinality.search} +\title{Maximum cardinality search} +\usage{ +maximum.cardinality.search(graph) +} +\arguments{ +\item{graph}{The input graph. It may be directed, but edge directions are +ignored, as the algorithm is defined for undirected graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{maximum.cardinality.search()} was renamed to \code{max_cardinality()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/merge_coords.Rd b/man/merge_coords.Rd index 04fd7aa27dd..5fef2d5ad73 100644 --- a/man/merge_coords.Rd +++ b/man/merge_coords.Rd @@ -2,8 +2,6 @@ % Please edit documentation in R/layout.R \name{merge_coords} \alias{merge_coords} -\alias{layout.merge} -\alias{piecewise.layout} \alias{layout_components} \title{Merging graph layouts} \usage{ diff --git a/man/min_cut.Rd b/man/min_cut.Rd index 45d5c872bf4..4484381c84d 100644 --- a/man/min_cut.Rd +++ b/man/min_cut.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/flow.R \name{min_cut} \alias{min_cut} -\alias{graph.mincut} \title{Minimum cut in a graph} \usage{ min_cut( diff --git a/man/min_separators.Rd b/man/min_separators.Rd index 4c7016b8455..fce937f3eee 100644 --- a/man/min_separators.Rd +++ b/man/min_separators.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/flow.R \name{min_separators} \alias{min_separators} -\alias{minimum.size.separators} \title{Minimum size vertex separators} \usage{ min_separators(graph) diff --git a/man/min_st_separators.Rd b/man/min_st_separators.Rd index 4c929869545..aa69d7fb493 100644 --- a/man/min_st_separators.Rd +++ b/man/min_st_separators.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/flow.R \name{min_st_separators} \alias{min_st_separators} -\alias{minimal.st.separators} \title{Minimum size vertex separators} \usage{ min_st_separators(graph) diff --git a/man/minimal.st.separators.Rd b/man/minimal.st.separators.Rd new file mode 100644 index 00000000000..2fadc239c87 --- /dev/null +++ b/man/minimal.st.separators.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{minimal.st.separators} +\alias{minimal.st.separators} +\title{Minimum size vertex separators} +\usage{ +minimal.st.separators(graph) +} +\arguments{ +\item{graph}{The input graph. It may be directed, but edge directions are +ignored.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{minimal.st.separators()} was renamed to \code{min_st_separators()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/minimum.size.separators.Rd b/man/minimum.size.separators.Rd new file mode 100644 index 00000000000..1fca6ff7c7a --- /dev/null +++ b/man/minimum.size.separators.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{minimum.size.separators} +\alias{minimum.size.separators} +\title{Minimum size vertex separators} +\usage{ +minimum.size.separators(graph) +} +\arguments{ +\item{graph}{The input graph. It may be directed, but edge directions are +ignored.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{minimum.size.separators()} was renamed to \code{min_separators()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/minimum.spanning.tree.Rd b/man/minimum.spanning.tree.Rd new file mode 100644 index 00000000000..03961542ca8 --- /dev/null +++ b/man/minimum.spanning.tree.Rd @@ -0,0 +1,32 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/minimum.spanning.tree.R +\name{minimum.spanning.tree} +\alias{minimum.spanning.tree} +\title{Minimum spanning tree} +\usage{ +minimum.spanning.tree(graph, weights = NULL, algorithm = NULL, ...) +} +\arguments{ +\item{graph}{The graph object to analyze.} + +\item{weights}{Numeric vector giving the weights of the edges in the +graph. The order is determined by the edge ids. This is ignored if the +\code{unweighted} algorithm is chosen. Edge weights are interpreted as +distances.} + +\item{algorithm}{The algorithm to use for calculation. \code{unweighted} can +be used for unweighted graphs, and \code{prim} runs Prim's algorithm for +weighted graphs. If this is \code{NULL} then igraph will select the +algorithm automatically: if the graph has an edge attribute called +\code{weight} or the \code{weights} argument is not \code{NULL} then Prim's +algorithm is chosen, otherwise the unweighted algorithm is used.} + +\item{...}{Additional arguments, unused.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{minimum.spanning.tree()} was renamed to \code{mst()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/mod.matrix.Rd b/man/mod.matrix.Rd new file mode 100644 index 00000000000..073cdaec478 --- /dev/null +++ b/man/mod.matrix.Rd @@ -0,0 +1,27 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{mod.matrix} +\alias{mod.matrix} +\title{Modularity of a community structure of a graph} +\usage{ +mod.matrix(graph, membership, weights = NULL, resolution = 1, directed = TRUE) +} +\arguments{ +\item{membership}{Numeric vector, one value for each vertex, the membership +vector of the community structure.} + +\item{weights}{If not \code{NULL} then a numeric vector giving edge weights.} + +\item{resolution}{The resolution parameter. Must be greater than or equal to +0. Set it to 1 to use the classical definition of modularity.} + +\item{directed}{Whether to use the directed or undirected version of +modularity. Ignored for undirected graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{mod.matrix()} was renamed to \code{modularity_matrix()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/modularity.igraph.Rd b/man/modularity.igraph.Rd index e58073e57a8..7cd224ba802 100644 --- a/man/modularity.igraph.Rd +++ b/man/modularity.igraph.Rd @@ -4,7 +4,6 @@ \alias{modularity.igraph} \alias{modularity} \alias{modularity_matrix} -\alias{mod.matrix} \title{Modularity of a community structure of a graph} \usage{ \method{modularity}{igraph}(x, membership, weights = NULL, resolution = 1, directed = TRUE, ...) @@ -120,7 +119,6 @@ Community detection \code{\link{compare}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{plot_dendrogram}()}, \code{\link{split_join_distance}()} } diff --git a/man/motifs.Rd b/man/motifs.Rd index 7366d2ae96b..0ad6157b7ed 100644 --- a/man/motifs.Rd +++ b/man/motifs.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/motifs.R \name{motifs} \alias{motifs} -\alias{graph.motifs} \title{Graph motifs} \usage{ motifs(graph, size = 3, cut.prob = rep(0, size)) diff --git a/man/mst.Rd b/man/mst.Rd index bcea7ac5d9b..686678e50e3 100644 --- a/man/mst.Rd +++ b/man/mst.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/minimum.spanning.tree.R \name{mst} \alias{mst} -\alias{minimum.spanning.tree} \title{Minimum spanning tree} \usage{ mst(graph, weights = NULL, algorithm = NULL, ...) diff --git a/man/multilevel.community.Rd b/man/multilevel.community.Rd new file mode 100644 index 00000000000..132f0442986 --- /dev/null +++ b/man/multilevel.community.Rd @@ -0,0 +1,32 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{multilevel.community} +\alias{multilevel.community} +\title{Finding community structure by multi-level optimization of modularity} +\usage{ +multilevel.community(graph, weights = NULL, resolution = 1) +} +\arguments{ +\item{graph}{The input graph.} + +\item{weights}{The weights of the edges. It must be a positive numeric vector, +\code{NULL} or \code{NA}. If it is \code{NULL} and the input graph has a +\sQuote{weight} edge attribute, then that attribute will be used. If +\code{NULL} and no such attribute is present, then the edges will have equal +weights. Set this to \code{NA} if the graph was a \sQuote{weight} edge +attribute, but you don't want to use it for community detection. A larger +edge weight means a stronger connection for this function.} + +\item{resolution}{Optional resolution parameter that allows the user to +adjust the resolution parameter of the modularity function that the algorithm +uses internally. Lower values typically yield fewer, larger clusters. The +original definition of modularity is recovered when the resolution parameter +is set to 1.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{multilevel.community()} was renamed to \code{cluster_louvain()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/neighborhood.size.Rd b/man/neighborhood.size.Rd new file mode 100644 index 00000000000..df5a6bd08a2 --- /dev/null +++ b/man/neighborhood.size.Rd @@ -0,0 +1,38 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{neighborhood.size} +\alias{neighborhood.size} +\title{Neighborhood of graph vertices} +\usage{ +neighborhood.size( + graph, + order = 1, + nodes = V(graph), + mode = c("all", "out", "in"), + mindist = 0 +) +} +\arguments{ +\item{graph}{The input graph.} + +\item{order}{Integer giving the order of the neighborhood.} + +\item{nodes}{The vertices for which the calculation is performed.} + +\item{mode}{Character constant, it specifies how to use the direction of +the edges if a directed graph is analyzed. For \sQuote{out} only the +outgoing edges are followed, so all vertices reachable from the source +vertex in at most \code{order} steps are counted. For \sQuote{"in"} all +vertices from which the source vertex is reachable in at most \code{order} +steps are counted. \sQuote{"all"} ignores the direction of the edges. This +argument is ignored for undirected graphs.} + +\item{mindist}{The minimum distance to include the vertex in the result.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{neighborhood.size()} was renamed to \code{ego_size()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/no.clusters.Rd b/man/no.clusters.Rd new file mode 100644 index 00000000000..598b20de688 --- /dev/null +++ b/man/no.clusters.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/components.R +\name{no.clusters} +\alias{no.clusters} +\title{Connected components of a graph} +\usage{ +no.clusters(graph, mode = c("weak", "strong")) +} +\arguments{ +\item{graph}{The graph to analyze.} + +\item{mode}{Character string, either \dQuote{weak} or \dQuote{strong}. For +directed graphs \dQuote{weak} implies weakly, \dQuote{strong} strongly +connected components to search. It is ignored for undirected graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{no.clusters()} was renamed to \code{count_components()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/norm_coords.Rd b/man/norm_coords.Rd index c85209293c8..106ed617ebc 100644 --- a/man/norm_coords.Rd +++ b/man/norm_coords.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/layout.R \name{norm_coords} \alias{norm_coords} -\alias{layout.norm} \title{Normalize coordinates for plotting graphs} \usage{ norm_coords( diff --git a/man/optimal.community.Rd b/man/optimal.community.Rd new file mode 100644 index 00000000000..91285a08265 --- /dev/null +++ b/man/optimal.community.Rd @@ -0,0 +1,27 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{optimal.community} +\alias{optimal.community} +\title{Optimal community structure} +\usage{ +optimal.community(graph, weights = NULL) +} +\arguments{ +\item{graph}{The input graph. Edge directions are ignored for directed +graphs.} + +\item{weights}{The weights of the edges. It must be a positive numeric vector, +\code{NULL} or \code{NA}. If it is \code{NULL} and the input graph has a +\sQuote{weight} edge attribute, then that attribute will be used. If +\code{NULL} and no such attribute is present, then the edges will have equal +weights. Set this to \code{NA} if the graph was a \sQuote{weight} edge +attribute, but you don't want to use it for community detection. A larger +edge weight means a stronger connection for this function.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{optimal.community()} was renamed to \code{cluster_optimal()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/page.rank.Rd b/man/page.rank.Rd new file mode 100644 index 00000000000..2835e03c284 --- /dev/null +++ b/man/page.rank.Rd @@ -0,0 +1,63 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{page.rank} +\alias{page.rank} +\title{The Page Rank algorithm} +\usage{ +page.rank( + graph, + algo = c("prpack", "arpack"), + vids = V(graph), + directed = TRUE, + damping = 0.85, + personalized = NULL, + weights = NULL, + options = NULL +) +} +\arguments{ +\item{graph}{The graph object.} + +\item{algo}{Character scalar, which implementation to use to carry out the +calculation. The default is \code{"prpack"}, which uses the PRPACK library +(\url{https://github.com/dgleich/prpack}) to calculate PageRank scores +by solving a set of linear equations. This is a new implementation in igraph +version 0.7, and the suggested one, as it is the most stable and the fastest +for all but small graphs. \code{"arpack"} uses the ARPACK library, the +default implementation from igraph version 0.5 until version 0.7. It computes +PageRank scores by solving an eingevalue problem.} + +\item{vids}{The vertices of interest.} + +\item{directed}{Logical, if true directed paths will be considered for +directed graphs. It is ignored for undirected graphs.} + +\item{damping}{The damping factor (\sQuote{d} in the original paper).} + +\item{personalized}{Optional vector giving a probability distribution to +calculate personalized PageRank. For personalized PageRank, the probability +of jumping to a node when abandoning the random walk is not uniform, but it +is given by this vector. The vector should contains an entry for each vertex +and it will be rescaled to sum up to one.} + +\item{weights}{A numerical vector or \code{NULL}. This argument can be used +to give edge weights for calculating the weighted PageRank of vertices. If +this is \code{NULL} and the graph has a \code{weight} edge attribute then +that is used. If \code{weights} is a numerical vector then it used, even if +the graph has a \code{weights} edge attribute. If this is \code{NA}, then no +edge weights are used (even if the graph has a \code{weight} edge attribute. +This function interprets edge weights as connection strengths. In the +random surfer model, an edge with a larger weight is more likely to be +selected by the surfer.} + +\item{options}{A named list, to override some ARPACK options. See +\code{\link[=arpack]{arpack()}} for details. This argument is ignored if the PRPACK +implementation is used.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{page.rank()} was renamed to \code{page_rank()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/page_rank.Rd b/man/page_rank.Rd index 81da26a1526..892dd73b099 100644 --- a/man/page_rank.Rd +++ b/man/page_rank.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centrality.R \name{page_rank} \alias{page_rank} -\alias{page.rank} \title{The Page Rank algorithm} \usage{ page_rank( diff --git a/man/path.length.hist.Rd b/man/path.length.hist.Rd new file mode 100644 index 00000000000..04e263c564b --- /dev/null +++ b/man/path.length.hist.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{path.length.hist} +\alias{path.length.hist} +\title{Shortest (directed or undirected) paths between vertices} +\usage{ +path.length.hist(graph, directed = TRUE) +} +\arguments{ +\item{graph}{The graph to work on.} + +\item{directed}{Whether to consider directed paths in directed graphs, +this argument is ignored for undirected graphs.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{path.length.hist()} was renamed to \code{distance_table()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/permute.Rd b/man/permute.Rd index 55ab931dba9..663f8ad0224 100644 --- a/man/permute.Rd +++ b/man/permute.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/topology.R \name{permute} \alias{permute} -\alias{permute.vertices} \title{Permute the vertices of a graph} \usage{ permute(graph, permutation) diff --git a/man/permute.vertices.Rd b/man/permute.vertices.Rd new file mode 100644 index 00000000000..80b2f4e7596 --- /dev/null +++ b/man/permute.vertices.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{permute.vertices} +\alias{permute.vertices} +\title{Permute the vertices of a graph} +\usage{ +permute.vertices(graph, permutation) +} +\arguments{ +\item{graph}{The input graph, it can directed or undirected.} + +\item{permutation}{A numeric vector giving the permutation to apply. The +first element is the new id of vertex 1, etc. Every number between one and +\code{vcount(graph)} must appear exactly once.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{permute.vertices()} was renamed to \code{permute()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/piecewise.layout.Rd b/man/piecewise.layout.Rd new file mode 100644 index 00000000000..b65fc7c4d36 --- /dev/null +++ b/man/piecewise.layout.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/layout.R +\name{piecewise.layout} +\alias{piecewise.layout} +\title{Merging graph layouts} +\usage{ +piecewise.layout(graph, layout = layout_with_kk, ...) +} +\arguments{ +\item{graph}{The input graph.} + +\item{layout}{A function object, the layout function to use.} + +\item{...}{Additional arguments to pass to the \code{layout} layout +function.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{piecewise.layout()} was renamed to \code{layout_components()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/plotHierarchy.Rd b/man/plotHierarchy.Rd new file mode 100644 index 00000000000..b14305576c5 --- /dev/null +++ b/man/plotHierarchy.Rd @@ -0,0 +1,27 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/cohesive.blocks.R +\name{plotHierarchy} +\alias{plotHierarchy} +\title{Calculate Cohesive Blocks} +\usage{ +plotHierarchy( + blocks, + layout = layout_as_tree(hierarchy(blocks), root = 1), + ... +) +} +\arguments{ +\item{layout}{The layout of a plot, it is simply passed on to +\code{plot.igraph()}, see the possible formats there. By default the +Reingold-Tilford layout generator is used.} + +\item{...}{Additional arguments. \code{plot_hierarchy()} and \code{\link[=plot]{plot()}} pass +them to \code{plot.igraph()}. \code{\link[=print]{print()}} and \code{\link[=summary]{summary()}} ignore them.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{plotHierarchy()} was renamed to \code{plot_hierarchy()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/plot_dendrogram.communities.Rd b/man/plot_dendrogram.communities.Rd index de6953aed79..908e07fb7b2 100644 --- a/man/plot_dendrogram.communities.Rd +++ b/man/plot_dendrogram.communities.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/community.R \name{plot_dendrogram} \alias{plot_dendrogram} -\alias{dendPlot} \alias{plot_dendrogram.communities} \title{Community structure dendrogram plots} \usage{ @@ -117,7 +116,6 @@ Community detection \code{\link{compare}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{split_join_distance}()} } diff --git a/man/plot_dendrogram.igraphHRG.Rd b/man/plot_dendrogram.igraphHRG.Rd index 65f7cc2d7ef..fd00e13ada4 100644 --- a/man/plot_dendrogram.igraphHRG.Rd +++ b/man/plot_dendrogram.igraphHRG.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/hrg.R \name{plot_dendrogram.igraphHRG} \alias{plot_dendrogram.igraphHRG} -\alias{hrg.dendrogram} \title{HRG dendrogram plot} \usage{ \method{plot_dendrogram}{igraphHRG}(x, mode = igraph_opt("dend.plot.type"), ...) diff --git a/man/power.law.fit.Rd b/man/power.law.fit.Rd new file mode 100644 index 00000000000..b898a61d501 --- /dev/null +++ b/man/power.law.fit.Rd @@ -0,0 +1,52 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/fit.R +\name{power.law.fit} +\alias{power.law.fit} +\title{Fitting a power-law distribution function to discrete data} +\usage{ +power.law.fit( + x, + xmin = NULL, + start = 2, + force.continuous = FALSE, + implementation = c("plfit", "R.mle"), + ... +) +} +\arguments{ +\item{x}{The data to fit, a numeric vector. For implementation +\sQuote{\code{R.mle}} the data must be integer values. For the +\sQuote{\code{plfit}} implementation non-integer values might be present and +then a continuous power-law distribution is fitted.} + +\item{xmin}{Numeric scalar, or \code{NULL}. The lower bound for fitting the +power-law. If \code{NULL}, the smallest value in \code{x} will be used for +the \sQuote{\code{R.mle}} implementation, and its value will be +automatically determined for the \sQuote{\code{plfit}} implementation. This +argument makes it possible to fit only the tail of the distribution.} + +\item{start}{Numeric scalar. The initial value of the exponent for the +minimizing function, for the \sQuote{\code{R.mle}} implementation. Usually +it is safe to leave this untouched.} + +\item{force.continuous}{Logical scalar. Whether to force a continuous +distribution for the \sQuote{\code{plfit}} implementation, even if the +sample vector contains integer values only (by chance). If this argument is +false, igraph will assume a continuous distribution if at least one sample +is non-integer and assume a discrete distribution otherwise.} + +\item{implementation}{Character scalar. Which implementation to use. See +details below.} + +\item{...}{Additional arguments, passed to the maximum likelihood +optimizing function, \code{\link[stats4:mle]{stats4::mle()}}, if the \sQuote{\code{R.mle}} +implementation is chosen. It is ignored by the \sQuote{\code{plfit}} +implementation.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{power.law.fit()} was renamed to \code{fit_power_law()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/power_centrality.Rd b/man/power_centrality.Rd index 410a6129c02..e046e60d069 100644 --- a/man/power_centrality.Rd +++ b/man/power_centrality.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centrality.R \name{power_centrality} \alias{power_centrality} -\alias{bonpow} \title{Find Bonacich Power Centrality Scores of Network Positions} \usage{ power_centrality( diff --git a/man/predict_edges.Rd b/man/predict_edges.Rd index 3d9afb2525d..219eee6edad 100644 --- a/man/predict_edges.Rd +++ b/man/predict_edges.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/hrg.R \name{predict_edges} \alias{predict_edges} -\alias{hrg.predict} \title{Predict edges based on a hierarchical random graph model} \usage{ predict_edges( diff --git a/man/preference.game.Rd b/man/preference.game.Rd new file mode 100644 index 00000000000..c24b04fd7ee --- /dev/null +++ b/man/preference.game.Rd @@ -0,0 +1,44 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{preference.game} +\alias{preference.game} +\title{Trait-based random generation} +\usage{ +preference.game( + nodes, + types, + type.dist = rep(1, types), + fixed.sizes = FALSE, + pref.matrix = matrix(1, types, types), + directed = FALSE, + loops = FALSE +) +} +\arguments{ +\item{nodes}{The number of vertices in the graphs.} + +\item{types}{The number of different vertex types.} + +\item{type.dist}{The distribution of the vertex types, a numeric vector of +length \sQuote{types} containing non-negative numbers. The vector will be +normed to obtain probabilities.} + +\item{fixed.sizes}{Fix the number of vertices with a given vertex type +label. The \code{type.dist} argument gives the group sizes (i.e. number of +vertices with the different labels) in this case.} + +\item{pref.matrix}{A square matrix giving the preferences of the vertex +types. The matrix has \sQuote{types} rows and columns. When generating +an undirected graph, it must be symmetric.} + +\item{directed}{Logical constant, whether to create a directed graph.} + +\item{loops}{Logical constant, whether self-loops are allowed in the graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{preference.game()} was renamed to \code{sample_pref()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/read.graph.Rd b/man/read.graph.Rd new file mode 100644 index 00000000000..57e9fb642f3 --- /dev/null +++ b/man/read.graph.Rd @@ -0,0 +1,33 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/foreign.R +\name{read.graph} +\alias{read.graph} +\title{Reading foreign file formats} +\usage{ +read.graph( + file, + format = c("edgelist", "pajek", "ncol", "lgl", "graphml", "dimacs", "graphdb", "gml", + "dl"), + ... +) +} +\arguments{ +\item{file}{The connection to read from. This can be a local file, or a +\code{http} or \code{ftp} connection. It can also be a character string with +the file name or URI.} + +\item{format}{Character constant giving the file format. Right now +\code{edgelist}, \code{pajek}, \code{ncol}, \code{lgl}, \code{graphml}, +\code{dimacs}, \code{graphdb}, \code{gml} and \code{dl} are supported, +the default is \code{edgelist}. As of igraph 0.4 this argument is case +insensitive.} + +\item{...}{Additional arguments, see below.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{read.graph()} was renamed to \code{read_graph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/read_graph.Rd b/man/read_graph.Rd index 7a84f549561..6cb6ec0b9a6 100644 --- a/man/read_graph.Rd +++ b/man/read_graph.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/foreign.R \name{read_graph} \alias{read_graph} -\alias{read.graph} \alias{LGL} \alias{Pajek} \alias{GraphML} diff --git a/man/remove.edge.attribute.Rd b/man/remove.edge.attribute.Rd new file mode 100644 index 00000000000..4f389a40df3 --- /dev/null +++ b/man/remove.edge.attribute.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/attributes.R +\name{remove.edge.attribute} +\alias{remove.edge.attribute} +\title{Delete an edge attribute} +\usage{ +remove.edge.attribute(graph, name) +} +\arguments{ +\item{graph}{The graph} + +\item{name}{The name of the edge attribute to delete.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{remove.edge.attribute()} was renamed to \code{delete_edge_attr()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/remove.graph.attribute.Rd b/man/remove.graph.attribute.Rd new file mode 100644 index 00000000000..3dda70b6f4f --- /dev/null +++ b/man/remove.graph.attribute.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/attributes.R +\name{remove.graph.attribute} +\alias{remove.graph.attribute} +\title{Delete a graph attribute} +\usage{ +remove.graph.attribute(graph, name) +} +\arguments{ +\item{graph}{The graph.} + +\item{name}{Name of the attribute to delete.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{remove.graph.attribute()} was renamed to \code{delete_graph_attr()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/remove.vertex.attribute.Rd b/man/remove.vertex.attribute.Rd new file mode 100644 index 00000000000..c59c10d9489 --- /dev/null +++ b/man/remove.vertex.attribute.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/attributes.R +\name{remove.vertex.attribute} +\alias{remove.vertex.attribute} +\title{Delete a vertex attribute} +\usage{ +remove.vertex.attribute(graph, name) +} +\arguments{ +\item{graph}{The graph} + +\item{name}{The name of the vertex attribute to delete.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{remove.vertex.attribute()} was renamed to \code{delete_vertex_attr()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/running.mean.Rd b/man/running.mean.Rd new file mode 100644 index 00000000000..40030a0d38f --- /dev/null +++ b/man/running.mean.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/other.R +\name{running.mean} +\alias{running.mean} +\title{Running mean of a time series} +\usage{ +running.mean(v, binwidth) +} +\arguments{ +\item{v}{The numeric vector.} + +\item{binwidth}{Numeric constant, the size of the bin, should be meaningful, +i.e. smaller than the length of \code{v}.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{running.mean()} was renamed to \code{running_mean()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/running_mean.Rd b/man/running_mean.Rd index 8ce0227c334..313d274fbbb 100644 --- a/man/running_mean.Rd +++ b/man/running_mean.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/other.R \name{running_mean} \alias{running_mean} -\alias{running.mean} \title{Running mean of a time series} \usage{ running_mean(v, binwidth) diff --git a/man/sample_bipartite.Rd b/man/sample_bipartite.Rd index bc9f490a82d..91e0781b878 100644 --- a/man/sample_bipartite.Rd +++ b/man/sample_bipartite.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/games.R \name{sample_bipartite} \alias{sample_bipartite} -\alias{bipartite.random.game} \alias{bipartite} \title{Bipartite random graphs} \usage{ diff --git a/man/sample_degseq.Rd b/man/sample_degseq.Rd index 1fb97e00443..09617df5d2b 100644 --- a/man/sample_degseq.Rd +++ b/man/sample_degseq.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/games.R \name{sample_degseq} \alias{sample_degseq} -\alias{degree.sequence.game} \alias{degseq} \title{Generate random graphs with a given degree sequence} \usage{ diff --git a/man/sample_fitness.Rd b/man/sample_fitness.Rd index 408b230ce79..b878dcb4739 100644 --- a/man/sample_fitness.Rd +++ b/man/sample_fitness.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/games.R \name{sample_fitness} \alias{sample_fitness} -\alias{static.fitness.game} \title{Random graphs from vertex fitness scores} \usage{ sample_fitness( diff --git a/man/sample_fitness_pl.Rd b/man/sample_fitness_pl.Rd index 8d7957e5744..eae1e4110b4 100644 --- a/man/sample_fitness_pl.Rd +++ b/man/sample_fitness_pl.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/games.R \name{sample_fitness_pl} \alias{sample_fitness_pl} -\alias{static.power.law.game} \title{Scale-free random graphs, from vertex fitness scores} \usage{ sample_fitness_pl( diff --git a/man/sample_forestfire.Rd b/man/sample_forestfire.Rd index db2a5534067..e88105558c2 100644 --- a/man/sample_forestfire.Rd +++ b/man/sample_forestfire.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/games.R \name{sample_forestfire} \alias{sample_forestfire} -\alias{forest.fire.game} \title{Forest Fire Network Model} \usage{ sample_forestfire(nodes, fw.prob, bw.factor = 1, ambs = 1, directed = TRUE) diff --git a/man/sample_grg.Rd b/man/sample_grg.Rd index 9ffec05cf94..7776d8991ca 100644 --- a/man/sample_grg.Rd +++ b/man/sample_grg.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/games.R \name{sample_grg} \alias{sample_grg} -\alias{grg.game} \alias{grg} \title{Geometric random graphs} \usage{ diff --git a/man/sample_growing.Rd b/man/sample_growing.Rd index 3119b02daeb..11147f02c65 100644 --- a/man/sample_growing.Rd +++ b/man/sample_growing.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/games.R \name{sample_growing} \alias{sample_growing} -\alias{growing.random.game} \alias{growing} \title{Growing random graph generation} \usage{ diff --git a/man/sample_hrg.Rd b/man/sample_hrg.Rd index d7a42233ea1..cfd9ac0b1ce 100644 --- a/man/sample_hrg.Rd +++ b/man/sample_hrg.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/hrg.R \name{sample_hrg} \alias{sample_hrg} -\alias{hrg.game} \title{Sample from a hierarchical random graph model} \usage{ sample_hrg(hrg) diff --git a/man/sample_islands.Rd b/man/sample_islands.Rd index 04dcf2d1f1b..a8f3e05bd4d 100644 --- a/man/sample_islands.Rd +++ b/man/sample_islands.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/games.R \name{sample_islands} \alias{sample_islands} -\alias{interconnected.islands.game} \title{A graph with subgraphs that are each a random graph.} \usage{ sample_islands(islands.n, islands.size, islands.pin, n.inter) diff --git a/man/sample_k_regular.Rd b/man/sample_k_regular.Rd index 6808ab72f48..ae53261bfad 100644 --- a/man/sample_k_regular.Rd +++ b/man/sample_k_regular.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/games.R \name{sample_k_regular} \alias{sample_k_regular} -\alias{k.regular.game} \title{Create a random regular graph} \usage{ sample_k_regular(no.of.nodes, k, directed = FALSE, multiple = FALSE) diff --git a/man/sample_last_cit.Rd b/man/sample_last_cit.Rd index e2cda97269d..acc92bf547c 100644 --- a/man/sample_last_cit.Rd +++ b/man/sample_last_cit.Rd @@ -2,9 +2,6 @@ % Please edit documentation in R/games.R \name{sample_last_cit} \alias{sample_last_cit} -\alias{cited.type.game} -\alias{citing.cited.type.game} -\alias{lastcit.game} \alias{last_cit} \alias{sample_cit_types} \alias{cit_types} diff --git a/man/sample_motifs.Rd b/man/sample_motifs.Rd index 3b1916d9e22..3d9eac4f8e1 100644 --- a/man/sample_motifs.Rd +++ b/man/sample_motifs.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/motifs.R \name{sample_motifs} \alias{sample_motifs} -\alias{graph.motifs.est} \title{Graph motifs} \usage{ sample_motifs( diff --git a/man/sample_pa.Rd b/man/sample_pa.Rd index c0b0834d8d0..f505f5d1b09 100644 --- a/man/sample_pa.Rd +++ b/man/sample_pa.Rd @@ -2,8 +2,6 @@ % Please edit documentation in R/games.R \name{sample_pa} \alias{sample_pa} -\alias{barabasi.game} -\alias{ba.game} \alias{pa} \title{Generate random graphs using preferential attachment} \usage{ diff --git a/man/sample_pa_age.Rd b/man/sample_pa_age.Rd index 71ea30266ce..0833b2f376f 100644 --- a/man/sample_pa_age.Rd +++ b/man/sample_pa_age.Rd @@ -2,9 +2,6 @@ % Please edit documentation in R/games.R \name{sample_pa_age} \alias{sample_pa_age} -\alias{aging.prefatt.game} -\alias{aging.barabasi.game} -\alias{aging.ba.game} \alias{pa_age} \title{Generate an evolving random graph with preferential attachment and aging} \usage{ diff --git a/man/sample_pref.Rd b/man/sample_pref.Rd index cda43d43054..c8b37f68ddf 100644 --- a/man/sample_pref.Rd +++ b/man/sample_pref.Rd @@ -2,8 +2,6 @@ % Please edit documentation in R/games.R \name{sample_pref} \alias{sample_pref} -\alias{preference.game} -\alias{asymmetric.preference.game} \alias{pref} \alias{sample_asym_pref} \alias{asym_pref} diff --git a/man/sample_sbm.Rd b/man/sample_sbm.Rd index a8eaa2ac568..c22bd156a21 100644 --- a/man/sample_sbm.Rd +++ b/man/sample_sbm.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/games.R \name{sample_sbm} \alias{sample_sbm} -\alias{sbm.game} \alias{sbm} \title{Sample stochastic block model} \usage{ diff --git a/man/sample_seq.Rd b/man/sample_seq.Rd index 85cfee64bc6..ba6e5fc58d5 100644 --- a/man/sample_seq.Rd +++ b/man/sample_seq.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/other.R \name{sample_seq} \alias{sample_seq} -\alias{igraph.sample} \title{Sampling a random integer sequence} \usage{ sample_seq(low, high, length) diff --git a/man/sample_smallworld.Rd b/man/sample_smallworld.Rd index c1752b7b435..d789ca2a90b 100644 --- a/man/sample_smallworld.Rd +++ b/man/sample_smallworld.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/games.R \name{sample_smallworld} \alias{sample_smallworld} -\alias{watts.strogatz.game} \alias{smallworld} \title{The Watts-Strogatz small-world model} \usage{ diff --git a/man/sample_traits_callaway.Rd b/man/sample_traits_callaway.Rd index a33699f0704..c49bfdeceae 100644 --- a/man/sample_traits_callaway.Rd +++ b/man/sample_traits_callaway.Rd @@ -2,8 +2,6 @@ % Please edit documentation in R/games.R \name{sample_traits_callaway} \alias{sample_traits_callaway} -\alias{callaway.traits.game} -\alias{establishment.game} \alias{traits_callaway} \alias{sample_traits} \alias{traits} diff --git a/man/sbm.game.Rd b/man/sbm.game.Rd new file mode 100644 index 00000000000..089b2f0ca79 --- /dev/null +++ b/man/sbm.game.Rd @@ -0,0 +1,31 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{sbm.game} +\alias{sbm.game} +\title{Sample stochastic block model} +\usage{ +sbm.game(n, pref.matrix, block.sizes, directed = FALSE, loops = FALSE) +} +\arguments{ +\item{n}{Number of vertices in the graph.} + +\item{pref.matrix}{The matrix giving the Bernoulli rates. This is a +\eqn{K\times K}{KxK} matrix, where \eqn{K} is the number of groups. The +probability of creating an edge between vertices from groups \eqn{i} and +\eqn{j} is given by element \eqn{(i,j)}. For undirected graphs, this matrix +must be symmetric.} + +\item{block.sizes}{Numeric vector giving the number of vertices in each +group. The sum of the vector must match the number of vertices.} + +\item{directed}{Logical scalar, whether to generate a directed graph.} + +\item{loops}{Logical scalar, whether self-loops are allowed in the graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{sbm.game()} was renamed to \code{sample_sbm()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/set.edge.attribute.Rd b/man/set.edge.attribute.Rd new file mode 100644 index 00000000000..eb72afa0059 --- /dev/null +++ b/man/set.edge.attribute.Rd @@ -0,0 +1,27 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/attributes.R +\name{set.edge.attribute} +\alias{set.edge.attribute} +\title{Set edge attributes} +\usage{ +set.edge.attribute(graph, name, index = E(graph), value) +} +\arguments{ +\item{graph}{The graph} + +\item{name}{The name of the attribute to set.} + +\item{index}{An optional edge sequence to set the attributes of +a subset of edges.} + +\item{value}{The new value of the attribute for all (or \code{index}) +edges. +If \code{NULL}, the input is returned unchanged.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{set.edge.attribute()} was renamed to \code{set_edge_attr()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/set.graph.attribute.Rd b/man/set.graph.attribute.Rd new file mode 100644 index 00000000000..8493701bf4e --- /dev/null +++ b/man/set.graph.attribute.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/attributes.R +\name{set.graph.attribute} +\alias{set.graph.attribute} +\title{Set a graph attribute} +\usage{ +set.graph.attribute(graph, name, value) +} +\arguments{ +\item{graph}{The graph.} + +\item{name}{The name of the attribute to set.} + +\item{value}{New value of the attribute.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{set.graph.attribute()} was renamed to \code{set_graph_attr()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/set.vertex.attribute.Rd b/man/set.vertex.attribute.Rd new file mode 100644 index 00000000000..ecbac313735 --- /dev/null +++ b/man/set.vertex.attribute.Rd @@ -0,0 +1,27 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/attributes.R +\name{set.vertex.attribute} +\alias{set.vertex.attribute} +\title{Set vertex attributes} +\usage{ +set.vertex.attribute(graph, name, index = V(graph), value) +} +\arguments{ +\item{graph}{The graph.} + +\item{name}{The name of the attribute to set.} + +\item{index}{An optional vertex sequence to set the attributes +of a subset of vertices.} + +\item{value}{The new value of the attribute for all (or \code{index}) +vertices. +If \code{NULL}, the input is returned unchanged.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{set.vertex.attribute()} was renamed to \code{set_vertex_attr()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/set_edge_attr.Rd b/man/set_edge_attr.Rd index d188cdc00bb..07e3552f444 100644 --- a/man/set_edge_attr.Rd +++ b/man/set_edge_attr.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/attributes.R \name{set_edge_attr} \alias{set_edge_attr} -\alias{set.edge.attribute} \title{Set edge attributes} \usage{ set_edge_attr(graph, name, index = E(graph), value) diff --git a/man/set_graph_attr.Rd b/man/set_graph_attr.Rd index 0675b573428..ab4d01bea15 100644 --- a/man/set_graph_attr.Rd +++ b/man/set_graph_attr.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/attributes.R \name{set_graph_attr} \alias{set_graph_attr} -\alias{set.graph.attribute} \title{Set a graph attribute} \usage{ set_graph_attr(graph, name, value) diff --git a/man/set_vertex_attr.Rd b/man/set_vertex_attr.Rd index 3c0ef7f9fd9..734c03d3bbf 100644 --- a/man/set_vertex_attr.Rd +++ b/man/set_vertex_attr.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/attributes.R \name{set_vertex_attr} \alias{set_vertex_attr} -\alias{set.vertex.attribute} \title{Set vertex attributes} \usage{ set_vertex_attr(graph, name, index = V(graph), value) diff --git a/man/shapes.Rd b/man/shapes.Rd index c7bcdd68e4e..22b10927f37 100644 --- a/man/shapes.Rd +++ b/man/shapes.Rd @@ -2,10 +2,6 @@ % Please edit documentation in R/plot.shapes.R \name{shapes} \alias{shapes} -\alias{add.vertex.shape} -\alias{igraph.shape.noclip} -\alias{igraph.shape.noplot} -\alias{vertex.shapes} \alias{igraph.vertex.shapes} \alias{shape_noclip} \alias{shape_noplot} diff --git a/man/shortest.paths.Rd b/man/shortest.paths.Rd new file mode 100644 index 00000000000..40394f4051a --- /dev/null +++ b/man/shortest.paths.Rd @@ -0,0 +1,56 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{shortest.paths} +\alias{shortest.paths} +\title{Shortest (directed or undirected) paths between vertices} +\usage{ +shortest.paths( + graph, + v = V(graph), + to = V(graph), + mode = c("all", "out", "in"), + weights = NULL, + algorithm = c("automatic", "unweighted", "dijkstra", "bellman-ford", "johnson") +) +} +\arguments{ +\item{graph}{The graph to work on.} + +\item{v}{Numeric vector, the vertices from which the shortest paths will be +calculated.} + +\item{to}{Numeric vector, the vertices to which the shortest paths will be +calculated. By default it includes all vertices. Note that for +\code{distances()} every vertex must be included here at most once. (This +is not required for \code{shortest_paths()}.} + +\item{mode}{Character constant, gives whether the shortest paths to or from +the given vertices should be calculated for directed graphs. If \code{out} +then the shortest paths \emph{from} the vertex, if \verb{in} then \emph{to} +it will be considered. If \code{all}, the default, then the corresponding +undirected graph will be used, i.e. not directed paths are searched. This +argument is ignored for undirected graphs.} + +\item{weights}{Possibly a numeric vector giving edge weights. If this is +\code{NULL} and the graph has a \code{weight} edge attribute, then the +attribute is used. If this is \code{NA} then no weights are used (even if +the graph has a \code{weight} attribute).} + +\item{algorithm}{Which algorithm to use for the calculation. By default +igraph tries to select the fastest suitable algorithm. If there are no +weights, then an unweighted breadth-first search is used, otherwise if all +weights are positive, then Dijkstra's algorithm is used. If there are +negative weights and we do the calculation for more than 100 sources, then +Johnson's algorithm is used. Otherwise the Bellman-Ford algorithm is used. +You can override igraph's choice by explicitly giving this parameter. Note +that the igraph C core might still override your choice in obvious cases, +i.e. if there are no edge weights, then the unweighted algorithm will be +used, regardless of this argument.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{shortest.paths()} was renamed to \code{distances()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/showtrace.Rd b/man/showtrace.Rd new file mode 100644 index 00000000000..79146916310 --- /dev/null +++ b/man/showtrace.Rd @@ -0,0 +1,15 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{showtrace} +\alias{showtrace} +\title{Functions to deal with the result of network community detection} +\usage{ +showtrace(communities) +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{showtrace()} was renamed to \code{show_trace()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/simplify.Rd b/man/simplify.Rd index 60cfcb6fe63..761cc95bf44 100644 --- a/man/simplify.Rd +++ b/man/simplify.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/simple.R \name{simplify} \alias{simplify} -\alias{is.simple} \alias{is_simple} \alias{simplify_and_colorize} \title{Simple graphs} diff --git a/man/spectrum.Rd b/man/spectrum.Rd index 244c1324372..ac73ca76c67 100644 --- a/man/spectrum.Rd +++ b/man/spectrum.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centrality.R \name{spectrum} \alias{spectrum} -\alias{graph.eigen} \alias{igraph.eigen.default} \title{Eigenvalues and eigenvectors of the adjacency matrix of a graph} \usage{ diff --git a/man/spinglass.community.Rd b/man/spinglass.community.Rd new file mode 100644 index 00000000000..055e2a2a4dd --- /dev/null +++ b/man/spinglass.community.Rd @@ -0,0 +1,94 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{spinglass.community} +\alias{spinglass.community} +\title{Finding communities in graphs based on statistical meachanics} +\usage{ +spinglass.community( + graph, + weights = NULL, + vertex = NULL, + spins = 25, + parupdate = FALSE, + start.temp = 1, + stop.temp = 0.01, + cool.fact = 0.99, + update.rule = c("config", "random", "simple"), + gamma = 1, + implementation = c("orig", "neg"), + gamma.minus = 1 +) +} +\arguments{ +\item{graph}{The input graph, can be directed but the direction of the edges +is neglected.} + +\item{weights}{The weights of the edges. It must be a positive numeric vector, +\code{NULL} or \code{NA}. If it is \code{NULL} and the input graph has a +\sQuote{weight} edge attribute, then that attribute will be used. If +\code{NULL} and no such attribute is present, then the edges will have equal +weights. Set this to \code{NA} if the graph was a \sQuote{weight} edge +attribute, but you don't want to use it for community detection. A larger +edge weight means a stronger connection for this function.} + +\item{vertex}{This parameter can be used to calculate the community of a +given vertex without calculating all communities. Note that if this argument +is present then some other arguments are ignored.} + +\item{spins}{Integer constant, the number of spins to use. This is the upper +limit for the number of communities. It is not a problem to supply a +(reasonably) big number here, in which case some spin states will be +unpopulated.} + +\item{parupdate}{Logical constant, whether to update the spins of the +vertices in parallel (synchronously) or not. This argument is ignored if the +second form of the function is used (i.e. the \sQuote{\code{vertex}} argument +is present). It is also not implemented in the \dQuote{neg} implementation.} + +\item{start.temp}{Real constant, the start temperature. This argument is +ignored if the second form of the function is used (i.e. the +\sQuote{\code{vertex}} argument is present).} + +\item{stop.temp}{Real constant, the stop temperature. The simulation +terminates if the temperature lowers below this level. This argument is +ignored if the second form of the function is used (i.e. the +\sQuote{\code{vertex}} argument is present).} + +\item{cool.fact}{Cooling factor for the simulated annealing. This argument +is ignored if the second form of the function is used (i.e. the +\sQuote{\code{vertex}} argument is present).} + +\item{update.rule}{Character constant giving the \sQuote{null-model} of the +simulation. Possible values: \dQuote{simple} and \dQuote{config}. +\dQuote{simple} uses a random graph with the same number of edges as the +baseline probability and \dQuote{config} uses a random graph with the same +vertex degrees as the input graph.} + +\item{gamma}{Real constant, the gamma argument of the algorithm. This +specifies the balance between the importance of present and non-present +edges in a community. Roughly, a comunity is a set of vertices having many +edges inside the community and few edges outside the community. The default +1.0 value makes existing and non-existing links equally important. Smaller +values make the existing links, greater values the missing links more +important.} + +\item{implementation}{Character scalar. Currently igraph contains two +implementations for the Spin-glass community finding algorithm. The faster +original implementation is the default. The other implementation, that takes +into account negative weights, can be chosen by supplying \sQuote{neg} here.} + +\item{gamma.minus}{Real constant, the gamma.minus parameter of the +algorithm. This specifies the balance between the importance of present and +non-present negative weighted edges in a community. Smaller values of +gamma.minus, leads to communities with lesser negative intra-connectivity. +If this argument is set to zero, the algorithm reduces to a graph coloring +algorithm, using the number of spins as the number of colors. This argument +is ignored if the \sQuote{orig} implementation is chosen.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{spinglass.community()} was renamed to \code{cluster_spinglass()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/split_join_distance.Rd b/man/split_join_distance.Rd index 241059882b1..35afa402751 100644 --- a/man/split_join_distance.Rd +++ b/man/split_join_distance.Rd @@ -58,7 +58,6 @@ Community detection \code{\link{compare}()}, \code{\link{groups}()}, \code{\link{make_clusters}()}, -\code{\link{membership}()}, \code{\link{modularity.igraph}()}, \code{\link{plot_dendrogram}()} } diff --git a/man/stCuts.Rd b/man/stCuts.Rd new file mode 100644 index 00000000000..5552349b828 --- /dev/null +++ b/man/stCuts.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{stCuts} +\alias{stCuts} +\title{List all (s,t)-cuts of a graph} +\usage{ +stCuts(graph, source, target) +} +\arguments{ +\item{graph}{The input graph. It must be directed.} + +\item{source}{The source vertex.} + +\item{target}{The target vertex.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{stCuts()} was renamed to \code{st_cuts()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/stMincuts.Rd b/man/stMincuts.Rd new file mode 100644 index 00000000000..ce7598ee5c6 --- /dev/null +++ b/man/stMincuts.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{stMincuts} +\alias{stMincuts} +\title{List all minimum \((s,t)\)-cuts of a graph} +\usage{ +stMincuts(graph, source, target, capacity = NULL) +} +\arguments{ +\item{graph}{The input graph. It must be directed.} + +\item{source}{The id of the source vertex.} + +\item{target}{The id of the target vertex.} + +\item{capacity}{Numeric vector giving the edge capacities. If this is +\code{NULL} and the graph has a \code{weight} edge attribute, then this +attribute defines the edge capacities. For forcing unit edge capacities, +even for graphs that have a \code{weight} edge attribute, supply \code{NA} +here.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{stMincuts()} was renamed to \code{st_min_cuts()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/st_cuts.Rd b/man/st_cuts.Rd index aa64d6fcf0a..fa62bed723c 100644 --- a/man/st_cuts.Rd +++ b/man/st_cuts.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/flow.R \name{st_cuts} \alias{st_cuts} -\alias{stCuts} \title{List all (s,t)-cuts of a graph} \usage{ st_cuts(graph, source, target) diff --git a/man/st_min_cuts.Rd b/man/st_min_cuts.Rd index 9faffb97551..deeed19ba77 100644 --- a/man/st_min_cuts.Rd +++ b/man/st_min_cuts.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/flow.R \name{st_min_cuts} \alias{st_min_cuts} -\alias{stMincuts} \title{List all minimum \eqn{(s,t)}-cuts of a graph} \usage{ st_min_cuts(graph, source, target, capacity = NULL) diff --git a/man/static.fitness.game.Rd b/man/static.fitness.game.Rd new file mode 100644 index 00000000000..94b6239823c --- /dev/null +++ b/man/static.fitness.game.Rd @@ -0,0 +1,39 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{static.fitness.game} +\alias{static.fitness.game} +\title{Random graphs from vertex fitness scores} +\usage{ +static.fitness.game( + no.of.edges, + fitness.out, + fitness.in = NULL, + loops = FALSE, + multiple = FALSE +) +} +\arguments{ +\item{no.of.edges}{The number of edges in the generated graph.} + +\item{fitness.out}{A numeric vector containing the fitness of each vertex. +For directed graphs, this specifies the out-fitness of each vertex.} + +\item{fitness.in}{If \code{NULL} (the default), the generated graph will be +undirected. If not \code{NULL}, then it should be a numeric vector and it +specifies the in-fitness of each vertex. + +If this argument is not \code{NULL}, then a directed graph is generated, +otherwise an undirected one.} + +\item{loops}{Logical scalar, whether to allow loop edges in the graph.} + +\item{multiple}{Logical scalar, whether to allow multiple edges in the +graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{static.fitness.game()} was renamed to \code{sample_fitness()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/static.power.law.game.Rd b/man/static.power.law.game.Rd new file mode 100644 index 00000000000..b05fc595e98 --- /dev/null +++ b/man/static.power.law.game.Rd @@ -0,0 +1,47 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{static.power.law.game} +\alias{static.power.law.game} +\title{Scale-free random graphs, from vertex fitness scores} +\usage{ +static.power.law.game( + no.of.nodes, + no.of.edges, + exponent.out, + exponent.in = -1, + loops = FALSE, + multiple = FALSE, + finite.size.correction = TRUE +) +} +\arguments{ +\item{no.of.nodes}{The number of vertices in the generated graph.} + +\item{no.of.edges}{The number of edges in the generated graph.} + +\item{exponent.out}{Numeric scalar, the power law exponent of the degree +distribution. For directed graphs, this specifies the exponent of the +out-degree distribution. It must be greater than or equal to 2. If you pass +\code{Inf} here, you will get back an Erdős-Rényi random network.} + +\item{exponent.in}{Numeric scalar. If negative, the generated graph will be +undirected. If greater than or equal to 2, this argument specifies the +exponent of the in-degree distribution. If non-negative but less than 2, an +error will be generated.} + +\item{loops}{Logical scalar, whether to allow loop edges in the generated +graph.} + +\item{multiple}{Logical scalar, whether to allow multiple edges in the +generated graph.} + +\item{finite.size.correction}{Logical scalar, whether to use the proposed +finite size correction of Cho et al., see references below.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{static.power.law.game()} was renamed to \code{sample_fitness_pl()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/stochastic_matrix.Rd b/man/stochastic_matrix.Rd index d74452b064a..678ff019307 100644 --- a/man/stochastic_matrix.Rd +++ b/man/stochastic_matrix.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/scg.R \name{stochastic_matrix} \alias{stochastic_matrix} -\alias{get.stochastic} \title{Stochastic matrix of a graph} \usage{ stochastic_matrix( diff --git a/man/strength.Rd b/man/strength.Rd index 38d97b00ca1..ea853bb4b7f 100644 --- a/man/strength.Rd +++ b/man/strength.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centrality.R \name{strength} \alias{strength} -\alias{graph.strength} \title{Strength or weighted vertex degree} \usage{ strength( diff --git a/man/subgraph.Rd b/man/subgraph.Rd index c60fb3f26ba..4afd0f7fc95 100644 --- a/man/subgraph.Rd +++ b/man/subgraph.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/structural.properties.R \name{subgraph} \alias{subgraph} -\alias{induced.subgraph} \alias{subgraph.edges} \alias{induced_subgraph} \title{Subgraph of a graph} diff --git a/man/subgraph.centrality.Rd b/man/subgraph.centrality.Rd new file mode 100644 index 00000000000..f685b21612d --- /dev/null +++ b/man/subgraph.centrality.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/centrality.R +\name{subgraph.centrality} +\alias{subgraph.centrality} +\title{Find subgraph centrality scores of network positions} +\usage{ +subgraph.centrality(graph, diag = FALSE) +} +\arguments{ +\item{graph}{The input graph, it should be undirected, but the +implementation does not check this currently.} + +\item{diag}{Boolean scalar, whether to include the diagonal of the adjacency +matrix in the analysis. Giving \code{FALSE} here effectively eliminates the +loops edges from the graph before the calculation.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{subgraph.centrality()} was renamed to \code{subgraph_centrality()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/subgraph_centrality.Rd b/man/subgraph_centrality.Rd index ff9fe09634f..878fa20201e 100644 --- a/man/subgraph_centrality.Rd +++ b/man/subgraph_centrality.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/centrality.R \name{subgraph_centrality} \alias{subgraph_centrality} -\alias{subgraph.centrality} \title{Find subgraph centrality scores of network positions} \usage{ subgraph_centrality(graph, diag = FALSE) diff --git a/man/tkplot.Rd b/man/tkplot.Rd index 36139112173..4ae97c0f87f 100644 --- a/man/tkplot.Rd +++ b/man/tkplot.Rd @@ -2,16 +2,6 @@ % Please edit documentation in R/tkplot.R \name{tkplot} \alias{tkplot} -\alias{tkplot.close} -\alias{tkplot.off} -\alias{tkplot.fit.to.screen} -\alias{tkplot.reshape} -\alias{tkplot.export.postscript} -\alias{tkplot.canvas} -\alias{tkplot.getcoords} -\alias{tkplot.setcoords} -\alias{tkplot.center} -\alias{tkplot.rotate} \alias{tk_close} \alias{tk_off} \alias{tk_fit} @@ -154,6 +144,8 @@ vertex. \code{tk_rotate()} rotates the figure, its parameter can be given either in degrees or in radians. + +tkplot.center tkplot.rotate } \section{Examples}{ diff --git a/man/tkplot.canvas.Rd b/man/tkplot.canvas.Rd new file mode 100644 index 00000000000..f8b133b1750 --- /dev/null +++ b/man/tkplot.canvas.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/tkplot.R +\name{tkplot.canvas} +\alias{tkplot.canvas} +\title{Interactive plotting of graphs} +\usage{ +tkplot.canvas(tkp.id) +} +\arguments{ +\item{tkp.id}{The id of the tkplot window to close/reshape/etc.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{tkplot.canvas()} was renamed to \code{tk_canvas()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/tkplot.center.Rd b/man/tkplot.center.Rd new file mode 100644 index 00000000000..65bed3a600e --- /dev/null +++ b/man/tkplot.center.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/tkplot.R +\name{tkplot.center} +\alias{tkplot.center} +\title{Interactive plotting of graphs} +\usage{ +tkplot.center(tkp.id) +} +\arguments{ +\item{tkp.id}{The id of the tkplot window to close/reshape/etc.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{tkplot.center()} was renamed to \code{tk_center()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/tkplot.close.Rd b/man/tkplot.close.Rd new file mode 100644 index 00000000000..a8caffb03e7 --- /dev/null +++ b/man/tkplot.close.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/tkplot.R +\name{tkplot.close} +\alias{tkplot.close} +\title{Interactive plotting of graphs} +\usage{ +tkplot.close(tkp.id, window.close = TRUE) +} +\arguments{ +\item{tkp.id}{The id of the tkplot window to close/reshape/etc.} + +\item{window.close}{Leave this on the default value.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{tkplot.close()} was renamed to \code{tk_close()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/tkplot.export.postscript.Rd b/man/tkplot.export.postscript.Rd new file mode 100644 index 00000000000..7b507d049c2 --- /dev/null +++ b/man/tkplot.export.postscript.Rd @@ -0,0 +1,18 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/tkplot.R +\name{tkplot.export.postscript} +\alias{tkplot.export.postscript} +\title{Interactive plotting of graphs} +\usage{ +tkplot.export.postscript(tkp.id) +} +\arguments{ +\item{tkp.id}{The id of the tkplot window to close/reshape/etc.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{tkplot.export.postscript()} was renamed to \code{tk_postscript()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/tkplot.fit.to.screen.Rd b/man/tkplot.fit.to.screen.Rd new file mode 100644 index 00000000000..890c21acacf --- /dev/null +++ b/man/tkplot.fit.to.screen.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/tkplot.R +\name{tkplot.fit.to.screen} +\alias{tkplot.fit.to.screen} +\title{Interactive plotting of graphs} +\usage{ +tkplot.fit.to.screen(tkp.id, width = NULL, height = NULL) +} +\arguments{ +\item{tkp.id}{The id of the tkplot window to close/reshape/etc.} + +\item{width}{The width of the rectangle for generating new coordinates.} + +\item{height}{The height of the rectangle for generating new coordinates.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{tkplot.fit.to.screen()} was renamed to \code{tk_fit()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/tkplot.getcoords.Rd b/man/tkplot.getcoords.Rd new file mode 100644 index 00000000000..764eaa37184 --- /dev/null +++ b/man/tkplot.getcoords.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/tkplot.R +\name{tkplot.getcoords} +\alias{tkplot.getcoords} +\title{Interactive plotting of graphs} +\usage{ +tkplot.getcoords(tkp.id, norm = FALSE) +} +\arguments{ +\item{tkp.id}{The id of the tkplot window to close/reshape/etc.} + +\item{norm}{Logical, should we norm the coordinates.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{tkplot.getcoords()} was renamed to \code{tk_coords()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/tkplot.off.Rd b/man/tkplot.off.Rd new file mode 100644 index 00000000000..af466411dbf --- /dev/null +++ b/man/tkplot.off.Rd @@ -0,0 +1,15 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/tkplot.R +\name{tkplot.off} +\alias{tkplot.off} +\title{Interactive plotting of graphs} +\usage{ +tkplot.off() +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{tkplot.off()} was renamed to \code{tk_off()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/tkplot.reshape.Rd b/man/tkplot.reshape.Rd new file mode 100644 index 00000000000..00720067f46 --- /dev/null +++ b/man/tkplot.reshape.Rd @@ -0,0 +1,25 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/tkplot.R +\name{tkplot.reshape} +\alias{tkplot.reshape} +\title{Interactive plotting of graphs} +\usage{ +tkplot.reshape(tkp.id, newlayout, ..., params) +} +\arguments{ +\item{tkp.id}{The id of the tkplot window to close/reshape/etc.} + +\item{newlayout}{The new layout, see the \code{layout} parameter of tkplot.} + +\item{...}{Additional plotting parameters. See \link{igraph.plotting} for +the complete list.} + +\item{params}{Extra parameters in a list, to pass to the layout function.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{tkplot.reshape()} was renamed to \code{tk_reshape()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/tkplot.rotate.Rd b/man/tkplot.rotate.Rd new file mode 100644 index 00000000000..229bb59db4c --- /dev/null +++ b/man/tkplot.rotate.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/tkplot.R +\name{tkplot.rotate} +\alias{tkplot.rotate} +\title{Interactive plotting of graphs} +\usage{ +tkplot.rotate(tkp.id, degree = NULL, rad = NULL) +} +\arguments{ +\item{tkp.id}{The id of the tkplot window to close/reshape/etc.} + +\item{degree}{The degree to rotate the plot.} + +\item{rad}{The degree to rotate the plot, in radian.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{tkplot.rotate()} was renamed to \code{tk_rotate()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/tkplot.setcoords.Rd b/man/tkplot.setcoords.Rd new file mode 100644 index 00000000000..f3004ecf881 --- /dev/null +++ b/man/tkplot.setcoords.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/tkplot.R +\name{tkplot.setcoords} +\alias{tkplot.setcoords} +\title{Interactive plotting of graphs} +\usage{ +tkplot.setcoords(tkp.id, coords) +} +\arguments{ +\item{tkp.id}{The id of the tkplot window to close/reshape/etc.} + +\item{coords}{Two-column numeric matrix, the new coordinates of the +vertices, in absolute coordinates.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{tkplot.setcoords()} was renamed to \code{tk_set_coords()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/topo_sort.Rd b/man/topo_sort.Rd index 9bf97c3fa5e..db5dcd5cd88 100644 --- a/man/topo_sort.Rd +++ b/man/topo_sort.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/structural.properties.R \name{topo_sort} \alias{topo_sort} -\alias{topological.sort} \title{Topological sorting of vertices in a graph} \usage{ topo_sort(graph, mode = c("out", "all", "in")) diff --git a/man/topological.sort.Rd b/man/topological.sort.Rd new file mode 100644 index 00000000000..fc2e4a64701 --- /dev/null +++ b/man/topological.sort.Rd @@ -0,0 +1,24 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{topological.sort} +\alias{topological.sort} +\title{Topological sorting of vertices in a graph} +\usage{ +topological.sort(graph, mode = c("out", "all", "in")) +} +\arguments{ +\item{graph}{The input graph, should be directed} + +\item{mode}{Specifies how to use the direction of the edges. For +\dQuote{\code{out}}, the sorting order ensures that each node comes before +all nodes to which it has edges, so nodes with no incoming edges go first. +For \dQuote{\verb{in}}, it is quite the opposite: each node comes before all +nodes from which it receives edges. Nodes with no outgoing edges go first.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{topological.sort()} was renamed to \code{topo_sort()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/triad.census.Rd b/man/triad.census.Rd new file mode 100644 index 00000000000..02312e1b353 --- /dev/null +++ b/man/triad.census.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/aaa-NOT-auto.R +\name{triad.census} +\alias{triad.census} +\title{Triad census, subgraphs with three vertices} +\usage{ +triad.census(graph) +} +\arguments{ +\item{graph}{The input graph, it should be directed. An undirected graph +results a warning, and undefined results.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{triad.census()} was renamed to \code{triad_census()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/triad_census.Rd b/man/triad_census.Rd index 1c06b3a361c..04de4ec2e2c 100644 --- a/man/triad_census.Rd +++ b/man/triad_census.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/motifs.R \name{triad_census} \alias{triad_census} -\alias{triad.census} \title{Triad census, subgraphs with three vertices} \usage{ triad_census(graph) diff --git a/man/unfold.tree.Rd b/man/unfold.tree.Rd new file mode 100644 index 00000000000..7675f402c61 --- /dev/null +++ b/man/unfold.tree.Rd @@ -0,0 +1,26 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/structural.properties.R +\name{unfold.tree} +\alias{unfold.tree} +\title{Convert a general graph into a forest} +\usage{ +unfold.tree(graph, mode = c("all", "out", "in", "total"), roots) +} +\arguments{ +\item{graph}{The input graph, it can be either directed or undirected.} + +\item{mode}{Character string, defined the types of the paths used for the +breadth-first search. \dQuote{out} follows the outgoing, \dQuote{in} the +incoming edges, \dQuote{all} and \dQuote{total} both of them. This argument +is ignored for undirected graphs.} + +\item{roots}{A vector giving the vertices from which the breadth-first +search is performed. Typically it contains one vertex per component.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{unfold.tree()} was renamed to \code{unfold_tree()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/unfold_tree.Rd b/man/unfold_tree.Rd index 78b1fd5fd7a..515b91a95c9 100644 --- a/man/unfold_tree.Rd +++ b/man/unfold_tree.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/structural.properties.R \name{unfold_tree} \alias{unfold_tree} -\alias{unfold.tree} \title{Convert a general graph into a forest} \usage{ unfold_tree(graph, mode = c("all", "out", "in", "total"), roots) diff --git a/man/union.igraph.Rd b/man/union.igraph.Rd index 60fb4d413d4..f5d87f16f36 100644 --- a/man/union.igraph.Rd +++ b/man/union.igraph.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/operators.R \name{union.igraph} \alias{union.igraph} -\alias{graph.union} \alias{\%u\%} \title{Union of graphs} \usage{ diff --git a/man/vertex.connectivity.Rd b/man/vertex.connectivity.Rd new file mode 100644 index 00000000000..b4dd0a34a01 --- /dev/null +++ b/man/vertex.connectivity.Rd @@ -0,0 +1,30 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/flow.R +\name{vertex.connectivity} +\alias{vertex.connectivity} +\title{Vertex connectivity} +\usage{ +vertex.connectivity(graph, source = NULL, target = NULL, checks = TRUE) +} +\arguments{ +\item{source}{The id of the source vertex, for \code{vertex_connectivity()} it +can be \code{NULL}, see details below.} + +\item{target}{The id of the target vertex, for \code{vertex_connectivity()} it +can be \code{NULL}, see details below.} + +\item{checks}{Logical constant. Whether to check that the graph is connected +and also the degree of the vertices. If the graph is not (strongly) +connected then the connectivity is obviously zero. Otherwise if the minimum +degree is one then the vertex connectivity is also one. It is a good idea to +perform these checks, as they can be done quickly compared to the +connectivity calculation itself. They were suggested by Peter McMahan, +thanks Peter.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{vertex.connectivity()} was renamed to \code{vertex_connectivity()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/vertex.disjoint.paths.Rd b/man/vertex.disjoint.paths.Rd new file mode 100644 index 00000000000..e3c6cf5f058 --- /dev/null +++ b/man/vertex.disjoint.paths.Rd @@ -0,0 +1,22 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/flow.R +\name{vertex.disjoint.paths} +\alias{vertex.disjoint.paths} +\title{Vertex connectivity} +\usage{ +vertex.disjoint.paths(graph, source = NULL, target = NULL) +} +\arguments{ +\item{source}{The id of the source vertex, for \code{vertex_connectivity()} it +can be \code{NULL}, see details below.} + +\item{target}{The id of the target vertex, for \code{vertex_connectivity()} it +can be \code{NULL}, see details below.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{vertex.disjoint.paths()} was renamed to \code{vertex_disjoint_paths()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/vertex.shapes.Rd b/man/vertex.shapes.Rd new file mode 100644 index 00000000000..df20602a963 --- /dev/null +++ b/man/vertex.shapes.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/plot.shapes.R +\name{vertex.shapes} +\alias{vertex.shapes} +\title{Various vertex shapes when plotting igraph graphs} +\usage{ +vertex.shapes(shape = NULL) +} +\arguments{ +\item{shape}{Character scalar, name of a vertex shape. If it is +\code{NULL} for \code{shapes()}, then the names of all defined +vertex shapes are returned.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{vertex.shapes()} was renamed to \code{shapes()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/vertex_attr.Rd b/man/vertex_attr.Rd index 04b04357df4..7c479865fde 100644 --- a/man/vertex_attr.Rd +++ b/man/vertex_attr.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/attributes.R \name{vertex_attr} \alias{vertex_attr} -\alias{get.vertex.attribute} \alias{vertex.attributes} \title{Query vertex attributes of a graph} \usage{ diff --git a/man/vertex_attr_names.Rd b/man/vertex_attr_names.Rd index d62dcfd92e2..52baa61942a 100644 --- a/man/vertex_attr_names.Rd +++ b/man/vertex_attr_names.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/attributes.R \name{vertex_attr_names} \alias{vertex_attr_names} -\alias{list.vertex.attributes} \title{List names of vertex attributes} \usage{ vertex_attr_names(graph) diff --git a/man/vertex_connectivity.Rd b/man/vertex_connectivity.Rd index b8f42df7783..5fd50484fe7 100644 --- a/man/vertex_connectivity.Rd +++ b/man/vertex_connectivity.Rd @@ -2,10 +2,7 @@ % Please edit documentation in R/flow.R \name{vertex_connectivity} \alias{vertex_connectivity} -\alias{vertex.connectivity} -\alias{vertex.disjoint.paths} \alias{cohesion} -\alias{graph.cohesion} \alias{vertex_disjoint_paths} \alias{cohesion.igraph} \title{Vertex connectivity} diff --git a/man/walktrap.community.Rd b/man/walktrap.community.Rd new file mode 100644 index 00000000000..b428fa705cc --- /dev/null +++ b/man/walktrap.community.Rd @@ -0,0 +1,47 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/community.R +\name{walktrap.community} +\alias{walktrap.community} +\title{Community structure via short random walks} +\usage{ +walktrap.community( + graph, + weights = NULL, + steps = 4, + merges = TRUE, + modularity = TRUE, + membership = TRUE +) +} +\arguments{ +\item{graph}{The input graph, edge directions are ignored in directed +graphs.} + +\item{weights}{The weights of the edges. It must be a positive numeric vector, +\code{NULL} or \code{NA}. If it is \code{NULL} and the input graph has a +\sQuote{weight} edge attribute, then that attribute will be used. If +\code{NULL} and no such attribute is present, then the edges will have equal +weights. Set this to \code{NA} if the graph was a \sQuote{weight} edge +attribute, but you don't want to use it for community detection. Larger edge +weights increase the probability that an edge is selected by the random +walker. In other words, larger edge weights correspond to stronger connections.} + +\item{steps}{The length of the random walks to perform.} + +\item{merges}{Logical scalar, whether to include the merge matrix in the +result.} + +\item{modularity}{Logical scalar, whether to include the vector of the +modularity scores in the result. If the \code{membership} argument is true, +then it will always be calculated.} + +\item{membership}{Logical scalar, whether to calculate the membership vector +for the split corresponding to the highest modularity value.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{walktrap.community()} was renamed to \code{cluster_walktrap()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/watts.strogatz.game.Rd b/man/watts.strogatz.game.Rd new file mode 100644 index 00000000000..866efb74b2e --- /dev/null +++ b/man/watts.strogatz.game.Rd @@ -0,0 +1,31 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/games.R +\name{watts.strogatz.game} +\alias{watts.strogatz.game} +\title{The Watts-Strogatz small-world model} +\usage{ +watts.strogatz.game(dim, size, nei, p, loops = FALSE, multiple = FALSE) +} +\arguments{ +\item{dim}{Integer constant, the dimension of the starting lattice.} + +\item{size}{Integer constant, the size of the lattice along each dimension.} + +\item{nei}{Integer constant, the neighborhood within which the vertices of +the lattice will be connected.} + +\item{p}{Real constant between zero and one, the rewiring probability.} + +\item{loops}{Logical scalar, whether loops edges are allowed in the +generated graph.} + +\item{multiple}{Logical scalar, whether multiple edges are allowed int the +generated graph.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{watts.strogatz.game()} was renamed to \code{sample_smallworld()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/which_multiple.Rd b/man/which_multiple.Rd index d2da0f5a3e9..14f9141dada 100644 --- a/man/which_multiple.Rd +++ b/man/which_multiple.Rd @@ -2,10 +2,6 @@ % Please edit documentation in R/structural.properties.R \name{which_multiple} \alias{which_multiple} -\alias{has.multiple} -\alias{is.loop} -\alias{is.multiple} -\alias{count.multiple} \alias{any_multiple} \alias{count_multiple} \alias{which_loop} diff --git a/man/which_mutual.Rd b/man/which_mutual.Rd index 866184c56e9..4b604fc10bd 100644 --- a/man/which_mutual.Rd +++ b/man/which_mutual.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/structural.properties.R \name{which_mutual} \alias{which_mutual} -\alias{is.mutual} \title{Find mutual edges in a directed graph} \usage{ which_mutual(graph, eids = E(graph)) diff --git a/man/write.graph.Rd b/man/write.graph.Rd new file mode 100644 index 00000000000..75798fb66c9 --- /dev/null +++ b/man/write.graph.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/foreign.R +\name{write.graph} +\alias{write.graph} +\title{Writing the graph to a file in some format} +\usage{ +write.graph( + graph, + file, + format = c("edgelist", "pajek", "ncol", "lgl", "graphml", "dimacs", "gml", "dot", + "leda"), + ... +) +} +\arguments{ +\item{graph}{The graph to export.} + +\item{file}{A connection or a string giving the file name to write the graph +to.} + +\item{format}{Character string giving the file format. Right now +\code{pajek}, \code{graphml}, \code{dot}, \code{gml}, \code{edgelist}, +\code{lgl}, \code{ncol} and \code{dimacs} are implemented. As of igraph 0.4 +this argument is case insensitive.} + +\item{...}{Other, format specific arguments, see below.} +} +\description{ +\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} + +\code{write.graph()} was renamed to \code{write_graph()} to create a more +consistent API. +} +\keyword{internal} diff --git a/man/write_graph.Rd b/man/write_graph.Rd index f5c98829700..891d8b06c1c 100644 --- a/man/write_graph.Rd +++ b/man/write_graph.Rd @@ -2,7 +2,6 @@ % Please edit documentation in R/foreign.R \name{write_graph} \alias{write_graph} -\alias{write.graph} \title{Writing the graph to a file in some format} \usage{ write_graph( From a336806f1cd64573a4705f1bc8b966ac1e53b07d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 27 Nov 2023 08:52:20 +0100 Subject: [PATCH 10/20] rm stray alias --- R/cohesive.blocks.R | 1 - man/cohesive_blocks.Rd | 1 - 2 files changed, 2 deletions(-) diff --git a/R/cohesive.blocks.R b/R/cohesive.blocks.R index bba12be9146..cfa0f185a2f 100644 --- a/R/cohesive.blocks.R +++ b/R/cohesive.blocks.R @@ -111,7 +111,6 @@ #' @aliases cohesiveBlocks blocks #' @aliases hierarchy parent export_pajek plot.cohesiveBlocks #' summary.cohesiveBlocks length.cohesiveBlocks print.cohesiveBlocks -#' exportPajek #' @param graph For `cohesive_blocks()` a graph object of class #' `igraph`. It must be undirected and simple. (See #' [is_simple()].) diff --git a/man/cohesive_blocks.Rd b/man/cohesive_blocks.Rd index 6d007cb908b..84ce39caa53 100644 --- a/man/cohesive_blocks.Rd +++ b/man/cohesive_blocks.Rd @@ -11,7 +11,6 @@ \alias{summary.cohesiveBlocks} \alias{length.cohesiveBlocks} \alias{print.cohesiveBlocks} -\alias{exportPajek} \alias{graphs_from_cohesive_blocks} \alias{cohesion.cohesiveBlocks} \alias{plot_hierarchy} From 6a14368f9ab6405bab30342fa81fb358afc9a9ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 27 Nov 2023 09:01:17 +0100 Subject: [PATCH 11/20] Remove old methods like @krlmlr in b20a22416cc7e52c6840998ab703c866fe935293 --- NAMESPACE | 2 -- R/community.R | 15 --------------- R/hrg.R | 15 --------------- man/dendPlot.communities.Rd | 35 ----------------------------------- man/dendPlot.igraphHRG.Rd | 24 ------------------------ 5 files changed, 91 deletions(-) delete mode 100644 man/dendPlot.communities.Rd delete mode 100644 man/dendPlot.igraphHRG.Rd diff --git a/NAMESPACE b/NAMESPACE index a7891fb17d7..2237e9bca29 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -287,8 +287,6 @@ export(delete_graph_attr) export(delete_vertex_attr) export(delete_vertices) export(dendPlot) -export(dendPlot.communities) -export(dendPlot.igraphHRG) export(dfs) export(diameter) export(difference) diff --git a/R/community.R b/R/community.R index 7dbe7a68e32..af8c0491899 100644 --- a/R/community.R +++ b/R/community.R @@ -2424,21 +2424,6 @@ plot_dendrogram.communities <- function(x, } } -#' Community structure dendrogram plots -#' -#' @description -#' `r lifecycle::badge("deprecated")` -#' -#' `dendPlot.communities()` was renamed to `plot_dendrogram.communities()` to create a more -#' consistent API. -#' @inheritParams plot_dendrogram.communities -#' @keywords internal -#' @export -dendPlot.communities <- function(x , mode = igraph_opt("dend.plot.type") , ... , use.modularity = FALSE , palette = categorical_pal(8)) { # nocov start - lifecycle::deprecate_soft("1.6.0", "dendPlot.communities()", "plot_dendrogram.communities()") - plot_dendrogram.communities(x = x, mode = mode, use.modularity = use.modularity, palette = palette, ...) -} # nocov end - #' @importFrom grDevices palette #' @importFrom graphics plot #' @importFrom stats rect.hclust diff --git a/R/hrg.R b/R/hrg.R index b196e841f90..3a4624b0ad0 100644 --- a/R/hrg.R +++ b/R/hrg.R @@ -631,21 +631,6 @@ plot_dendrogram.igraphHRG <- function(x, mode = igraph_opt("dend.plot.type"), .. } } -#' HRG dendrogram plot -#' -#' @description -#' `r lifecycle::badge("deprecated")` -#' -#' `dendPlot.igraphHRG()` was renamed to `plot_dendrogram.igraphHRG()` to create a more -#' consistent API. -#' @inheritParams plot_dendrogram.igraphHRG -#' @keywords internal -#' @export -dendPlot.igraphHRG <- function(x , mode = igraph_opt("dend.plot.type") , ...) { # nocov start - lifecycle::deprecate_soft("1.6.0", "dendPlot.igraphHRG()", "plot_dendrogram.igraphHRG()") - plot_dendrogram.igraphHRG(x = x, mode = mode, ...) -} # nocov end - #' @importFrom graphics plot #' @importFrom grDevices rainbow #' @importFrom stats rect.hclust diff --git a/man/dendPlot.communities.Rd b/man/dendPlot.communities.Rd deleted file mode 100644 index 7d107c741de..00000000000 --- a/man/dendPlot.communities.Rd +++ /dev/null @@ -1,35 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/community.R -\name{dendPlot.communities} -\alias{dendPlot.communities} -\title{Community structure dendrogram plots} -\usage{ -dendPlot.communities( - x, - mode = igraph_opt("dend.plot.type"), - ..., - use.modularity = FALSE, - palette = categorical_pal(8) -) -} -\arguments{ -\item{x}{An object containing the community structure of a graph. See -\code{\link[=communities]{communities()}} for details.} - -\item{mode}{Which dendrogram plotting function to use. See details below.} - -\item{...}{Additional arguments to supply to the dendrogram plotting -function.} - -\item{use.modularity}{Logical scalar, whether to use the modularity values -to define the height of the branches.} - -\item{palette}{The color palette to use for colored plots.} -} -\description{ -\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} - -\code{dendPlot.communities()} was renamed to \code{plot_dendrogram.communities()} to create a more -consistent API. -} -\keyword{internal} diff --git a/man/dendPlot.igraphHRG.Rd b/man/dendPlot.igraphHRG.Rd deleted file mode 100644 index ba889187136..00000000000 --- a/man/dendPlot.igraphHRG.Rd +++ /dev/null @@ -1,24 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/hrg.R -\name{dendPlot.igraphHRG} -\alias{dendPlot.igraphHRG} -\title{HRG dendrogram plot} -\usage{ -dendPlot.igraphHRG(x, mode = igraph_opt("dend.plot.type"), ...) -} -\arguments{ -\item{x}{An \code{igraphHRG}, a hierarchical random graph, as returned by -the \code{\link[=fit_hrg]{fit_hrg()}} function.} - -\item{mode}{Which dendrogram plotting function to use. See details below.} - -\item{...}{Additional arguments to supply to the dendrogram plotting -function.} -} -\description{ -\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} - -\code{dendPlot.igraphHRG()} was renamed to \code{plot_dendrogram.igraphHRG()} to create a more -consistent API. -} -\keyword{internal} From e409c1ed76588a76a05b4928b3924cb3526ccb4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 27 Nov 2023 09:59:16 +0100 Subject: [PATCH 12/20] manually replace deprecated is.igraph --- R/scan.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/scan.R b/R/scan.R index 6b2024f9cb9..52d5d830291 100644 --- a/R/scan.R +++ b/R/scan.R @@ -106,10 +106,10 @@ local_scan <- function(graph.us, graph.them = NULL, k = 1, FUN = NULL, weighted = FALSE, mode = c("out", "in", "all"), neighborhoods = NULL, ...) { ## Must be igraph object - stopifnot(is.igraph(graph.us)) + stopifnot(is_igraph(graph.us)) ## Must be NULL or igraph object - stopifnot(is.null(graph.them) || is.igraph(graph.them)) + stopifnot(is.null(graph.them) || is_igraph(graph.them)) ## If given, number of vertices must match stopifnot(is.null(graph.them) || vcount(graph.them) == vcount(graph.us)) From aa1c4d57ef9bd2e3993c91b0ebc791ecc7ed6e30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 27 Nov 2023 10:03:00 +0100 Subject: [PATCH 13/20] manually replace deprecated is.weighted() --- R/scan.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/scan.R b/R/scan.R index 52d5d830291..7780bdae086 100644 --- a/R/scan.R +++ b/R/scan.R @@ -125,8 +125,8 @@ local_scan <- function(graph.us, graph.them = NULL, k = 1, FUN = NULL, stopifnot(is.logical(weighted), length(weighted) == 1) ## If weighted, then the graph(s) must be weighted - stopifnot(!weighted || (is.weighted(graph.us) && (is.null(graph.them) || - is.weighted(graph.them)))) + stopifnot(!weighted || (is_weighted(graph.us) && (is.null(graph.them) || + is_weighted(graph.them)))) ## Check if 'neighborhoods' makes sense if (!is.null(neighborhoods)) { From 366f214d6687f86cf261f56ebaeb274d3a78eb2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 27 Nov 2023 10:05:51 +0100 Subject: [PATCH 14/20] manually replace deprecated graph.neighborhood() --- R/scan.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/scan.R b/R/scan.R index 7780bdae086..69cddd966ad 100644 --- a/R/scan.R +++ b/R/scan.R @@ -200,7 +200,7 @@ local_scan <- function(graph.us, graph.them = NULL, k = 1, FUN = NULL, ## General } else { sapply( - graph.neighborhood(graph.us, order = k, V(graph.us), mode = mode), + make_ego_graph(graph.us, order = k, V(graph.us), mode = mode), FUN, ... ) } From 74434b452550cd89e2954b9360fc215245e73aaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 27 Nov 2023 10:06:46 +0100 Subject: [PATCH 15/20] manually replace graph.strength() --- R/aaa-auto.R | 2 +- tools/stimulus/types-RR.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/aaa-auto.R b/R/aaa-auto.R index bbf77516357..51e9fff099e 100644 --- a/R/aaa-auto.R +++ b/R/aaa-auto.R @@ -2013,7 +2013,7 @@ scg_norm_eps_impl <- function(V, groups, mtype=c("symmetric", "laplacian", "stoc res } -adjacency_spectral_embedding_impl <- function(graph, no, weights=NULL, which=c("lm", "la", "sa"), scaled=TRUE, cvec=graph.strength(graph, weights=weights)/(vcount(graph)-1), options=arpack_defaults()) { +adjacency_spectral_embedding_impl <- function(graph, no, weights=NULL, which=c("lm", "la", "sa"), scaled=TRUE, cvec=strength(graph, weights=weights)/(vcount(graph)-1), options=arpack_defaults()) { # Argument checks ensure_igraph(graph) no <- as.integer(no) diff --git a/tools/stimulus/types-RR.yaml b/tools/stimulus/types-RR.yaml index 655f513be33..e09ef675833 100644 --- a/tools/stimulus/types-RR.yaml +++ b/tools/stimulus/types-RR.yaml @@ -33,7 +33,7 @@ INDEX_VECTOR: VECTOR: DEFAULT: - AsmDefaultCvec: graph.strength(%I1%, weights=weights)/(vcount(%I1%)-1) + AsmDefaultCvec: strength(%I1%, weights=weights)/(vcount(%I1%)-1) INCONV: '%I% <- as.numeric(%I%)' VERTEXINDEX: From 1fe34a6deb6f5ff53a061686f4843cf0ca2a909a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 27 Nov 2023 10:31:09 +0100 Subject: [PATCH 16/20] update docs --- man/embed_adjacency_matrix.Rd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/embed_adjacency_matrix.Rd b/man/embed_adjacency_matrix.Rd index 4657f50dfa2..08070dfcd70 100644 --- a/man/embed_adjacency_matrix.Rd +++ b/man/embed_adjacency_matrix.Rd @@ -10,7 +10,7 @@ embed_adjacency_matrix( weights = NULL, which = c("lm", "la", "sa"), scaled = TRUE, - cvec = graph.strength(graph, weights = weights)/(vcount(graph) - 1), + cvec = strength(graph, weights = weights)/(vcount(graph) - 1), options = arpack_defaults() ) } From 37360ad2f01a02ca2a7d7b2c744e13cd9eb6c8ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Mon, 27 Nov 2023 20:54:55 +0100 Subject: [PATCH 17/20] revdepcheck results --- revdep/README.md | 61 +- revdep/cran.md | 170 ++- revdep/failures.md | 136 +- revdep/problems.md | 3013 +++++++++++++++++++++++++++++++++++++++++--- 4 files changed, 3186 insertions(+), 194 deletions(-) diff --git a/revdep/README.md b/revdep/README.md index da2c75263ff..b8417b91a21 100644 --- a/revdep/README.md +++ b/revdep/README.md @@ -1,17 +1,72 @@ # Revdeps -## New problems (10) +## Failed to check (2) + +|package |version |error |warning |note | +|:---------|:-------|:------|:-------|:----| +|[mazeGen](failures.md#mazegen)|0.1.3 |__+1__ | | | +|streamDAG |? | | | | + +## New problems (58) |package |version |error |warning |note | |:-----------------|:-------|:------|:-------|:------| +|[BASiNET](problems.md#basinet)|0.0.5 |__+1__ | | | +|[BASiNETEntropy](problems.md#basinetentropy)|0.99.6 |__+1__ | | | |[bibliometrix](problems.md#bibliometrix)|4.1.3 | |__+1__ |__+1__ | +|[causaleffect](problems.md#causaleffect)|1.3.15 |__+1__ |1 | | +|[centiserve](problems.md#centiserve)|1.0.0 |__+1__ | | | +|[cfid](problems.md#cfid)|0.1.6 |__+1__ | | | +|[CINNA](problems.md#cinna)|1.2.2 |__+2__ | |1 | +|[coreCT](problems.md#corect)|1.3.3 |__+3__ | | | +|[d3r](problems.md#d3r)|1.1.0 |__+1__ | |1 | +|[dosearch](problems.md#dosearch)|1.0.8 |__+1__ | |2 | +|[EpiILMCT](problems.md#epiilmct)|1.1.7 |__+1__ | | | +|[fanovaGraph](problems.md#fanovagraph)|1.5 |__+2__ | | | +|[ForestGapR](problems.md#forestgapr)|0.1.7 |__+1__ | | | +|[fossilbrush](problems.md#fossilbrush)|1.0.3 |__+1__ | |1 | +|[FrF2](problems.md#frf2)|2.3-3 |__+1__ | | | +|[gdistance](problems.md#gdistance)|1.6.4 |__+1__ | | | +|[genlasso](problems.md#genlasso)|1.6.1 |__+1__ | | | +|[ggm](problems.md#ggm)|2.5 |__+1__ | |2 | |[ggnetwork](problems.md#ggnetwork)|0.5.12 |__+1__ | |1 | +|[grainscape](problems.md#grainscape)|0.4.4 |__+2__ | |1 | |[inferCSN](problems.md#infercsn)|0.99.7 |__+1__ | |1 | |[influential](problems.md#influential)|2.2.8 | |__+2__ | | -|[malan](problems.md#malan)|1.0.2 |__+2__ | |1 | +|[intergraph](problems.md#intergraph)|2.0-3 |__+1__ | | | +|[isa2](problems.md#isa2)|0.3.6 |__+1__ | | | +|[jrSiCKLSNMF](problems.md#jrsicklsnmf)|1.2.1 |__+1__ | |1 | +|[jti](problems.md#jti)|0.8.4 |__+1__ | |2 | +|[kknn](problems.md#kknn)|1.3.1 |__+1__ | | | +|[kstMatrix](problems.md#kstmatrix)|0.2-0 |__+1__ | | | +|[linkprediction](problems.md#linkprediction)|1.0-0 |__+1__ | |1 | +|[loe](problems.md#loe)|1.1 |__+1__ | | | +|[malan](problems.md#malan)|1.0.2 |__+2__ | |2 | +|[markovchain](problems.md#markovchain)|0.9.5 |__+1__ |-1 |3 | +|[maxmatching](problems.md#maxmatching)|0.1.0 |__+1__ | |1 | +|[MetricGraph](problems.md#metricgraph)|1.2.0 |__+2__ | |1 | +|[migraph](problems.md#migraph)|1.1.5 |__+1__ | | | +|[mnda](problems.md#mnda)|1.0.9 |__+1__ | |1 | +|[mppR](problems.md#mppr)|1.4.0 |__+3__ | | | +|[MRS](problems.md#mrs)|1.2.4 |__+1__ | |1 | +|[nat](problems.md#nat)|1.8.23 |__+3__ | | | +|[netdiffuseR](problems.md#netdiffuser)|1.22.6 |__+1__ | |1 | +|[netseg](problems.md#netseg)|1.0-2 |__+1__ | | | |[nosoi](problems.md#nosoi)|1.1.0 |__+1__ | | | +|[pcalg](problems.md#pcalg)|2.7-9 |__+1__ | |3 | +|[pcSteiner](problems.md#pcsteiner)|1.0.0.1 |__+2__ |-1 | | +|[phangorn](problems.md#phangorn)|2.11.1 |__+2__ | |2 | |[phyloseqGraphTest](problems.md#phyloseqgraphtest)|0.1.0 |__+2__ | |2 | -|[rgraph6](problems.md#rgraph6)|2.0-2 |__+1__ | | | +|[phyloTop](problems.md#phylotop)|2.1.2 |__+1__ | | | +|[PLEXI](problems.md#plexi)|1.0.0 |__+1__ | | | +|[rgraph6](problems.md#rgraph6)|2.0-2 |__+2__ | | | +|[rhcoclust](problems.md#rhcoclust)|2.0.0 |__+1__ | | | |[riverconn](problems.md#riverconn)|0.3.28 |__+1__ | | | +|[RScelestial](problems.md#rscelestial)|1.0.3 |__+2__ | |2 | +|[satdad](problems.md#satdad)|1.1 |__+2__ | |2 | +|[ShapePattern](problems.md#shapepattern)|3.0.1 |__+1__ | | | +|[shazam](problems.md#shazam)|1.2.0 |__+1__ | | | |[statGraph](problems.md#statgraph)|0.5.0 |__+1__ | | | +|[SteinerNet](problems.md#steinernet)|3.1.0 |__+2__ | | | +|[TreeDimensionTest](problems.md#treedimensiontest)|0.0.2 |__+1__ | | | diff --git a/revdep/cran.md b/revdep/cran.md index 93f17f744b8..52cb87b2fe6 100644 --- a/revdep/cran.md +++ b/revdep/cran.md @@ -1,22 +1,81 @@ ## revdepcheck results -We checked 10 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. +We checked 811 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. - * We saw 10 new problems - * We failed to check 0 packages + * We saw 58 new problems + * We failed to check 2 packages Issues with CRAN packages are summarised below. ### New problems (This reports the first line of each new failure) +* BASiNET + checking re-building of vignette outputs ... ERROR + +* BASiNETEntropy + checking examples ... ERROR + * bibliometrix checking whether package ‘bibliometrix’ can be installed ... WARNING checking R code for possible problems ... NOTE +* causaleffect + checking examples ... ERROR + +* centiserve + checking examples ... ERROR + +* cfid + checking tests ... ERROR + +* CINNA + checking examples ... ERROR + checking re-building of vignette outputs ... ERROR + +* coreCT + checking examples ... ERROR + checking tests ... ERROR + checking re-building of vignette outputs ... ERROR + +* d3r + checking tests ... ERROR + +* dosearch + checking examples ... ERROR + +* EpiILMCT + checking examples ... ERROR + +* fanovaGraph + checking examples ... ERROR + checking tests ... ERROR + +* ForestGapR + checking examples ... ERROR + +* fossilbrush + checking re-building of vignette outputs ... ERROR + +* FrF2 + checking examples ... ERROR + +* gdistance + checking re-building of vignette outputs ... ERROR + +* genlasso + checking examples ... ERROR + +* ggm + checking examples ... ERROR + * ggnetwork checking tests ... ERROR +* grainscape + checking examples ... ERROR + checking tests ... ERROR + * inferCSN checking examples ... ERROR @@ -24,23 +83,128 @@ Issues with CRAN packages are summarised below. checking dependencies in R code ... WARNING checking for code/documentation mismatches ... WARNING +* intergraph + checking tests ... ERROR + +* isa2 + checking examples ... ERROR + +* jrSiCKLSNMF + checking examples ... ERROR + +* jti + checking examples ... ERROR + +* kknn + checking examples ... ERROR + +* kstMatrix + checking re-building of vignette outputs ... ERROR + +* linkprediction + checking tests ... ERROR + +* loe + checking examples ... ERROR + * malan checking examples ... ERROR checking tests ... ERROR +* markovchain + checking re-building of vignette outputs ... ERROR + +* maxmatching + checking examples ... ERROR + +* MetricGraph + checking examples ... ERROR + checking tests ... ERROR + +* migraph + checking tests ... ERROR + +* mnda + checking examples ... ERROR + +* mppR + checking examples ... ERROR + checking tests ... ERROR + checking re-building of vignette outputs ... ERROR + +* MRS + checking examples ... ERROR + +* nat + checking examples ... ERROR + checking tests ... ERROR + checking re-building of vignette outputs ... ERROR + +* netdiffuseR + checking examples ... ERROR + +* netseg + checking tests ... ERROR + * nosoi checking re-building of vignette outputs ... ERROR +* pcalg + checking tests ... ERROR + +* pcSteiner + checking examples ... ERROR + checking re-building of vignette outputs ... ERROR + +* phangorn + checking examples ... ERROR + checking re-building of vignette outputs ... ERROR + * phyloseqGraphTest checking examples ... ERROR checking re-building of vignette outputs ... ERROR +* phyloTop + checking examples ... ERROR + +* PLEXI + checking examples ... ERROR + * rgraph6 + checking examples ... ERROR checking re-building of vignette outputs ... ERROR +* rhcoclust + checking examples ... ERROR + * riverconn checking re-building of vignette outputs ... ERROR +* RScelestial + checking examples ... ERROR + checking re-building of vignette outputs ... ERROR + +* satdad + checking examples ... ERROR + checking re-building of vignette outputs ... ERROR + +* ShapePattern + checking examples ... ERROR + +* shazam + checking re-building of vignette outputs ... ERROR + * statGraph checking examples ... ERROR +* SteinerNet + checking examples ... ERROR + checking re-building of vignette outputs ... ERROR + +* TreeDimensionTest + checking re-building of vignette outputs ... ERROR + +### Failed to check + +* mazeGen (NA) +* streamDAG (NA) diff --git a/revdep/failures.md b/revdep/failures.md index 9a207363396..c83f68513e7 100644 --- a/revdep/failures.md +++ b/revdep/failures.md @@ -1 +1,135 @@ -*Wow, no problems at all. :)* \ No newline at end of file +# mazeGen + +
+ +* Version: 0.1.3 +* GitHub: NA +* Source code: https://github.com/cran/mazeGen +* Date/Publication: 2017-12-04 17:34:53 UTC +* Number of recursive dependencies: 10 + +Run `revdepcheck::cloud_details(, "mazeGen")` for more info + +
+ +## Newly broken + +* checking whether package ‘mazeGen’ can be installed ... ERROR + ``` + Installation failed. + See ‘/tmp/workdir/mazeGen/new/mazeGen.Rcheck/00install.out’ for details. + ``` + +## Installation + +### Devel + +``` +* installing *source* package ‘mazeGen’ ... +** package ‘mazeGen’ successfully unpacked and MD5 sums checked +** using staged installation +** R +** data +*** moving datasets to lazyload DB +** byte-compile and prepare package for lazy loading +Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals +Error: unable to load R code in package ‘mazeGen’ +Execution halted +ERROR: lazy loading failed for package ‘mazeGen’ +* removing ‘/tmp/workdir/mazeGen/new/mazeGen.Rcheck/mazeGen’ + + +``` +### CRAN + +``` +* installing *source* package ‘mazeGen’ ... +** package ‘mazeGen’ successfully unpacked and MD5 sums checked +** using staged installation +** R +** data +*** moving datasets to lazyload DB +** byte-compile and prepare package for lazy loading +** help +*** installing help indices +** building package indices +** testing if installed package can be loaded from temporary location +** testing if installed package can be loaded from final location +** testing if installed package keeps a record of temporary installation path +* DONE (mazeGen) + + +``` +# streamDAG + +
+ +* Version: 1.5 +* GitHub: NA +* Source code: https://github.com/cran/streamDAG +* Date/Publication: 2023-10-06 18:50:02 UTC +* Number of recursive dependencies: 133 + +Run `revdepcheck::cloud_details(, "streamDAG")` for more info + +
+ +## Error before installation + +### Devel + +``` +* using log directory ‘/tmp/workdir/streamDAG/new/streamDAG.Rcheck’ +* using R version 4.3.1 (2023-06-16) +* using platform: x86_64-pc-linux-gnu (64-bit) +* R was compiled by + gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 + GNU Fortran (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 +* running under: Ubuntu 20.04.6 LTS +* using session charset: UTF-8 +* using option ‘--no-manual’ +* checking for file ‘streamDAG/DESCRIPTION’ ... OK +* this is package ‘streamDAG’ version ‘1.5’ +* checking package namespace information ... OK +* checking package dependencies ... ERROR +Package required but not available: ‘asbio’ + +See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ +manual. +* DONE +Status: 1 ERROR + + + + + +``` +### CRAN + +``` +* using log directory ‘/tmp/workdir/streamDAG/old/streamDAG.Rcheck’ +* using R version 4.3.1 (2023-06-16) +* using platform: x86_64-pc-linux-gnu (64-bit) +* R was compiled by + gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 + GNU Fortran (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 +* running under: Ubuntu 20.04.6 LTS +* using session charset: UTF-8 +* using option ‘--no-manual’ +* checking for file ‘streamDAG/DESCRIPTION’ ... OK +* this is package ‘streamDAG’ version ‘1.5’ +* checking package namespace information ... OK +* checking package dependencies ... ERROR +Package required but not available: ‘asbio’ + +See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ +manual. +* DONE +Status: 1 ERROR + + + + + +``` diff --git a/revdep/problems.md b/revdep/problems.md index 18954361b22..d6340d85d13 100644 --- a/revdep/problems.md +++ b/revdep/problems.md @@ -1,3 +1,78 @@ +# BASiNET + +
+ +* Version: 0.0.5 +* GitHub: NA +* Source code: https://github.com/cran/BASiNET +* Date/Publication: 2022-08-19 08:50:25 UTC +* Number of recursive dependencies: 78 + +Run `revdepcheck::cloud_details(, "BASiNET")` for more info + +
+ +## Newly broken + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + ... + --- re-building ‘BASiNET.Rmd’ using rmarkdown + + Quitting from lines 69-73 [unnamed-chunk-1] (BASiNET.Rmd) + Error: processing vignette 'BASiNET.Rmd' failed with diagnostics: + 'simplify' should only be used for graph literals + --- failed re-building ‘BASiNET.Rmd’ + + SUMMARY: processing the following file failed: + ‘BASiNET.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + +# BASiNETEntropy + +
+ +* Version: 0.99.6 +* GitHub: NA +* Source code: https://github.com/cran/BASiNETEntropy +* Date/Publication: 2023-08-16 18:24:35 UTC +* Number of recursive dependencies: 48 + +Run `revdepcheck::cloud_details(, "BASiNETEntropy")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘BASiNETEntropy-Ex.R’ failed + The error most likely occurred in: + + > ### Name: classify + > ### Title: Performs the classification methodology using complex network + > ### and entropy theories + > ### Aliases: classify + > + > ### ** Examples + > + ... + 6 + 7 + 8 + 9 + 10 + [INFO] Filtering the graphs + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: classify -> filtering -> graph -> make_graph + Execution halted + ``` + # bibliometrix
@@ -31,17 +106,121 @@ Run `revdepcheck::cloud_details(, "bibliometrix")` for more info argument (nobigint = TRUE) ``` -# ggnetwork +# causaleffect
-* Version: 0.5.12 -* GitHub: https://github.com/briatte/ggnetwork -* Source code: https://github.com/cran/ggnetwork -* Date/Publication: 2023-03-06 20:00:02 UTC -* Number of recursive dependencies: 75 +* Version: 1.3.15 +* GitHub: https://github.com/santikka/causaleffect +* Source code: https://github.com/cran/causaleffect +* Date/Publication: 2022-07-14 09:10:05 UTC +* Number of recursive dependencies: 17 -Run `revdepcheck::cloud_details(, "ggnetwork")` for more info +Run `revdepcheck::cloud_details(, "causaleffect")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘causaleffect-Ex.R’ failed + The error most likely occurred in: + + > ### Name: causal.effect + > ### Title: Identify a causal effect + > ### Aliases: causal.effect + > + > ### ** Examples + > + > library(igraph) + ... + > # Here the bidirected edge between X and Z is set to be unobserved in graph g + > # This is denoted by giving them a description attribute with the value "U" + > # The edges in question are the fourth and the fifth edge + > g <- set.edge.attribute(graph = g, name = "description", index = c(4,5), value = "U") + Warning: `set.edge.attribute()` was deprecated in igraph 1.6.0. + ℹ Please use `set_edge_attr()` instead. + > causal.effect("y", "x", G = g) + Error in simple_es_index(x, ii) : Unknown edge selected + Calls: causal.effect ... [ -> [.igraph.es -> lapply -> FUN -> simple_es_index + Execution halted + ``` + +## In both + +* checking re-building of vignette outputs ... WARNING + ``` + Error(s) in re-building vignettes: + --- re-building ‘causaleffect.ltx’ using tex + Error: processing vignette 'causaleffect.ltx' failed with diagnostics: + Running 'texi2dvi' on 'causaleffect.ltx' failed. + LaTeX errors: + ! LaTeX Error: File `thumbpdf.sty' not found. + + Type X to quit or to proceed, + or enter new name. (Default extension: sty) + + ... + l.16 \usepackage + {csquotes}^^M + ! ==> Fatal error occurred, no output PDF file produced! + --- failed re-building ‘simplification.ltx’ + + SUMMARY: processing the following files failed: + ‘causaleffect.ltx’ ‘simplification.ltx’ + + Error: Vignette re-building failed. + Execution halted + ``` + +# centiserve + +
+ +* Version: 1.0.0 +* GitHub: NA +* Source code: https://github.com/cran/centiserve +* Date/Publication: 2017-07-15 09:34:41 UTC +* Number of recursive dependencies: 14 + +Run `revdepcheck::cloud_details(, "centiserve")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘centiserve-Ex.R’ failed + The error most likely occurred in: + + > ### Name: averagedis + > ### Title: Find the average distance of a node + > ### Aliases: averagedis + > + > ### ** Examples + > + > g <- graph(c(1,2,2,3,3,4,4,2), directed=FALSE) + Warning: `graph()` was deprecated in igraph 1.6.0. + ℹ Please use `make_graph()` instead. + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: graph -> make_graph + Execution halted + ``` + +# cfid + +
+ +* Version: 0.1.6 +* GitHub: https://github.com/santikka/cfid +* Source code: https://github.com/cran/cfid +* Date/Publication: 2023-11-13 13:33:25 UTC +* Number of recursive dependencies: 53 + +Run `revdepcheck::cloud_details(, "cfid")` for more info
@@ -53,45 +232,104 @@ Run `revdepcheck::cloud_details(, "ggnetwork")` for more info Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) - > library(ggnetwork) - Loading required package: ggplot2 + > library(cfid) > - > test_check("ggnetwork") - [ FAIL 1 | WARN 0 | SKIP 0 | PASS 38 ] + > test_check("cfid") + [ FAIL 1 | WARN 4 | SKIP 0 | PASS 201 ] + ══ Failed tests ════════════════════════════════════════════════════════════════ ... - ▆ - 1. ├─testthat::expect_s3_class(...) at test-ggnetwork.R:35:3 - 2. │ └─testthat::quasi_label(enquo(object), arg = "object") + 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) - 4. └─ggnetwork::ggnetwork(n, layout = matrix(runif(28), ncol = 2)) at test-ggnetwork.R:36:5 - 5. └─ggnetwork:::fortify.igraph(x, ...) + 4. └─cfid::import_graph(ig) + 5. └─cfid::dag(paste0(c(g_obs, g_unobs), collapse = "; ")) + 6. └─cfid:::stopifnot_(nzchar(x), "Argument `x` contains only whitespace or special characters.") + 7. └─cfid:::stop_(message) - [ FAIL 1 | WARN 0 | SKIP 0 | PASS 38 ] + [ FAIL 1 | WARN 4 | SKIP 0 | PASS 201 ] Error: Test failures Execution halted ``` +# CINNA + +
+ +* Version: 1.2.2 +* GitHub: NA +* Source code: https://github.com/cran/CINNA +* Date/Publication: 2023-08-08 16:40:02 UTC +* Number of recursive dependencies: 149 + +Run `revdepcheck::cloud_details(, "CINNA")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘CINNA-Ex.R’ failed + The error most likely occurred in: + + > ### Name: dangalchev_closeness_centrality + > ### Title: Dangalchev Closeness Centrality + > ### Aliases: dangalchev_closeness_centrality + > + > ### ** Examples + > + > + ... + > data(zachary) + > + > dangalchev_closeness_centrality(zachary) + This graph was created by an old(er) igraph version. + Call upgrade_graph() on it to use with the current igraph version + For now we convert it on the fly... + Error in getIgraphOpt("add.vertex.names") && is_named(x) : + invalid 'x' type in 'x && y' + Calls: dangalchev_closeness_centrality + Execution halted + ``` + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + ... + --- re-building ‘CINNA.Rmd’ using rmarkdown + + Quitting from lines 247-250 [unnamed-chunk-13] (CINNA.Rmd) + Error: processing vignette 'CINNA.Rmd' failed with diagnostics: + perplexity is too large for the number of samples + --- failed re-building ‘CINNA.Rmd’ + + SUMMARY: processing the following file failed: + ‘CINNA.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + ## In both * checking dependencies in R code ... NOTE ``` Namespaces in Imports field not imported from: - ‘sna’ ‘utils’ + ‘circlize’ ‘utils’ All declared Imports should be used. ``` -# inferCSN +# coreCT
-* Version: 0.99.7 -* GitHub: https://github.com/mengxu98/inferCSN -* Source code: https://github.com/cran/inferCSN -* Date/Publication: 2023-10-30 10:30:02 UTC -* Number of recursive dependencies: 101 +* Version: 1.3.3 +* GitHub: https://github.com/troyhill/coreCT +* Source code: https://github.com/cran/coreCT +* Date/Publication: 2021-02-05 15:00:03 UTC +* Number of recursive dependencies: 74 -Run `revdepcheck::cloud_details(, "inferCSN")` for more info +Run `revdepcheck::cloud_details(, "coreCT")` for more info
@@ -99,82 +337,2343 @@ Run `revdepcheck::cloud_details(, "inferCSN")` for more info * checking examples ... ERROR ``` - Running examples in ‘inferCSN-Ex.R’ failed + Running examples in ‘coreCT-Ex.R’ failed The error most likely occurred in: - > ### Name: dynamic.networks - > ### Title: Plot of dynamic networks - > ### Aliases: dynamic.networks + > ### Name: getRoots + > ### Title: Convert a matrix of semi-processed DICOM images to root particle + > ### counts, volumes, and surface areas + > ### Aliases: getRoots > > ### ** Examples > - > library(inferCSN) - > data("exampleMatrix") - > weightDT <- inferCSN(exampleMatrix) - > g <- dynamic.networks(weightDT, regulators = weightDT[1, 1]) - Error in fortify.igraph(x, ...) : - layout matrix dimensions do not match network size - Calls: dynamic.networks -> ggnetwork -> fortify.igraph + ... + > rootChars <- getRoots(HU_426, pixelA = 0.0596, + + diameter.classes = c(2.5, 10)) + + Processing root data: + + | + | | 0%Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: getRoots ... components -> ensure_igraph -> -> make_graph + Execution halted + ``` + +* checking tests ... ERROR + ``` + Running ‘testthat.R’ + Running the tests in ‘tests/testthat.R’ failed. + Complete output: + > library(testthat) + > library(coreCT) + Loading required package: raster + Loading required package: sp + Loading required package: igraph + + Attaching package: 'igraph' + ... + 10. └─raster:::.smallClump(x, directions) + 11. ├─igraph::clusters(igraph::graph(adjv, directed = FALSE)) + 12. │ └─igraph::components(graph = graph, mode = mode) + 13. │ └─igraph:::ensure_igraph(graph) + 14. └─igraph::graph(adjv, directed = FALSE) + 15. └─igraph::make_graph(...) + + [ FAIL 2 | WARN 0 | SKIP 0 | PASS 14 ] + Error: Test failures + Execution halted + ``` + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + ... + --- re-building ‘Using_coreCT.Rmd’ using rmarkdown + + Quitting from lines 90-93 [unnamed-chunk-4] (Using_coreCT.Rmd) + Error: processing vignette 'Using_coreCT.Rmd' failed with diagnostics: + 'simplify' should only be used for graph literals + --- failed re-building ‘Using_coreCT.Rmd’ + + SUMMARY: processing the following file failed: + ‘Using_coreCT.Rmd’ + + Error: Vignette re-building failed. Execution halted ``` +# d3r + +
+ +* Version: 1.1.0 +* GitHub: https://github.com/timelyportfolio/d3r +* Source code: https://github.com/cran/d3r +* Date/Publication: 2023-10-02 14:00:02 UTC +* Number of recursive dependencies: 73 + +Run `revdepcheck::cloud_details(, "d3r")` for more info + +
+ +## Newly broken + +* checking tests ... ERROR + ``` + Running ‘testthat.R’ + Running the tests in ‘tests/testthat.R’ failed. + Complete output: + > library(testthat) + > library(d3r) + > + > test_check("d3r") + [ FAIL 1 | WARN 1 | SKIP 6 | PASS 14 ] + + ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ + ... + Error in `make_graph(edges = edges, n = n, isolates = isolates, directed = directed, + dir = dir, simplify = simplify, ...)`: 'simplify' should only be used for graph literals + Backtrace: + ▆ + 1. └─igraph::graph.famous("Bull") at test_igraph.R:8:3 + 2. └─igraph::make_graph(...) + + [ FAIL 1 | WARN 1 | SKIP 6 | PASS 14 ] + Error: Test failures + Execution halted + ``` + ## In both -* checking installed package size ... NOTE +* checking package dependencies ... NOTE ``` - installed size is 28.4Mb - sub-directories of 1Mb or more: - libs 27.4Mb + Packages which this enhances but not available for checking: + 'partykit', 'treemap', 'V8' ``` -# influential +# dosearch
-* Version: 2.2.8 -* GitHub: https://github.com/asalavaty/influential -* Source code: https://github.com/cran/influential -* Date/Publication: 2023-11-19 05:10:02 UTC -* Number of recursive dependencies: 196 +* Version: 1.0.8 +* GitHub: NA +* Source code: https://github.com/cran/dosearch +* Date/Publication: 2021-08-19 16:40:02 UTC +* Number of recursive dependencies: 18 -Run `revdepcheck::cloud_details(, "influential")` for more info +Run `revdepcheck::cloud_details(, "dosearch")` for more info
## Newly broken -* checking dependencies in R code ... WARNING +* checking examples ... ERROR ``` - '::' or ':::' import not declared from: ‘lifecycle’ + Running examples in ‘dosearch-Ex.R’ failed + The error most likely occurred in: + + > ### Name: dosearch + > ### Title: Identify a causal effect from arbitrary experiments and + > ### observations + > ### Aliases: dosearch + > + > ### ** Examples + > + ... + + g_igraph <- igraph::set.edge.attribute(g_igraph, "description", 3:4, "U") + + dosearch(data2, query2, g_igraph) + + } + Warning: `graph.formula()` was deprecated in igraph 1.6.0. + ℹ Please use `graph_from_literal()` instead. + Warning: `set.edge.attribute()` was deprecated in igraph 1.6.0. + ℹ Please use `set_edge_attr()` instead. + Error in graph_split[[x]] : subscript out of bounds + Calls: dosearch -> get_derivation_dag -> lapply -> FUN + Execution halted ``` -* checking for code/documentation mismatches ... WARNING +## In both + +* checking C++ specification ... NOTE ``` - Codoc mismatches from documentation object 'graph_from_incidence_matrix': - graph_from_incidence_matrix - Code: function(...) - Docs: function(incidence, directed = FALSE, mode = c("all", "out", - "in", "total"), multiple = FALSE, weighted = NULL, - add.names = NULL) - Argument names in code not in docs: - ... - Argument names in docs not in code: - incidence directed mode multiple weighted add.names - Mismatches in argument names: - Position: 1 Code: ... Docs: incidence + Specified C++11: please drop specification unless essential + ``` + +* checking installed package size ... NOTE + ``` + installed size is 6.5Mb + sub-directories of 1Mb or more: + libs 6.2Mb + ``` + +# EpiILMCT + +
+ +* Version: 1.1.7 +* GitHub: https://github.com/waleedalmutiry/EpiILMCT +* Source code: https://github.com/cran/EpiILMCT +* Date/Publication: 2021-06-29 06:10:06 UTC +* Number of recursive dependencies: 11 + +Run `revdepcheck::cloud_details(, "EpiILMCT")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘EpiILMCT-Ex.R’ failed + The error most likely occurred in: + + > ### Name: plot.contactnet + > ### Title: Plot the contact network of 'contactnet' object + > ### Aliases: plot.contactnet + > ### Keywords: plot + > + > ### ** Examples + > + ... + > net1<- contactnet(type = "powerlaw", location = loc, beta = 1.5, nu = 0.5) + > plot(net1) + > net2<- contactnet(type = "Cauchy", location = loc, beta = 0.5) + > plot(net2) + > net3<- contactnet(type = "random", num.id = 50, beta = 0.08) + > plot(net3) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: plot -> plot.contactnet -> -> make_graph + Execution halted + ``` + +# fanovaGraph + +
+ +* Version: 1.5 +* GitHub: NA +* Source code: https://github.com/cran/fanovaGraph +* Date/Publication: 2020-10-07 12:10:02 UTC +* Number of recursive dependencies: 99 + +Run `revdepcheck::cloud_details(, "fanovaGraph")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘fanovaGraph-Ex.R’ failed + The error most likely occurred in: + + > ### Name: estimateGraph + > ### Title: FANOVA graph estimation. + > ### Aliases: estimateGraph print.graphlist + > + > ### ** Examples + > + > # Ishigami function, true analytical values: D12 = D23 = 0, D13 =~ 3.374 + > q.arg = list(list(min=-pi, max=pi), list(min=-pi, max=pi), list(min=-pi, max=pi)) + > estimateGraph(f.mat=ishigami.fun, d=3, q.arg=q.arg, n.tot=10000, method="LiuOwen") + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: estimateGraph ... max_cliques -> ensure_igraph -> graph -> make_graph + Execution halted + ``` + +* checking tests ... ERROR + ``` + Running ‘run-all.R’ + Running the tests in ‘tests/run-all.R’ failed. + Complete output: + > library(testthat) + > library(fanovaGraph) + Loading required package: sensitivity + Loading required package: igraph + + Attaching package: 'igraph' + + ... + 2. └─fanovaGraph::threshold(graphlist = g, delta = delta[i]) + 3. ├─igraph::maximal.cliques(graph(as.vector(t(E)), d, FALSE)) + 4. │ └─igraph::max_cliques(...) + 5. │ └─igraph:::ensure_igraph(graph) + 6. └─igraph::graph(as.vector(t(E)), d, FALSE) + 7. └─igraph::make_graph(...) + + [ FAIL 6 | WARN 3 | SKIP 0 | PASS 6 ] + Error: Test failures + Execution halted + ``` + +# ForestGapR + +
+ +* Version: 0.1.7 +* GitHub: NA +* Source code: https://github.com/cran/ForestGapR +* Date/Publication: 2023-03-31 20:50:18 UTC +* Number of recursive dependencies: 50 + +Run `revdepcheck::cloud_details(, "ForestGapR")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘ForestGapR-Ex.R’ failed + The error most likely occurred in: + + > ### Name: GapSPDF + > ### Title: Forest Canopy Gaps as Spatial Polygons + > ### Aliases: GapSPDF + > + > ### ** Examples + > + > # Loading raster and viridis libraries + ... + > # set height thresholds (e.g. 10 meters) + > threshold <- 10 + > size <- c(1, 10^4) # m2 + > + > # Detecting forest gaps + > gaps_duc <- getForestGaps(chm_layer = ALS_CHM_DUC, threshold = threshold, size = size) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: getForestGaps ... components -> ensure_igraph -> -> make_graph + Execution halted + ``` + +# fossilbrush + +
+ +* Version: 1.0.3 +* GitHub: NA +* Source code: https://github.com/cran/fossilbrush +* Date/Publication: 2022-07-21 15:50:02 UTC +* Number of recursive dependencies: 40 + +Run `revdepcheck::cloud_details(, "fossilbrush")` for more info + +
+ +## Newly broken + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + ... + --- re-building ‘fossilbrush_vignette.Rmd’ using rmarkdown + + Quitting from lines 92-99 [unnamed-chunk-5] (fossilbrush_vignette.Rmd) + Error: processing vignette 'fossilbrush_vignette.Rmd' failed with diagnostics: + 'simplify' should only be used for graph literals + --- failed re-building ‘fossilbrush_vignette.Rmd’ + + SUMMARY: processing the following file failed: + ‘fossilbrush_vignette.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + +## In both + +* checking data for non-ASCII characters ... NOTE + ``` + Note: found 31 marked UTF-8 strings + ``` + +# FrF2 + +
+ +* Version: 2.3-3 +* GitHub: NA +* Source code: https://github.com/cran/FrF2 +* Date/Publication: 2023-09-20 09:00:02 UTC +* Number of recursive dependencies: 37 + +Run `revdepcheck::cloud_details(, "FrF2")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘FrF2-Ex.R’ failed + The error most likely occurred in: + + > ### Name: CIG + > ### Title: Clear interactions graph from catlg entry + > ### Aliases: CIGstatic CIG gen2CIG + > ### Keywords: design + > + > ### ** Examples + > + ... + [[7]] + + 3/9 vertices, from 30f323b: + [1] 9 5 8 + + > + > graph2 <- gen2CIG(32, c(7,11,14,29)) ### create graph object from generator columns + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: gen2CIG -> graph -> make_graph + Execution halted + ``` + +# gdistance + +
+ +* Version: 1.6.4 +* GitHub: https://github.com/AgrDataSci/gdistance +* Source code: https://github.com/cran/gdistance +* Date/Publication: 2023-06-19 21:20:02 UTC +* Number of recursive dependencies: 62 + +Run `revdepcheck::cloud_details(, "gdistance")` for more info + +
+ +## Newly broken + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + ... + --- re-building ‘Overview.Rmd’ using knitr + + Quitting from lines 454-477 [gdistance-25] (Overview.Rmd) + Error: processing vignette 'Overview.Rmd' failed with diagnostics: + 'simplify' should only be used for graph literals + --- failed re-building ‘Overview.Rmd’ + + SUMMARY: processing the following file failed: + ‘Overview.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + +# genlasso + +
+ +* Version: 1.6.1 +* GitHub: https://github.com/glmgen/genlasso +* Source code: https://github.com/cran/genlasso +* Date/Publication: 2022-08-22 08:10:10 UTC +* Number of recursive dependencies: 10 + +Run `revdepcheck::cloud_details(, "genlasso")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘genlasso-Ex.R’ failed + The error most likely occurred in: + + > ### Name: fusedlasso + > ### Title: Compute the fused lasso solution path for a general graph, or a + > ### 1d or 2d grid + > ### Aliases: fusedlasso fusedlasso1d fusedlasso2d + > ### Keywords: models + > + > ### ** Examples + ... + > # Fused lasso on a custom graph + > set.seed(0) + > edges = c(1,2,1,3,1,5,2,4,2,5,3,6,3,7,3,8,6,7,6,8) + > gr = graph(edges=edges,directed=FALSE) + Warning: `graph()` was deprecated in igraph 1.6.0. + ℹ Please use `make_graph()` instead. + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: graph -> make_graph + Execution halted + ``` + +# ggm + +
+ +* Version: 2.5 +* GitHub: NA +* Source code: https://github.com/cran/ggm +* Date/Publication: 2020-02-16 14:00:02 UTC +* Number of recursive dependencies: 12 + +Run `revdepcheck::cloud_details(, "ggm")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘ggm-Ex.R’ failed + The error most likely occurred in: + + > ### Name: AG + > ### Title: Ancestral graph + > ### Aliases: AG + > ### Keywords: graphs ancestral graph directed acyclic graph marginalization + > ### and conditioning + > + > ### ** Examples + ... + + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + + 1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0, + + 0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0),16,16,byrow=TRUE) + > M <- c(3,5,6,15,16) + > C <- c(4,7) + > AG(ex, M, C, plot = TRUE) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: AG -> plotfun -> graph -> make_graph + Execution halted + ``` + +## In both + +* checking dependencies in R code ... NOTE + ``` + Namespace in Imports field not imported from: ‘graph’ + All declared Imports should be used. + ``` + +* checking Rd files ... NOTE + ``` + checkRd: (-1) In.Rd:21: Escaped LaTeX specials: \& + checkRd: (-1) InducedGraphs.Rd:49: Escaped LaTeX specials: \& + checkRd: (-1) InducedGraphs.Rd:86: Escaped LaTeX specials: \& + checkRd: (-1) InducedGraphs.Rd:87: Escaped LaTeX specials: \& + checkRd: (-1) InducedGraphs.Rd:89: Escaped LaTeX specials: \& + checkRd: (-1) bfsearch.Rd:20: Escaped LaTeX specials: \& + checkRd: (-1) bfsearch.Rd:30: Escaped LaTeX specials: \& + checkRd: (-1) bfsearch.Rd:33: Escaped LaTeX specials: \& + checkRd: (-1) checkIdent.Rd:29: Escaped LaTeX specials: \& + checkRd: (-1) checkIdent.Rd:34: Escaped LaTeX specials: \& + ... + checkRd: (-1) parcor.Rd:24: Escaped LaTeX specials: \& + checkRd: (-1) parcor.Rd:25: Escaped LaTeX specials: \& + checkRd: (-1) rcorr.Rd:24: Escaped LaTeX specials: \& + checkRd: (-1) rnormDag.Rd:36: Escaped LaTeX specials: \& + checkRd: (-1) rnormDag.Rd:37: Escaped LaTeX specials: \& + checkRd: (-1) stress.Rd:24: Escaped LaTeX specials: \& + checkRd: (-1) stress.Rd:25: Escaped LaTeX specials: \& + checkRd: (-1) topSort.Rd:35: Escaped LaTeX specials: \& + checkRd: (-1) triDec.Rd:34: Escaped LaTeX specials: \& + checkRd: (-1) triDec.Rd:35: Escaped LaTeX specials: \& + ``` + +# ggnetwork + +
+ +* Version: 0.5.12 +* GitHub: https://github.com/briatte/ggnetwork +* Source code: https://github.com/cran/ggnetwork +* Date/Publication: 2023-03-06 20:00:02 UTC +* Number of recursive dependencies: 75 + +Run `revdepcheck::cloud_details(, "ggnetwork")` for more info + +
+ +## Newly broken + +* checking tests ... ERROR + ``` + Running ‘testthat.R’ + Running the tests in ‘tests/testthat.R’ failed. + Complete output: + > library(testthat) + > library(ggnetwork) + Loading required package: ggplot2 + > + > test_check("ggnetwork") + [ FAIL 1 | WARN 5 | SKIP 0 | PASS 38 ] + + ... + ▆ + 1. ├─testthat::expect_s3_class(...) at test-ggnetwork.R:35:3 + 2. │ └─testthat::quasi_label(enquo(object), arg = "object") + 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) + 4. └─ggnetwork::ggnetwork(n, layout = matrix(runif(28), ncol = 2)) at test-ggnetwork.R:36:5 + 5. └─ggnetwork:::fortify.igraph(x, ...) + + [ FAIL 1 | WARN 5 | SKIP 0 | PASS 38 ] + Error: Test failures + Execution halted + ``` + +## In both + +* checking dependencies in R code ... NOTE + ``` + Namespaces in Imports field not imported from: + ‘sna’ ‘utils’ + All declared Imports should be used. + ``` + +# grainscape + +
+ +* Version: 0.4.4 +* GitHub: https://github.com/achubaty/grainscape +* Source code: https://github.com/cran/grainscape +* Date/Publication: 2023-04-20 08:40:02 UTC +* Number of recursive dependencies: 98 + +Run `revdepcheck::cloud_details(, "grainscape")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘grainscape-Ex.R’ failed + The error most likely occurred in: + + > ### Name: patchFilter + > ### Title: Filter out patches smaller than a specified area + > ### Aliases: patchFilter patchFilter,RasterLayer-method + > + > ### ** Examples + > + > ## Load raster landscape + ... + > + > ## Create a resistance surface from a raster using an is-becomes reclassification + > tinyCost <- raster::reclassify(tiny, rcl = cbind(c(1, 2, 3, 4), c(1, 5, 10, 12))) + > ## Produce a patch-based MPG where patches are resistance features = 10 + > ## and all patches are greater than or equal to 2 cells in size + > filteredPatch <- patchFilter(tinyCost == 10, cells = 2) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: patchFilter ... components -> ensure_igraph -> -> make_graph + Execution halted + ``` + +* checking tests ... ERROR + ``` + Running ‘test-all.R’ + Running the tests in ‘tests/test-all.R’ failed. + Complete output: + > library(testthat) + > test_check("grainscape") + Loading required package: grainscape + Writing layer `nodes' to data source + `/tmp/Rtmp1EUsfi/tiny_goc_thresh2' using driver `ESRI Shapefile' + Writing 28 features with 5 fields and geometry type Point. + Writing layer `linksCentroid' to data source + ... + 6. └─raster:::.smallClump(x, directions) + 7. ├─igraph::clusters(igraph::graph(adjv, directed = FALSE)) + 8. │ └─igraph::components(graph = graph, mode = mode) + 9. │ └─igraph:::ensure_igraph(graph) + 10. └─igraph::graph(adjv, directed = FALSE) + 11. └─igraph::make_graph(...) + + [ FAIL 1 | WARN 10 | SKIP 0 | PASS 82 ] + Error: Test failures + Execution halted + ``` + +## In both + +* checking installed package size ... NOTE + ``` + installed size is 5.9Mb + sub-directories of 1Mb or more: + doc 1.5Mb + libs 2.5Mb + ``` + +# inferCSN + +
+ +* Version: 0.99.7 +* GitHub: https://github.com/mengxu98/inferCSN +* Source code: https://github.com/cran/inferCSN +* Date/Publication: 2023-10-30 10:30:02 UTC +* Number of recursive dependencies: 101 + +Run `revdepcheck::cloud_details(, "inferCSN")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘inferCSN-Ex.R’ failed + The error most likely occurred in: + + > ### Name: dynamic.networks + > ### Title: Plot of dynamic networks + > ### Aliases: dynamic.networks + > + > ### ** Examples + > + > library(inferCSN) + > data("exampleMatrix") + > weightDT <- inferCSN(exampleMatrix) + > g <- dynamic.networks(weightDT, regulators = weightDT[1, 1]) + Error in fortify.igraph(x, ...) : + layout matrix dimensions do not match network size + Calls: dynamic.networks -> ggnetwork -> fortify.igraph + Execution halted + ``` + +## In both + +* checking installed package size ... NOTE + ``` + installed size is 35.6Mb + sub-directories of 1Mb or more: + libs 34.6Mb + ``` + +# influential + +
+ +* Version: 2.2.8 +* GitHub: https://github.com/asalavaty/influential +* Source code: https://github.com/cran/influential +* Date/Publication: 2023-11-19 05:10:02 UTC +* Number of recursive dependencies: 196 + +Run `revdepcheck::cloud_details(, "influential")` for more info + +
+ +## Newly broken + +* checking dependencies in R code ... WARNING + ``` + '::' or ':::' import not declared from: ‘lifecycle’ + ``` + +* checking for code/documentation mismatches ... WARNING + ``` + Codoc mismatches from documentation object 'graph_from_incidence_matrix': + graph_from_incidence_matrix + Code: function(...) + Docs: function(incidence, directed = FALSE, mode = c("all", "out", + "in", "total"), multiple = FALSE, weighted = NULL, + add.names = NULL) + Argument names in code not in docs: + ... + Argument names in docs not in code: + incidence directed mode multiple weighted add.names + Mismatches in argument names: + Position: 1 Code: ... Docs: incidence + ``` + +# intergraph + +
+ +* Version: 2.0-3 +* GitHub: https://github.com/mbojan/intergraph +* Source code: https://github.com/cran/intergraph +* Date/Publication: 2023-08-20 23:22:33 UTC +* Number of recursive dependencies: 64 + +Run `revdepcheck::cloud_details(, "intergraph")` for more info + +
+ +## Newly broken + +* checking tests ... ERROR + ``` + Running ‘testthat.R’ + Running the tests in ‘tests/testthat.R’ failed. + Complete output: + > library(testthat) + > library(intergraph) + > + > test_check("intergraph") + [ FAIL 5 | WARN 117 | SKIP 0 | PASS 49 ] + + ══ Failed tests ════════════════════════════════════════════════════════════════ + ... + i Actually got a with text: + is.directed() is deprecated + ── Error ('test-netcompare.R:5:3'): netcompare just works ────────────────────── + `print(r)` threw an unexpected error. + Message: object 'r' not found + Class: simpleError/error/condition + + [ FAIL 5 | WARN 117 | SKIP 0 | PASS 49 ] + Error: Test failures + Execution halted + ``` + +# isa2 + +
+ +* Version: 0.3.6 +* GitHub: https://github.com/gaborcsardi/ISA +* Source code: https://github.com/cran/isa2 +* Date/Publication: 2023-02-21 21:30:02 UTC +* Number of recursive dependencies: 42 + +Run `revdepcheck::cloud_details(, "isa2")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘isa2-Ex.R’ failed + The error most likely occurred in: + + > ### Name: isa.sweep + > ### Title: Create a hierarchical structure of ISA biclusters + > ### Aliases: isa.sweep isa.sweep,matrix-method sweep.graph + > ### sweep.graph,list-method + > ### Keywords: cluster + > + > ### ** Examples + ... + DONE + Calculating ISA robustness + DONE + DONE + > network <- sweep.graph(isa.tree) + Loading required namespace: igraph + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: sweep.graph ... sweep.graph -> sweep.graph.default -> -> make_graph + Execution halted + ``` + +# jrSiCKLSNMF + +
+ +* Version: 1.2.1 +* GitHub: NA +* Source code: https://github.com/cran/jrSiCKLSNMF +* Date/Publication: 2023-07-06 18:40:04 UTC +* Number of recursive dependencies: 188 + +Run `revdepcheck::cloud_details(, "jrSiCKLSNMF")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘jrSiCKLSNMF-Ex.R’ failed + The error most likely occurred in: + + > ### Name: ClusterSickleJr + > ### Title: Cluster the \mathbf{H} matrix + > ### Aliases: ClusterSickleJr + > + > ### ** Examples + > + > SimSickleJrSmall<-ClusterSickleJr(SimSickleJrSmall,3) + > SimSickleJrSmall<-ClusterSickleJr(SimSickleJrSmall,method="louvain",neighbors=5) + > SimSickleJrSmall<-ClusterSickleJr(SimSickleJrSmall,method="spectral",neighbors=5,numclusts=3) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: ClusterSickleJr -> specClust -> graph -> make_graph + Execution halted + ``` + +## In both + +* checking installed package size ... NOTE + ``` + installed size is 8.8Mb + sub-directories of 1Mb or more: + libs 7.4Mb + ``` + +# jti + +
+ +* Version: 0.8.4 +* GitHub: https://github.com/mlindsk/jti +* Source code: https://github.com/cran/jti +* Date/Publication: 2022-04-12 07:12:38 UTC +* Number of recursive dependencies: 41 + +Run `revdepcheck::cloud_details(, "jti")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘jti-Ex.R’ failed + The error most likely occurred in: + + > ### Name: sim_data_from_bn + > ### Title: Simulate data from a Bayesian network + > ### Aliases: sim_data_from_bn + > + > ### ** Examples + > + > net <- igraph::graph(as.character(c(1,2,1,3,3,4,3,5,5,4,2,6,6,7,5,7)), directed = TRUE) + Warning: `graph()` was deprecated in igraph 1.6.0. + ℹ Please use `make_graph()` instead. + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: -> make_graph + Execution halted + ``` + +## In both + +* checking C++ specification ... NOTE + ``` + Specified C++11: please drop specification unless essential + ``` + +* checking installed package size ... NOTE + ``` + installed size is 6.1Mb + sub-directories of 1Mb or more: + libs 5.3Mb + ``` + +# kknn + +
+ +* Version: 1.3.1 +* GitHub: https://github.com/KlausVigo/kknn +* Source code: https://github.com/cran/kknn +* Date/Publication: 2016-03-26 22:02:21 +* Number of recursive dependencies: 10 + +Run `revdepcheck::cloud_details(, "kknn")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘kknn-Ex.R’ failed + The error most likely occurred in: + + > ### Name: specClust + > ### Title: Spectral Clustering + > ### Aliases: specClust plot.specClust + > ### Keywords: cluster + > + > ### ** Examples + > + > data(iris) + > cl <- specClust(iris[,1:4], 3, nn=5) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: specClust -> graph -> make_graph + Execution halted + ``` + +# kstMatrix + +
+ +* Version: 0.2-0 +* GitHub: NA +* Source code: https://github.com/cran/kstMatrix +* Date/Publication: 2023-10-12 15:30:02 UTC +* Number of recursive dependencies: 38 + +Run `revdepcheck::cloud_details(, "kstMatrix")` for more info + +
+ +## Newly broken + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + ... + --- re-building ‘kstMatrix.Rmd’ using rmarkdown + + Quitting from lines 185-189 [unnamed-chunk-19] (kstMatrix.Rmd) + Error: processing vignette 'kstMatrix.Rmd' failed with diagnostics: + 'simplify' should only be used for graph literals + --- failed re-building ‘kstMatrix.Rmd’ + + SUMMARY: processing the following file failed: + ‘kstMatrix.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + +# linkprediction + +
+ +* Version: 1.0-0 +* GitHub: https://github.com/recon-icm/linkprediction +* Source code: https://github.com/cran/linkprediction +* Date/Publication: 2018-10-19 13:40:03 UTC +* Number of recursive dependencies: 45 + +Run `revdepcheck::cloud_details(, "linkprediction")` for more info + +
+ +## Newly broken + +* checking tests ... ERROR + ``` + Running ‘testthat.R’ + Running the tests in ‘tests/testthat.R’ failed. + Complete output: + > library(testthat) + > library(linkprediction) + > + > test_check("linkprediction") + [ FAIL 2 | WARN 3 | SKIP 0 | PASS 2 ] + + ══ Failed tests ════════════════════════════════════════════════════════════════ + ... + Error in `make_graph(edges = edges, n = n, isolates = isolates, directed = directed, + dir = dir, simplify = simplify, ...)`: 'simplify' should only be used for graph literals + Backtrace: + ▆ + 1. └─igraph::graph(c(1, 2, 1, 3, 1, 4, 2, 4, 1, 5, 2, 5, 4, 5), directed = FALSE) at test_proxfun.R:3:1 + 2. └─igraph::make_graph(...) + + [ FAIL 2 | WARN 3 | SKIP 0 | PASS 2 ] + Error: Test failures + Execution halted + ``` + +## In both + +* checking LazyData ... NOTE + ``` + 'LazyData' is specified without a 'data' directory + ``` + +# loe + +
+ +* Version: 1.1 +* GitHub: NA +* Source code: https://github.com/cran/loe +* Date/Publication: 2016-02-09 14:36:35 +* Number of recursive dependencies: 16 + +Run `revdepcheck::cloud_details(, "loe")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘loe-Ex.R’ failed + The error most likely occurred in: + + > ### Name: GARI + > ### Title: Graph Adjusted Rand Index + > ### Aliases: GARI + > + > ### ** Examples + > + > library(igraph) + ... + > + > ADM <- as.matrix( get.adjacency(graph.famous("Thomassen")) ) + Warning: `get.adjacency()` was deprecated in igraph 1.6.0. + ℹ Please use `as_adjacency_matrix()` instead. + Warning: `graph.famous()` was deprecated in igraph 1.6.0. + ℹ Please use `make_graph()` instead. + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: as.matrix ... as_adjacency_matrix -> ensure_igraph -> graph.famous -> make_graph + Execution halted + ``` + +# malan + +
+ +* Version: 1.0.2 +* GitHub: https://github.com/mikldk/malan +* Source code: https://github.com/cran/malan +* Date/Publication: 2020-06-25 12:00:06 UTC +* Number of recursive dependencies: 91 + +Run `revdepcheck::cloud_details(, "malan")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘malan-Ex.R’ failed + The error most likely occurred in: + + > ### Name: from_igraph + > ### Title: Convert igraph to population + > ### Aliases: from_igraph + > + > ### ** Examples + > + > g <- igraph::graph_from_literal( 2 +- 1 -+ 3, 4 -+ 5 ) + > plot(g) + > pop <- from_igraph(g) + Error in from_igraph(g) : x must be a tree (or a forest) + Execution halted + ``` + +* checking tests ... ERROR + ``` + Running ‘testthat.R’ + Running the tests in ‘tests/testthat.R’ failed. + Complete output: + > library(testthat) + > library(malan) + Loading required package: dplyr + + Attaching package: 'dplyr' + + The following object is masked from 'package:testthat': + ... + 1. └─malan::from_igraph(g1) at test-igraph.R:5:3 + ── Error ('test-igraph.R:22:3'): igraph import works for forest ──────────────── + Error in `from_igraph(g2)`: x must be a tree (or a forest) + Backtrace: + ▆ + 1. └─malan::from_igraph(g2) at test-igraph.R:22:3 + + [ FAIL 2 | WARN 0 | SKIP 0 | PASS 439 ] + Error: Test failures + Execution halted + ``` + +## In both + +* checking C++ specification ... NOTE + ``` + Specified C++11: please drop specification unless essential + ``` + +* checking installed package size ... NOTE + ``` + installed size is 22.8Mb + sub-directories of 1Mb or more: + libs 21.8Mb + ``` + +# markovchain + +
+ +* Version: 0.9.5 +* GitHub: https://github.com/spedygiorgio/markovchain +* Source code: https://github.com/cran/markovchain +* Date/Publication: 2023-09-24 09:20:02 UTC +* Number of recursive dependencies: 105 + +Run `revdepcheck::cloud_details(, "markovchain")` for more info + +
+ +## Newly broken + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + --- re-building ‘an_introduction_to_markovchain_package.Rmd’ using rmarkdown + Error: processing vignette 'an_introduction_to_markovchain_package.Rmd' failed with diagnostics: + pandoc version 2.7 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available). + --- failed re-building ‘an_introduction_to_markovchain_package.Rmd’ + + --- re-building ‘gsoc_2017_additions.Rmd’ using rmarkdown + tlmgr: package repository https://mirrors.rit.edu/CTAN/systems/texlive/tlnet (verified) + [1/1, ??:??/??:??] install: grffile [4k] + running mktexlsr ... + ... + Error: processing vignette 'higher_order_markov_chains.Rmd' failed with diagnostics: + pandoc version 2.7 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available). + --- failed re-building ‘higher_order_markov_chains.Rmd’ + + SUMMARY: processing the following files failed: + ‘an_introduction_to_markovchain_package.Rmd’ + ‘higher_order_markov_chains.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + +## Newly fixed + +* checking re-building of vignette outputs ... WARNING + ``` + Error(s) in re-building vignettes: + --- re-building ‘an_introduction_to_markovchain_package.Rmd’ using rmarkdown + Error: processing vignette 'an_introduction_to_markovchain_package.Rmd' failed with diagnostics: + pandoc version 2.7 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available). + --- failed re-building ‘an_introduction_to_markovchain_package.Rmd’ + + --- re-building ‘gsoc_2017_additions.Rmd’ using rmarkdown + + tlmgr: Remote database (rev 68967) seems to be older than local (rev 68969 of texlive-scripts); please use different mirror or wait a day or so. + tlmgr update --self + ... + Error: processing vignette 'higher_order_markov_chains.Rmd' failed with diagnostics: + pandoc version 2.7 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available). + --- failed re-building ‘higher_order_markov_chains.Rmd’ + + SUMMARY: processing the following files failed: + ‘an_introduction_to_markovchain_package.Rmd’ + ‘gsoc_2017_additions.Rmd’ ‘higher_order_markov_chains.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + +## In both + +* checking package dependencies ... NOTE + ``` + Package which this enhances but not available for checking: ‘etm’ + ``` + +* checking installed package size ... NOTE + ``` + installed size is 24.0Mb + sub-directories of 1Mb or more: + libs 21.9Mb + ``` + +* checking for GNU extensions in Makefiles ... NOTE + ``` + GNU make is a SystemRequirements. + ``` + +# maxmatching + +
+ +* Version: 0.1.0 +* GitHub: NA +* Source code: https://github.com/cran/maxmatching +* Date/Publication: 2017-01-15 09:51:07 +* Number of recursive dependencies: 10 + +Run `revdepcheck::cloud_details(, "maxmatching")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘maxmatching-Ex.R’ failed + The error most likely occurred in: + + > ### Name: maxmatching + > ### Title: Maximum Matching + > ### Aliases: maxmatching + > + > ### ** Examples + > + > # Unweighted general graph + > G1 <- igraph::graph(c(1, 2, 1, 3, 1, 4, 3, 4, 3, 5, + + 5, 6, 6, 7, 7, 8, 8, 9, 3, 8, 5, 8), directed = FALSE) + Warning: `graph()` was deprecated in igraph 1.6.0. + ℹ Please use `make_graph()` instead. + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: -> make_graph + Execution halted + ``` + +## In both + +* checking LazyData ... NOTE + ``` + 'LazyData' is specified without a 'data' directory + ``` + +# mazeGen + +
+ +* Version: 0.1.3 +* GitHub: NA +* Source code: https://github.com/cran/mazeGen +* Date/Publication: 2017-12-04 17:34:53 UTC +* Number of recursive dependencies: 10 + +Run `revdepcheck::cloud_details(, "mazeGen")` for more info + +
+ +## Newly broken + +* checking whether package ‘mazeGen’ can be installed ... ERROR + ``` + Installation failed. + See ‘/tmp/workdir/mazeGen/new/mazeGen.Rcheck/00install.out’ for details. + ``` + +## Installation + +### Devel + +``` +* installing *source* package ‘mazeGen’ ... +** package ‘mazeGen’ successfully unpacked and MD5 sums checked +** using staged installation +** R +** data +*** moving datasets to lazyload DB +** byte-compile and prepare package for lazy loading +Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals +Error: unable to load R code in package ‘mazeGen’ +Execution halted +ERROR: lazy loading failed for package ‘mazeGen’ +* removing ‘/tmp/workdir/mazeGen/new/mazeGen.Rcheck/mazeGen’ + + +``` +### CRAN + +``` +* installing *source* package ‘mazeGen’ ... +** package ‘mazeGen’ successfully unpacked and MD5 sums checked +** using staged installation +** R +** data +*** moving datasets to lazyload DB +** byte-compile and prepare package for lazy loading +** help +*** installing help indices +** building package indices +** testing if installed package can be loaded from temporary location +** testing if installed package can be loaded from final location +** testing if installed package keeps a record of temporary installation path +* DONE (mazeGen) + + +``` +# MetricGraph + +
+ +* Version: 1.2.0 +* GitHub: https://github.com/davidbolin/MetricGraph +* Source code: https://github.com/cran/MetricGraph +* Date/Publication: 2023-11-07 10:10:16 UTC +* Number of recursive dependencies: 129 + +Run `revdepcheck::cloud_details(, "MetricGraph")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘MetricGraph-Ex.R’ failed + The error most likely occurred in: + + > ### Name: graph_components + > ### Title: Connected components of metric graph + > ### Aliases: graph_components + > + > ### ** Examples + > + > library(sp) + ... + > edge1 <- rbind(c(0, 0), c(1, 0)) + > edge2 <- rbind(c(1, 0), c(2, 0)) + > edge3 <- rbind(c(1, 1), c(2, 1)) + > edges <- list(edge1, edge2, edge3) + > + > graphs <- graph_components$new(edges) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: -> initialize -> graph -> make_graph + Execution halted + ``` + +* checking tests ... ERROR + ``` + Running ‘testthat.R’ + Running the tests in ‘tests/testthat.R’ failed. + Complete output: + > library(testthat) + > test_check("MetricGraph") + Loading required package: MetricGraph + + Attaching package: 'MetricGraph' + + The following object is masked from 'package:stats': + ... + Backtrace: + ▆ + 1. └─metric_graph$new(edges = edges) at test_split_line.R:9:1 + 2. └─MetricGraph (local) initialize(...) + 3. └─igraph::graph(edges = c(t(self$E)), directed = FALSE) + 4. └─igraph::make_graph(...) + + [ FAIL 12 | WARN 2 | SKIP 1 | PASS 8 ] + Error: Test failures + Execution halted + ``` + +## In both + +* checking installed package size ... NOTE + ``` + installed size is 20.8Mb + sub-directories of 1Mb or more: + R 1.0Mb + libs 19.3Mb + ``` + +# migraph + +
+ +* Version: 1.1.5 +* GitHub: https://github.com/snlab-ch/migraph +* Source code: https://github.com/cran/migraph +* Date/Publication: 2023-11-02 10:10:02 UTC +* Number of recursive dependencies: 117 + +Run `revdepcheck::cloud_details(, "migraph")` for more info + +
+ +## Newly broken + +* checking tests ... ERROR + ``` + Running ‘testthat.R’ + Running the tests in ‘tests/testthat.R’ failed. + Complete output: + > library(testthat) + > library(manynet) + > library(migraph) + + Attaching package: 'migraph' + + The following objects are masked from 'package:manynet': + ... + Error in `make_graph(edges = edges, n = n, isolates = isolates, directed = directed, + dir = dir, simplify = simplify, ...)`: 'simplify' should only be used for graph literals + Backtrace: + ▆ + 1. └─igraph::graph(edges = c(1, 2, 2, 3), n = 4, directed = FALSE) at test-measure_holes.R:34:1 + 2. └─igraph::make_graph(...) + + [ FAIL 1 | WARN 6 | SKIP 0 | PASS 276 ] + Error: Test failures + Execution halted + ``` + +# mnda + +
+ +* Version: 1.0.9 +* GitHub: NA +* Source code: https://github.com/cran/mnda +* Date/Publication: 2023-01-25 08:30:02 UTC +* Number of recursive dependencies: 89 + +Run `revdepcheck::cloud_details(, "mnda")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘mnda-Ex.R’ failed + The error most likely occurred in: + + > ### Name: EDNN + > ### Title: Encoder decoder neural network (EDNN) function + > ### Aliases: EDNN + > + > ### ** Examples + > + > myNet = network_gen(N_nodes = 50) + > graphData = myNet[["data_graph"]] + > edge.list = graphData[,1:2] + > edge.weight = graphData[,3:4] + > XY = ednn_IOprepare(edge.list, edge.weight) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: ednn_IOprepare -> -> make_graph + Execution halted + ``` + +## In both + +* checking dependencies in R code ... NOTE + ``` + Namespaces in Imports field not imported from: + ‘MASS’ ‘Matrix’ ‘magrittr’ ‘reticulate’ ‘tensorflow’ ‘usethis’ + All declared Imports should be used. + ``` + +# mppR + +
+ +* Version: 1.4.0 +* GitHub: https://github.com/vincentgarin/mppR +* Source code: https://github.com/cran/mppR +* Date/Publication: 2023-01-05 20:50:02 UTC +* Number of recursive dependencies: 73 + +Run `revdepcheck::cloud_details(, "mppR")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘mppR-Ex.R’ failed + The error most likely occurred in: + + > ### Name: MQE_gen_effects + > ### Title: QTL genetic effects multi-QTL effect model + > ### Aliases: MQE_gen_effects + > + > ### ** Examples + > + > + ... + > + > SIM <- mpp_SIM(mppData = mppData) + > QTL <- QTL_select(SIM) + > + > QTL.eff <- MQE_gen_effects(mppData = mppData, QTL = QTL[, 1], + + Q.eff = c("anc", "par", "biall")) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: MQE_gen_effects ... -> design_connectivity -> graph -> make_graph + Execution halted + ``` + +* checking tests ... ERROR + ``` + Running ‘testthat.R’ + Running the tests in ‘tests/testthat.R’ failed. + Complete output: + > library(testthat) + > test_check("mppR") + Loading required package: mppR + [ FAIL 3 | WARN 1 | SKIP 0 | PASS 24 ] + + ══ Failed tests ════════════════════════════════════════════════════════════════ + ── Error ('test_MQE_proc.R:16:1'): (code run outside of `test_that()`) ───────── + ... + 2. └─mppR::QTL_gen_effects(...) + 3. └─base::mapply(...) + 4. └─mppR (local) ``(...) + 5. └─mppR::design_connectivity(...) + 6. └─igraph::graph(vertices) + 7. └─igraph::make_graph(...) + + [ FAIL 3 | WARN 1 | SKIP 0 | PASS 24 ] + Error: Test failures + Execution halted + ``` + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + ... + --- re-building ‘MPP_ME_QTL_detect.Rmd’ using rmarkdown + + Quitting from lines 126-129 [setup] (MPP_ME_QTL_detect.Rmd) + Error: processing vignette 'MPP_ME_QTL_detect.Rmd' failed with diagnostics: + 'simplify' should only be used for graph literals + --- failed re-building ‘MPP_ME_QTL_detect.Rmd’ + + --- re-building ‘mppR_gen_vignette.Rmd’ using rmarkdown + ... + Quitting from lines 355-360 [design_connectivity] (mppR_gen_vignette.Rmd) + Error: processing vignette 'mppR_gen_vignette.Rmd' failed with diagnostics: + 'simplify' should only be used for graph literals + --- failed re-building ‘mppR_gen_vignette.Rmd’ + + SUMMARY: processing the following files failed: + ‘MPP_ME_QTL_detect.Rmd’ ‘mppR_gen_vignette.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + +# MRS + +
+ +* Version: 1.2.4 +* GitHub: NA +* Source code: https://github.com/cran/MRS +* Date/Publication: 2018-01-23 09:10:10 UTC +* Number of recursive dependencies: 13 + +Run `revdepcheck::cloud_details(, "MRS")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘MRS-Ex.R’ failed + The error most likely occurred in: + + > ### Name: plotTree + > ### Title: Plot nodes of the representative tree + > ### Aliases: plotTree + > + > ### ** Examples + > + > set.seed(1) + ... + > X = rbind(X1, X2) + > colnames(X) = c(1,2) + > G = c(rep(1, n1), rep(2,n2)) + > + > ans = mrs(X, G, K=8) + > plotTree(ans, type = "prob", legend = TRUE) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: plotTree -> -> make_graph + Execution halted + ``` + +## In both + +* checking installed package size ... NOTE + ``` + installed size is 9.9Mb + sub-directories of 1Mb or more: + libs 9.7Mb + ``` + +# nat + +
+ +* Version: 1.8.23 +* GitHub: https://github.com/natverse/nat +* Source code: https://github.com/cran/nat +* Date/Publication: 2023-08-25 15:40:02 UTC +* Number of recursive dependencies: 92 + +Run `revdepcheck::cloud_details(, "nat")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘nat-Ex.R’ failed + The error most likely occurred in: + + > ### Name: neuron + > ### Title: neuron: class to represent traced neurons + > ### Aliases: neuron is.neuron as.neuron as.neuron.data.frame + > ### as.neuron.ngraph as.neuron.igraph as.neuron.default + > + > ### ** Examples + > + ... + [25] xform xyzmatrix xyzmatrix<- + see '?methods' for accessing help and source code + > + > ## Neurons as graphs + > # convert to graph and find longest paths by number of nodes + > ng=as.ngraph(n) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: as.ngraph ... as.ngraph.data.frame -> ngraph -> -> make_graph + Execution halted + ``` + +* checking tests ... ERROR + ``` + Running ‘test-all.R’ + Running the tests in ‘tests/test-all.R’ failed. + Complete output: + > library(testthat) + > library(nat) + Loading required package: rgl + Registered S3 method overwritten by 'nat': + method from + as.mesh3d.ashape3d rgl + Some nat functions depend on a CMTK installation. See ?cmtk and README.md for details. + ... + Error in `make_graph(edges = edges, n = n, isolates = isolates, directed = directed, + dir = dir, simplify = simplify, ...)`: 'simplify' should only be used for graph literals + Backtrace: + ▆ + 1. └─igraph::graph(c(1, 2, 2, 3)) at test-seglist.R:10:3 + 2. └─igraph::make_graph(...) + + [ FAIL 44 | WARN 3 | SKIP 4 | PASS 563 ] + Error: Test failures + Execution halted + ``` + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + ... + --- re-building ‘Installation.Rmd’ using rmarkdown + --- finished re-building ‘Installation.Rmd’ + + --- re-building ‘neurons-intro.Rmd’ using rmarkdown + + Quitting from lines 200-207 [unnamed-chunk-14] (neurons-intro.Rmd) + Error: processing vignette 'neurons-intro.Rmd' failed with diagnostics: + 'simplify' should only be used for graph literals + --- failed re-building ‘neurons-intro.Rmd’ + + SUMMARY: processing the following file failed: + ‘neurons-intro.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + +# netdiffuseR + +
+ +* Version: 1.22.6 +* GitHub: https://github.com/USCCANA/netdiffuseR +* Source code: https://github.com/cran/netdiffuseR +* Date/Publication: 2023-08-30 17:00:10 UTC +* Number of recursive dependencies: 88 + +Run `revdepcheck::cloud_details(, "netdiffuseR")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘netdiffuseR-Ex.R’ failed + The error most likely occurred in: + + > ### Name: exposure + > ### Title: Ego exposure + > ### Aliases: exposure + > ### Keywords: univar + > + > ### ** Examples + > + ... + 4: `[<-`(`*tmp*`, ids[, 1:2], value = c(15.1666666666667, 9.08333333333333, 4.38888888888889, 4.91666666666667, 4.91666666666667, 3.80555555555556, 4.52777777777778, 4.11111111111111, 4.52777777777778, 7.38888888888889, 4.97222222222222, 6.61111111111111, 4.38888888888889, 4.38888888888889, 4.55555555555556, 3.25, 4.94444444444444, 4.52777777777778, 4.55555555555555, 4.38888888888889, 4.27777777777778, 4.38888888888889, 4.41666666666667, 3.94444444444445, 3.55555555555556, 4.41666666666667, 4.38888888888889, 4.27777777777778, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.38888888888889, 4.27777777777778, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.27777777777778, 4.41666666666667, 3.97222222222222, 4.52777777777778, 4.38888888888889, 4.13888888888889, 3.66666666666667, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.52777777777778, 4.77777777777778, 4.38888888888889, 4.36111111111111, 3.94444444444444, 4.38888888888889, 4.27777777777778, 4.27777777777778, 4.77777777777778, 4.13888888888889, 4.41666666666667, 3.80555555555556, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.13888888888889, 4.27777777777778, 4.38888888888889, 4.13888888888889, 4.27777777777778, 4.27777777777778, 4.38888888888889, 4.27777777777778, 4.13888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.13888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.05555555555556, 4.41666666666667, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.27777777777778, 3.94444444444444, 4.38888888888889, 4.38888888888889, 4.38888888888889, 3.94444444444444, 4.41666666666667, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.13888888888889, 4.27777777777778, 4.52777777777778, 3.22222222222222, 10.75, 9.72222222222223, 9.72222222222222, 11, 10.1944444444444, 10.8611111111111, 10.1944444444444, 13.7777777777778, 11.3611111111111, 5.11111111111111, 9.77777777777778, 10.3333333333333, 10.9444444444444, 11.3333333333333, 8.30555555555556, 10.1944444444444, 9.27777777777778, 10.75, 10.7777777777778, 10.75, 10.3333333333333, 10.8055555555556, 11.1944444444444, 10.3333333333333, 10.5277777777778, 10.7777777777778, 10.5277777777778, 10.5277777777778, 10.7777777777778, 10.3333333333333, 10.8055555555556, 10.7777777777778, 10.8055555555556, 10.7777777777778, 10.7777777777778, 10.5277777777778, 10.9444444444444, 10.9166666666667, 10.3333333333333, 10.8055555555556, 10.9444444444444, 10.75, 10.75, 10.5277777777778, 9.52777777777778, 9.13888888888889, 10.5277777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 11.1666666666667, 10.8055555555556, 9.77777777777778, 10.9166666666667, 10.75, 10.8055555555556, 10.5277777777778, 10.8055555555556, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.0833333333333, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.3333333333333, 10.7777777777778, 10.75, 10.7777777777778, 10.7777777777778, 10.9166666666667, 9.77777777777778, 10.7777777777778, 10.75, 10.3333333333333, 10.8055555555556, 10.75, 10.7777777777778, 10.8055555555556, 10.75, 10.7777777777778, 10.75, 10.7777777777778, 10.3333333333333, 10.7777777777778, 9.77777777777778, 10.7777777777778, 10.75, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.9166666666667, 4.69444444444444, 5.22222222222222, 5.22222222222222, 4.91666666666667, 4.83333333333333, 4.77777777777778, 4.83333333333333, 7.69444444444444, 5.27777777777778, 0.777777777777778, 4, 4.44444444444444, 4.86111111111111, 5.25, 2.91666666666667, 4.36111111111111, 3.61111111111111, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.72222222222222, 5.11111111111111, 4.72222222222222, 4.58333333333333, 4.69444444444444, 4.58333333333333, 4.72222222222222, 4.69444444444444, 4.44444444444444, 4.72222222222222, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.86111111111111, 4.83333333333333, 4.44444444444444, 4.72222222222222, 4.86111111111111, 4.69444444444444, 4.69444444444444, 4.69444444444444, 3.80555555555556, 3.52777777777778, 4.58333333333333, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 5.08333333333333, 4.72222222222222, 4, 4.83333333333333, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.25, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.83333333333333, 4, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.44444444444445, 4.69444444444444, 4, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.83333333333333, 0.527777777777778, 0.527777777777778, 0.222222222222222, 0.138888888888889, 0.0833333333333333, 0.138888888888889, 3, 0.583333333333333, 2.22222222222222, 0, 0, 0.166666666666667, 0.555555555555556, 0.555555555555556, 0.138888888888889, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 1.05555555555556, 0.75, 0.194444444444444, 0.611111111111111, 0.666666666666667, 3.52777777777778, 1.11111111111111, 2.75, 0.527777777777778, 0.527777777777778, 0.694444444444444, 1.08333333333333, 1.08333333333333, 0.666666666666667, 0.694444444444444, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.555555555555556, 0.944444444444444, 0.277777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.416666666666667, 0.694444444444444, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.694444444444444, 0.527777777777778, 0.527777777777778, 0.416666666666667, 0.666666666666667, 0.916666666666667, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.916666666666667, 0.555555555555556, 0.555555555555556, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.277777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.75, 0.666666666666667, 0.611111111111111, 0.194444444444444, 3.52777777777778, 1.11111111111111, 2.75, 0.527777777777778, 0.527777777777778, 0.694444444444444, 1.08333333333333, 1.08333333333333, 0.666666666666667, 0.694444444444444, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.277777777777778, 0.555555555555556, 0.944444444444444, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.416666666666667, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.694444444444444, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.694444444444445, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.916666666666667, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.916666666666667, 0.555555555555556, 0.555555555555556, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.416666666666667, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.277777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.361111111111111, 0.305555555555556, 0.361111111111111, 3.22222222222222, 0.805555555555556, 2.44444444444444, 0.222222222222222, 0.222222222222222, 0.388888888888889, 0.777777777777778, 0.777777777777778, 0.361111111111111, 0.388888888888889, 0.222222222222222, 0.194444444444444, 0.222222222222222, 0.25, 0.25, 0.638888888888889, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.25, 0.388888888888889, 0.361111111111111, 0.222222222222222, 0.111111111111111, 0.388888888888889, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.361111111111111, 0.611111111111111, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.611111111111111, 0.25, 0.25, 0.361111111111111, 0.222222222222222, 0.25, 0.222222222222222, 0.25, 0.194444444444444, 0.222222222222222, 0.222222222222222, 0.194444444444444, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.111111111111111, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.361111111111111, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.361111111111111, 0.222222222222222, 0.277777777777778, 3.13888888888889, 0.722222222222222, 2.36111111111111, 0.138888888888889, 0.138888888888889, 0.305555555555556, 0.694444444444444, 0.694444444444444, 0.277777777777778, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.222222222222222, 3.08333333333333, 0.666666666666667, 2.30555555555556, 0.0833333333333333, 0.0833333333333333, 0.25, 0.638888888888889, 0.638888888888889, 0.222222222222222, 0.25, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.111111111111111, 0.5, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.25, 0.222222222222222, 0.0833333333333333, 0.111111111111111, 0.25, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.222222222222222, 0.472222222222222, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0555555555555556, 0.472222222222222, 0.111111111111111, 0.111111111111111, 0.222222222222222, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0555555555555556, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.222222222222222, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0555555555555556, 0.222222222222222, 3.13888888888889, 0.722222222222222, 2.36111111111111, 0.138888888888889, 0.138888888888889, 0.305555555555556, 0.694444444444444, 0.694444444444444, 0.277777777777778, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.555555555555556, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 1.66666666666667, 5.22222222222222, 3, 3, 2.58333333333333, 3.55555555555556, 3.55555555555556, 3.13888888888889, 3.16666666666667, 3, 3, 3, 3.02777777777778, 3.02777777777778, 3.41666666666667, 3.02777777777778, 3, 3, 3, 3.02777777777778, 2.88888888888889, 3, 3.02777777777778, 2.97222222222222, 2.75, 2.88888888888889, 3, 3.02777777777778, 3.16666666666667, 2.41666666666667, 3, 3.02777777777778, 3.16666666666667, 3, 3, 3, 3.13888888888889, 3.38888888888889, 3, 3, 3, 2.75, 3, 3, 2.25, 3.02777777777778, 3.02777777777778, 3.13888888888889, 3, 2.55555555555556, 3, 3.02777777777778, 3, 3, 3, 3, 3, 3, 3, 3, 2.88888888888889, 2.88888888888889, 3, 3, 3, 2.88888888888889, 2.97222222222222, 3.13888888888889, 3.02777777777778, 2.88888888888889, 3, 3, 2.55555555555556, 3, 3, 3.02777777777778, 3, 2.55555555555556, 3, 3, 3.02777777777778, 2.88888888888889, 3, 2.55555555555556, 3, 2.88888888888889, 3, 3, 2.41666666666667, 2.80555555555555, 0.583333333333333, 0.583333333333333, 0.75, 1.13888888888889, 1.13888888888889, 0.722222222222222, 0.75, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.611111111111111, 1, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.555555555555556, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.75, 0.25, 0.583333333333333, 0.611111111111111, 0.75, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.722222222222222, 0.972222222222222, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.972222222222222, 0.611111111111111, 0.611111111111111, 0.722222222222222, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.722222222222222, 0.611111111111111, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.333333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.555555555555556, 0.583333333333333, 0.333333333333333, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.722222222222222, 1.77777777777778, 2.22222222222222, 2.38888888888889, 2.77777777777778, 1.08333333333333, 2.36111111111111, 1.5, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.25, 2.25, 2.63888888888889, 2.25, 2.19444444444444, 2.22222222222222, 2.19444444444444, 2.25, 2.22222222222222, 2.11111111111111, 2.25, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.25, 2.38888888888889, 2.36111111111111, 2.11111111111111, 2.25, 2.38888888888889, 2.22222222222222, 2.22222222222222, 2.22222222222222, 1.63888888888889, 1.47222222222222, 2.19444444444444, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.61111111111111, 2.25, 1.77777777777778, 2.36111111111111, 2.22222222222222, 2.25, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 1.97222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.36111111111111, 1.77777777777778, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.25, 2.22222222222222, 1.77777777777778, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.36111111111111, 0, 0.166666666666667, 0.555555555555556, 0.555555555555556, 0.138888888888889, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.166666666666667, 0.555555555555556, 0.555555555555556, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.722222222222222, 0.722222222222222, 0.305555555555556, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.194444444444444, 0.583333333333333, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.0555555555555556, 0.138888888888889, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.194444444444444, 0.194444444444444, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 1.11111111111111, 0.694444444444444, 0.722222222222222, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.305555555555556, 0.972222222222222, 0.583333333333333, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.722222222222222, 0.694444444444444, 0.555555555555556, 0.583333333333333, 0.138888888888889, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.944444444444444, 0.555555555555556, 0.555555555555556, 0.305555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.944444444444445, 0.583333333333333, 0.583333333333333, 0.694444444444444, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.527777777777778, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.444444444444444, 0.555555555555556, 0.694444444444444, 0.694444444444444, 0.138888888888889, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.972222222222222, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.527777777777778, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.722222222222222, 0.694444444444444, 0.527777777777778, 0.583333333333333, 0.722222222222222, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.944444444444444, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.944444444444444, 0.583333333333333, 0.305555555555556, 0.694444444444444, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.444444444444444, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.305555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.194444444444444, 0.583333333333333, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.194444444444444, 0.0555555555555556, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0555555555555556, 0.444444444444444, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.444444444444444, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.388888888888889, 0.444444444444444, 0.583333333333333, 0.555555555555556, 0.416666666666667, 0.444444444444444, 0.583333333333333, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.555555555555556, 0.805555555555556, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.805555555555556, 0.444444444444444, 0.444444444444444, 0.0833333333333333, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.555555555555556, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.166666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.166666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.555555555555556, 0.0555555555555556, 0.194444444444444, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.194444444444444, 0.194444444444444, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0555555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.777777777777778, 0.416666666666667, 0.416666666666667, 0.527777777777778, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.527777777777778, 0.138888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.527777777777778, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.416666666666667, 0.416666666666667, 0.527777777777778, 0.388888888888889, 0.138888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.527777777777778, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.138888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0.138888888888889, 0, 0, 0.138888888888889, 0, 0.138888888888889, 0.138888888888889)) + 5: `[<-`(`*tmp*`, ids[, 1:2], value = c(15.1666666666667, 9.08333333333333, 4.38888888888889, 4.91666666666667, 4.91666666666667, 3.80555555555556, 4.52777777777778, 4.11111111111111, 4.52777777777778, 7.38888888888889, 4.97222222222222, 6.61111111111111, 4.38888888888889, 4.38888888888889, 4.55555555555556, 3.25, 4.94444444444444, 4.52777777777778, 4.55555555555555, 4.38888888888889, 4.27777777777778, 4.38888888888889, 4.41666666666667, 3.94444444444445, 3.55555555555556, 4.41666666666667, 4.38888888888889, 4.27777777777778, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.38888888888889, 4.27777777777778, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.27777777777778, 4.41666666666667, 3.97222222222222, 4.52777777777778, 4.38888888888889, 4.13888888888889, 3.66666666666667, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.52777777777778, 4.77777777777778, 4.38888888888889, 4.36111111111111, 3.94444444444444, 4.38888888888889, 4.27777777777778, 4.27777777777778, 4.77777777777778, 4.13888888888889, 4.41666666666667, 3.80555555555556, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.13888888888889, 4.27777777777778, 4.38888888888889, 4.13888888888889, 4.27777777777778, 4.27777777777778, 4.38888888888889, 4.27777777777778, 4.13888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.13888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.05555555555556, 4.41666666666667, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.27777777777778, 3.94444444444444, 4.38888888888889, 4.38888888888889, 4.38888888888889, 3.94444444444444, 4.41666666666667, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.13888888888889, 4.27777777777778, 4.52777777777778, 3.22222222222222, 10.75, 9.72222222222223, 9.72222222222222, 11, 10.1944444444444, 10.8611111111111, 10.1944444444444, 13.7777777777778, 11.3611111111111, 5.11111111111111, 9.77777777777778, 10.3333333333333, 10.9444444444444, 11.3333333333333, 8.30555555555556, 10.1944444444444, 9.27777777777778, 10.75, 10.7777777777778, 10.75, 10.3333333333333, 10.8055555555556, 11.1944444444444, 10.3333333333333, 10.5277777777778, 10.7777777777778, 10.5277777777778, 10.5277777777778, 10.7777777777778, 10.3333333333333, 10.8055555555556, 10.7777777777778, 10.8055555555556, 10.7777777777778, 10.7777777777778, 10.5277777777778, 10.9444444444444, 10.9166666666667, 10.3333333333333, 10.8055555555556, 10.9444444444444, 10.75, 10.75, 10.5277777777778, 9.52777777777778, 9.13888888888889, 10.5277777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 11.1666666666667, 10.8055555555556, 9.77777777777778, 10.9166666666667, 10.75, 10.8055555555556, 10.5277777777778, 10.8055555555556, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.0833333333333, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.3333333333333, 10.7777777777778, 10.75, 10.7777777777778, 10.7777777777778, 10.9166666666667, 9.77777777777778, 10.7777777777778, 10.75, 10.3333333333333, 10.8055555555556, 10.75, 10.7777777777778, 10.8055555555556, 10.75, 10.7777777777778, 10.75, 10.7777777777778, 10.3333333333333, 10.7777777777778, 9.77777777777778, 10.7777777777778, 10.75, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.9166666666667, 4.69444444444444, 5.22222222222222, 5.22222222222222, 4.91666666666667, 4.83333333333333, 4.77777777777778, 4.83333333333333, 7.69444444444444, 5.27777777777778, 0.777777777777778, 4, 4.44444444444444, 4.86111111111111, 5.25, 2.91666666666667, 4.36111111111111, 3.61111111111111, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.72222222222222, 5.11111111111111, 4.72222222222222, 4.58333333333333, 4.69444444444444, 4.58333333333333, 4.72222222222222, 4.69444444444444, 4.44444444444444, 4.72222222222222, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.86111111111111, 4.83333333333333, 4.44444444444444, 4.72222222222222, 4.86111111111111, 4.69444444444444, 4.69444444444444, 4.69444444444444, 3.80555555555556, 3.52777777777778, 4.58333333333333, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 5.08333333333333, 4.72222222222222, 4, 4.83333333333333, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.25, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.83333333333333, 4, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.44444444444445, 4.69444444444444, 4, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.83333333333333, 0.527777777777778, 0.527777777777778, 0.222222222222222, 0.138888888888889, 0.0833333333333333, 0.138888888888889, 3, 0.583333333333333, 2.22222222222222, 0, 0, 0.166666666666667, 0.555555555555556, 0.555555555555556, 0.138888888888889, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 1.05555555555556, 0.75, 0.194444444444444, 0.611111111111111, 0.666666666666667, 3.52777777777778, 1.11111111111111, 2.75, 0.527777777777778, 0.527777777777778, 0.694444444444444, 1.08333333333333, 1.08333333333333, 0.666666666666667, 0.694444444444444, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.555555555555556, 0.944444444444444, 0.277777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.416666666666667, 0.694444444444444, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.694444444444444, 0.527777777777778, 0.527777777777778, 0.416666666666667, 0.666666666666667, 0.916666666666667, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.916666666666667, 0.555555555555556, 0.555555555555556, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.277777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.75, 0.666666666666667, 0.611111111111111, 0.194444444444444, 3.52777777777778, 1.11111111111111, 2.75, 0.527777777777778, 0.527777777777778, 0.694444444444444, 1.08333333333333, 1.08333333333333, 0.666666666666667, 0.694444444444444, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.277777777777778, 0.555555555555556, 0.944444444444444, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.416666666666667, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.694444444444444, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.694444444444445, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.916666666666667, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.916666666666667, 0.555555555555556, 0.555555555555556, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.416666666666667, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.277777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.361111111111111, 0.305555555555556, 0.361111111111111, 3.22222222222222, 0.805555555555556, 2.44444444444444, 0.222222222222222, 0.222222222222222, 0.388888888888889, 0.777777777777778, 0.777777777777778, 0.361111111111111, 0.388888888888889, 0.222222222222222, 0.194444444444444, 0.222222222222222, 0.25, 0.25, 0.638888888888889, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.25, 0.388888888888889, 0.361111111111111, 0.222222222222222, 0.111111111111111, 0.388888888888889, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.361111111111111, 0.611111111111111, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.611111111111111, 0.25, 0.25, 0.361111111111111, 0.222222222222222, 0.25, 0.222222222222222, 0.25, 0.194444444444444, 0.222222222222222, 0.222222222222222, 0.194444444444444, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.111111111111111, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.361111111111111, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.361111111111111, 0.222222222222222, 0.277777777777778, 3.13888888888889, 0.722222222222222, 2.36111111111111, 0.138888888888889, 0.138888888888889, 0.305555555555556, 0.694444444444444, 0.694444444444444, 0.277777777777778, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.222222222222222, 3.08333333333333, 0.666666666666667, 2.30555555555556, 0.0833333333333333, 0.0833333333333333, 0.25, 0.638888888888889, 0.638888888888889, 0.222222222222222, 0.25, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.111111111111111, 0.5, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.25, 0.222222222222222, 0.0833333333333333, 0.111111111111111, 0.25, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.222222222222222, 0.472222222222222, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0555555555555556, 0.472222222222222, 0.111111111111111, 0.111111111111111, 0.222222222222222, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0555555555555556, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.222222222222222, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0555555555555556, 0.222222222222222, 3.13888888888889, 0.722222222222222, 2.36111111111111, 0.138888888888889, 0.138888888888889, 0.305555555555556, 0.694444444444444, 0.694444444444444, 0.277777777777778, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.555555555555556, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 1.66666666666667, 5.22222222222222, 3, 3, 2.58333333333333, 3.55555555555556, 3.55555555555556, 3.13888888888889, 3.16666666666667, 3, 3, 3, 3.02777777777778, 3.02777777777778, 3.41666666666667, 3.02777777777778, 3, 3, 3, 3.02777777777778, 2.88888888888889, 3, 3.02777777777778, 2.97222222222222, 2.75, 2.88888888888889, 3, 3.02777777777778, 3.16666666666667, 2.41666666666667, 3, 3.02777777777778, 3.16666666666667, 3, 3, 3, 3.13888888888889, 3.38888888888889, 3, 3, 3, 2.75, 3, 3, 2.25, 3.02777777777778, 3.02777777777778, 3.13888888888889, 3, 2.55555555555556, 3, 3.02777777777778, 3, 3, 3, 3, 3, 3, 3, 3, 2.88888888888889, 2.88888888888889, 3, 3, 3, 2.88888888888889, 2.97222222222222, 3.13888888888889, 3.02777777777778, 2.88888888888889, 3, 3, 2.55555555555556, 3, 3, 3.02777777777778, 3, 2.55555555555556, 3, 3, 3.02777777777778, 2.88888888888889, 3, 2.55555555555556, 3, 2.88888888888889, 3, 3, 2.41666666666667, 2.80555555555555, 0.583333333333333, 0.583333333333333, 0.75, 1.13888888888889, 1.13888888888889, 0.722222222222222, 0.75, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.611111111111111, 1, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.555555555555556, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.75, 0.25, 0.583333333333333, 0.611111111111111, 0.75, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.722222222222222, 0.972222222222222, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.972222222222222, 0.611111111111111, 0.611111111111111, 0.722222222222222, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.722222222222222, 0.611111111111111, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.333333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.555555555555556, 0.583333333333333, 0.333333333333333, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.722222222222222, 1.77777777777778, 2.22222222222222, 2.38888888888889, 2.77777777777778, 1.08333333333333, 2.36111111111111, 1.5, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.25, 2.25, 2.63888888888889, 2.25, 2.19444444444444, 2.22222222222222, 2.19444444444444, 2.25, 2.22222222222222, 2.11111111111111, 2.25, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.25, 2.38888888888889, 2.36111111111111, 2.11111111111111, 2.25, 2.38888888888889, 2.22222222222222, 2.22222222222222, 2.22222222222222, 1.63888888888889, 1.47222222222222, 2.19444444444444, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.61111111111111, 2.25, 1.77777777777778, 2.36111111111111, 2.22222222222222, 2.25, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 1.97222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.36111111111111, 1.77777777777778, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.25, 2.22222222222222, 1.77777777777778, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.36111111111111, 0, 0.166666666666667, 0.555555555555556, 0.555555555555556, 0.138888888888889, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.166666666666667, 0.555555555555556, 0.555555555555556, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.722222222222222, 0.722222222222222, 0.305555555555556, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.194444444444444, 0.583333333333333, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.0555555555555556, 0.138888888888889, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.194444444444444, 0.194444444444444, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 1.11111111111111, 0.694444444444444, 0.722222222222222, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.305555555555556, 0.972222222222222, 0.583333333333333, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.722222222222222, 0.694444444444444, 0.555555555555556, 0.583333333333333, 0.138888888888889, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.944444444444444, 0.555555555555556, 0.555555555555556, 0.305555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.944444444444445, 0.583333333333333, 0.583333333333333, 0.694444444444444, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.527777777777778, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.444444444444444, 0.555555555555556, 0.694444444444444, 0.694444444444444, 0.138888888888889, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.972222222222222, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.527777777777778, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.722222222222222, 0.694444444444444, 0.527777777777778, 0.583333333333333, 0.722222222222222, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.944444444444444, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.944444444444444, 0.583333333333333, 0.305555555555556, 0.694444444444444, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.444444444444444, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.305555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.194444444444444, 0.583333333333333, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.194444444444444, 0.0555555555555556, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0555555555555556, 0.444444444444444, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.444444444444444, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.388888888888889, 0.444444444444444, 0.583333333333333, 0.555555555555556, 0.416666666666667, 0.444444444444444, 0.583333333333333, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.555555555555556, 0.805555555555556, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.805555555555556, 0.444444444444444, 0.444444444444444, 0.0833333333333333, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.555555555555556, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.166666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.166666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.555555555555556, 0.0555555555555556, 0.194444444444444, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.194444444444444, 0.194444444444444, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0555555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.777777777777778, 0.416666666666667, 0.416666666666667, 0.527777777777778, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.527777777777778, 0.138888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.527777777777778, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.416666666666667, 0.416666666666667, 0.527777777777778, 0.388888888888889, 0.138888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.527777777777778, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.138888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0.138888888888889, 0, 0, 0.138888888888889, 0, 0.138888888888889, 0.138888888888889)) + 6: euclidean_distance(gdist) + 7: struct_equiv_new(geod, v) + 8: struct_equiv.dgCMatrix(methods::as(graph[[i]], "dgCMatrix"), v, inf.replace, groupvar, ...) + 9: struct_equiv.list(graph$graph, v, inf.replace, groupvar, ...) + 10: struct_equiv(graph) + 11: lapply(struct_equiv(graph), "[[", "SE") + An irrecoverable exception occurred. R is aborting now ... + Bus error (core dumped) + ``` + +## In both + +* checking installed package size ... NOTE + ``` + installed size is 21.8Mb + sub-directories of 1Mb or more: + data 1.1Mb + doc 2.5Mb + libs 16.9Mb + ``` + +# netseg + +
+ +* Version: 1.0-2 +* GitHub: https://github.com/mbojan/netseg +* Source code: https://github.com/cran/netseg +* Date/Publication: 2023-07-01 07:40:02 UTC +* Number of recursive dependencies: 63 + +Run `revdepcheck::cloud_details(, "netseg")` for more info + +
+ +## Newly broken + +* checking tests ... ERROR + ``` + Running ‘testthat.R’ + Running the tests in ‘tests/testthat.R’ failed. + Complete output: + > library(testthat) + > library(netseg) + > + > test_check("netseg") + [ FAIL 3 | WARN 17 | SKIP 0 | PASS 48 ] + + ══ Failed tests ════════════════════════════════════════════════════════════════ + ... + Error in `make_graph(edges = edges, n = n, isolates = isolates, directed = directed, + dir = dir, simplify = simplify, ...)`: 'simplify' should only be used for graph literals + Backtrace: + ▆ + 1. └─igraph::graph(c(1, 2, 1, 3, 2, 4, 3, 4, 3, 1, 4, 2), directed = TRUE) at test-orwg.R:12:11 + 2. └─igraph::make_graph(...) + + [ FAIL 3 | WARN 17 | SKIP 0 | PASS 48 ] + Error: Test failures + Execution halted + ``` + +# nosoi + +
+ +* Version: 1.1.0 +* GitHub: https://github.com/slequime/nosoi +* Source code: https://github.com/cran/nosoi +* Date/Publication: 2021-08-17 16:20:02 UTC +* Number of recursive dependencies: 147 + +Run `revdepcheck::cloud_details(, "nosoi")` for more info + +
+ +## Newly broken + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + --- re-building ‘continuous.Rmd’ using rmarkdown + --- finished re-building ‘continuous.Rmd’ + + --- re-building ‘discrete.Rmd’ using rmarkdown + + Quitting from lines 49-83 [setupMatrix] (discrete.Rmd) + Error: processing vignette 'discrete.Rmd' failed with diagnostics: + layout matrix dimensions do not match network size + --- failed re-building ‘discrete.Rmd’ + ... + --- failed re-building ‘nosoi.Rmd’ + + --- re-building ‘output.Rmd’ using rmarkdown + --- finished re-building ‘output.Rmd’ + + SUMMARY: processing the following files failed: + ‘discrete.Rmd’ ‘nosoi.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + +# pcalg + +
+ +* Version: 2.7-9 +* GitHub: NA +* Source code: https://github.com/cran/pcalg +* Date/Publication: 2023-09-26 05:40:03 UTC +* Number of recursive dependencies: 58 + +Run `revdepcheck::cloud_details(, "pcalg")` for more info + +
+ +## Newly broken + +* checking tests ... ERROR + ``` + Running ‘test_LINGAM.R’ + Running ‘test_addBgKnowledge.R’ + Running ‘test_adjustment.R’ + Running ‘test_ages.R’ + Running ‘test_amat2dag.R’ + Running ‘test_arges.R’ + Running ‘test_backdoor.R’ + Comparing ‘test_backdoor.Rout’ to ‘test_backdoor.Rout.save’ ... OK + Running ‘test_bicscore.R’ + Running ‘test_causalEffect.R’ + ... + + , warning = function(w) { + + rDAG.warn <<- conditionMessage(w); invokeRestart("muffleWarning") }) + > ## with a low-level warning: + > ## IGNORE_RDIFF_BEGIN + > rDAG.warn + [1] "The `edges` argument of `as_adjacency_matrix` is deprecated; it will be removed in igraph 1.4.0" + > ## IGNORE_RDIFF_END + > stopifnot(grepl("graph_molloy_.*Cannot shuffle graph", rDAG.warn)) + Error: grepl("graph_molloy_.*Cannot shuffle graph", rDAG.warn) is not TRUE + Execution halted + ``` + +## In both + +* checking installed package size ... NOTE + ``` + installed size is 20.0Mb + sub-directories of 1Mb or more: + data 2.1Mb + libs 14.6Mb + ``` + +* checking Rd cross-references ... NOTE + ``` + Packages unavailable to check Rd xrefs: ‘combinat’, ‘unifDAG’ + ``` + +* checking re-building of vignette outputs ... NOTE + ``` + Error(s) in re-building vignettes: + --- re-building ‘vignette2018.Rnw’ using Sweave + Loading required package: Rgraphviz + Loading required package: graph + Loading required package: BiocGenerics + + Attaching package: 'BiocGenerics' + + The following objects are masked from 'package:stats': + + ... + l.179 \RequirePackage{grfext}\relax + ^^M + ! ==> Fatal error occurred, no output PDF file produced! + --- failed re-building 'vignette2018.Rnw' + + SUMMARY: processing the following file failed: + 'vignette2018.Rnw' + + Error: Vignette re-building failed. + Execution halted + ``` + +# pcSteiner + +
+ +* Version: 1.0.0.1 +* GitHub: https://github.com/krashkov/pcSteiner +* Source code: https://github.com/cran/pcSteiner +* Date/Publication: 2022-05-23 08:02:24 UTC +* Number of recursive dependencies: 36 + +Run `revdepcheck::cloud_details(, "pcSteiner")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘pcSteiner-Ex.R’ failed + The error most likely occurred in: + + > ### Name: pcs.tree + > ### Title: Solve the Prize-Collecting Steiner Tree problem + > ### Aliases: pcs.tree + > + > ### ** Examples + > + > g <- graph('Bull') + Warning: `graph()` was deprecated in igraph 1.6.0. + ℹ Please use `make_graph()` instead. + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: graph -> make_graph + Execution halted + ``` + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + ... + --- re-building ‘tutorial.Rmd’ using rmarkdown + + Quitting from lines 643-652 [unnamed-chunk-1] (tutorial.Rmd) + Error: processing vignette 'tutorial.Rmd' failed with diagnostics: + 'simplify' should only be used for graph literals + --- failed re-building ‘tutorial.Rmd’ + + SUMMARY: processing the following file failed: + ‘tutorial.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + +## Newly fixed + +* checking re-building of vignette outputs ... WARNING + ``` + Error(s) in re-building vignettes: + --- re-building ‘tutorial.Rmd’ using rmarkdown + tlmgr: package repository https://mirrors.rit.edu/CTAN/systems/texlive/tlnet (verified) + [1/1, ??:??/??:??] install: grffile [4k] + running mktexlsr ... + done running mktexlsr. + tlmgr: package log updated: /opt/TinyTeX/texmf-var/web2c/tlmgr.log + tlmgr: command log updated: /opt/TinyTeX/texmf-var/web2c/tlmgr-commands.log + tlmgr: package repository https://mirror.math.princeton.edu/pub/CTAN/systems/texlive/tlnet (verified) + [1/1, ??:??/??:??] install: algorithm2e [33k] + ... + + Error: processing vignette 'tutorial.Rmd' failed with diagnostics: + LaTeX failed to compile /tmp/workdir/pcSteiner/old/pcSteiner.Rcheck/vign_test/pcSteiner/vignettes/tutorial.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See tutorial.log for more info. + --- failed re-building ‘tutorial.Rmd’ + + SUMMARY: processing the following file failed: + ‘tutorial.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + +# phangorn + +
+ +* Version: 2.11.1 +* GitHub: https://github.com/KlausVigo/phangorn +* Source code: https://github.com/cran/phangorn +* Date/Publication: 2023-01-23 10:10:02 UTC +* Number of recursive dependencies: 67 + +Run `revdepcheck::cloud_details(, "phangorn")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘phangorn-Ex.R’ failed + The error most likely occurred in: + + > ### Name: addConfidences + > ### Title: Compare splits and add support values to an object + > ### Aliases: addConfidences addConfidences.phylo presenceAbsence + > ### createLabel + > ### Keywords: cluster + > + > ### ** Examples + ... + + "extdata/trees/RAxML_bootstrap.woodmouse", package="phangorn")) + > boot_trees <- read.tree(tmpfile) + > + > dm <- dist.ml(woodmouse) + > tree <- upgma(dm) + > nnet <- neighborNet(dm) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: neighborNet ... as.networx.splits -> circNetwork -> graph -> make_graph + Execution halted + ``` + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + --- re-building ‘AdvancedFeatures.Rmd’ using rmarkdown + --- finished re-building ‘AdvancedFeatures.Rmd’ + + --- re-building ‘Ancestral.Rmd’ using rmarkdown + --- finished re-building ‘Ancestral.Rmd’ + + --- re-building ‘IntertwiningTreesAndNetworks.Rmd’ using rmarkdown + + Quitting from lines 76-101 [unnamed-chunk-3] (IntertwiningTreesAndNetworks.Rmd) + ... + Error: processing vignette 'Trees.Rmd' failed with diagnostics: + 'simplify' should only be used for graph literals + --- failed re-building ‘Trees.Rmd’ + + SUMMARY: processing the following files failed: + ‘IntertwiningTreesAndNetworks.Rmd’ ‘MLbyHand.Rmd’ ‘Networx.Rmd’ + ‘Trees.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + +## In both + +* checking C++ specification ... NOTE + ``` + Specified C++11: please drop specification unless essential + ``` + +* checking installed package size ... NOTE + ``` + installed size is 10.0Mb + sub-directories of 1Mb or more: + doc 1.5Mb + libs 5.8Mb + ``` + +# phyloseqGraphTest + +
+ +* Version: 0.1.0 +* GitHub: https://github.com/jfukuyama/phyloseqGraphTest +* Source code: https://github.com/cran/phyloseqGraphTest +* Date/Publication: 2020-02-07 16:30:02 UTC +* Number of recursive dependencies: 95 + +Run `revdepcheck::cloud_details(, "phyloseqGraphTest")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘phyloseqGraphTest-Ex.R’ failed + The error most likely occurred in: + + > ### Name: plot_test_network + > ### Title: Plots the graph used for testing + > ### Aliases: plot_test_network + > + > ### ** Examples + > + > library(phyloseq) + > data(enterotype) + > gt = graph_perm_test(enterotype, sampletype = "SeqTech") + > plot_test_network(gt) + Error in fortify.igraph(data, ...) : + layout matrix dimensions do not match network size + Calls: plot_test_network ... ggplot -> ggplot.default -> fortify -> fortify.igraph + Execution halted + ``` + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + ... + --- re-building ‘gt_vignette.Rmd’ using rmarkdown + + Quitting from lines 175-176 [unnamed-chunk-5] (gt_vignette.Rmd) + Error: processing vignette 'gt_vignette.Rmd' failed with diagnostics: + layout matrix dimensions do not match network size + --- failed re-building ‘gt_vignette.Rmd’ + + SUMMARY: processing the following file failed: + ‘gt_vignette.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + +## In both + +* checking dependencies in R code ... NOTE + ``` + Namespace in Imports field not imported from: ‘intergraph’ + All declared Imports should be used. + ``` + +* checking LazyData ... NOTE + ``` + 'LazyData' is specified without a 'data' directory + ``` + +# phyloTop + +
+ +* Version: 2.1.2 +* GitHub: https://github.com/MichelleKendall/phyloTop +* Source code: https://github.com/cran/phyloTop +* Date/Publication: 2023-01-24 15:20:02 UTC +* Number of recursive dependencies: 94 + +Run `revdepcheck::cloud_details(, "phyloTop")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘phyloTop-Ex.R’ failed + The error most likely occurred in: + + > ### Name: getLabGenealogy + > ### Title: Create genealogy + > ### Aliases: getLabGenealogy + > + > ### ** Examples + > + > ## Generate an epidemiological record: + > myepirecord <- makeEpiRecord(c(1,2,3,4)) + > ## make the corresponding genealogy from this record: + > mygenealogy <- getLabGenealogy(myepirecord) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: getLabGenealogy -> makePhyloTree -> graph -> make_graph + Execution halted + ``` + +# PLEXI + +
+ +* Version: 1.0.0 +* GitHub: NA +* Source code: https://github.com/cran/PLEXI +* Date/Publication: 2023-08-09 15:50:03 UTC +* Number of recursive dependencies: 73 + +Run `revdepcheck::cloud_details(, "PLEXI")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘PLEXI-Ex.R’ failed + The error most likely occurred in: + + > ### Name: as_igraph + > ### Title: Convert plexi graph data to igraph + > ### Aliases: as_igraph + > + > ### ** Examples + > + > data = example_data() + > graph = as_igraph(plexi.graph = data[["plexi_graph_example"]]) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: as_igraph -> -> make_graph + Execution halted + ``` + +# rgraph6 + +
+ +* Version: 2.0-2 +* GitHub: https://github.com/mbojan/rgraph6 +* Source code: https://github.com/cran/rgraph6 +* Date/Publication: 2022-08-25 12:10:02 UTC +* Number of recursive dependencies: 60 + +Run `revdepcheck::cloud_details(, "rgraph6")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘rgraph6-Ex.R’ failed + The error most likely occurred in: + + > ### Name: choose_format + > ### Title: Choose most efficient format heuristically + > ### Aliases: choose_format choose_format.default choose_format.list + > + > ### ** Examples + > + > # From igraph ------------------------------------------------------ + ... + + igraph::sample_gnp(n = 15, p = 0.15, directed = TRUE)) + + + + choose_format(glist) + + } + Warning: `graph.famous()` was deprecated in igraph 1.6.0. + ℹ Please use `make_graph()` instead. + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: -> make_graph + Execution halted + ``` + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + ... + --- re-building ‘rgraph6.Rmd’ using rmarkdown + + Quitting from lines 162-171 [unnamed-chunk-9] (rgraph6.Rmd) + Error: processing vignette 'rgraph6.Rmd' failed with diagnostics: + values must be type 'integer', + but FUN(X[[1]]) result is type 'double' + --- failed re-building ‘rgraph6.Rmd’ + + SUMMARY: processing the following file failed: + ‘rgraph6.Rmd’ + + Error: Vignette re-building failed. + Execution halted ``` -# malan +# rhcoclust
-* Version: 1.0.2 -* GitHub: https://github.com/mikldk/malan -* Source code: https://github.com/cran/malan -* Date/Publication: 2020-06-25 12:00:06 UTC -* Number of recursive dependencies: 91 +* Version: 2.0.0 +* GitHub: NA +* Source code: https://github.com/cran/rhcoclust +* Date/Publication: 2023-01-29 03:40:02 UTC +* Number of recursive dependencies: 16 -Run `revdepcheck::cloud_details(, "malan")` for more info +Run `revdepcheck::cloud_details(, "rhcoclust")` for more info
@@ -182,67 +2681,40 @@ Run `revdepcheck::cloud_details(, "malan")` for more info * checking examples ... ERROR ``` - Running examples in ‘malan-Ex.R’ failed + Running examples in ‘rhcoclust-Ex.R’ failed The error most likely occurred in: - > ### Name: from_igraph - > ### Title: Convert igraph to population - > ### Aliases: from_igraph + > ### Name: rhcoclust_internet + > ### Title: Interaction network (internet) of the 'rhcoclust' objects + > ### Aliases: rhcoclust_internet > > ### ** Examples > - > g <- igraph::graph_from_literal( 2 +- 1 -+ 3, 4 -+ 5 ) - > plot(g) - > pop <- from_igraph(g) - Error in from_igraph(g) : x must be a tree (or a forest) - Execution halted - ``` - -* checking tests ... ERROR - ``` - Running ‘testthat.R’ - Running the tests in ‘tests/testthat.R’ failed. - Complete output: - > library(testthat) - > library(malan) - Loading required package: dplyr - - Attaching package: 'dplyr' - - The following object is masked from 'package:testthat': + > # Load necessary library ... - 1. └─malan::from_igraph(g1) at test-igraph.R:5:3 - ── Error ('test-igraph.R:22:3'): igraph import works for forest ──────────────── - Error in `from_igraph(g2)`: x must be a tree (or a forest) - Backtrace: - ▆ - 1. └─malan::from_igraph(g2) at test-igraph.R:22:3 - - [ FAIL 2 | WARN 0 | SKIP 0 | PASS 439 ] - Error: Test failures - Execution halted - ``` - -## In both - -* checking installed package size ... NOTE - ``` - installed size is 22.8Mb - sub-directories of 1Mb or more: - libs 21.8Mb + > # Plot interaction network (internet) + > # Please use dev.off() to avoid the figure margin from previous plot + > # mar order: bottom, left, top, and right + > # please use par(mar=c(5,2,5,2)) or modify when necessary to best fit for the plot + > Netrhcoclust <- rhcoclust_internet(data, CoClustObj = CoClustObj, + + CoClust.sig = FALSE, cex.nodes = 0.7, edge.width = 1) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: rhcoclust_internet -> graph -> make_graph + Execution halted ``` -# nosoi +# riverconn
-* Version: 1.1.0 -* GitHub: https://github.com/slequime/nosoi -* Source code: https://github.com/cran/nosoi -* Date/Publication: 2021-08-17 16:20:02 UTC -* Number of recursive dependencies: 147 +* Version: 0.3.28 +* GitHub: NA +* Source code: https://github.com/cran/riverconn +* Date/Publication: 2023-05-05 08:20:02 UTC +* Number of recursive dependencies: 96 -Run `revdepcheck::cloud_details(, "nosoi")` for more info +Run `revdepcheck::cloud_details(, "riverconn")` for more info
@@ -251,39 +2723,32 @@ Run `revdepcheck::cloud_details(, "nosoi")` for more info * checking re-building of vignette outputs ... ERROR ``` Error(s) in re-building vignettes: - --- re-building ‘continuous.Rmd’ using rmarkdown - --- finished re-building ‘continuous.Rmd’ - - --- re-building ‘discrete.Rmd’ using rmarkdown + ... + --- re-building ‘Tutorial.Rmd’ using rmarkdown - Quitting from lines 49-83 [setupMatrix] (discrete.Rmd) - Error: processing vignette 'discrete.Rmd' failed with diagnostics: + Quitting from lines 210-221 [plot igraph] (Tutorial.Rmd) + Error: processing vignette 'Tutorial.Rmd' failed with diagnostics: layout matrix dimensions do not match network size - --- failed re-building ‘discrete.Rmd’ - ... - --- failed re-building ‘nosoi.Rmd’ - - --- re-building ‘output.Rmd’ using rmarkdown - --- finished re-building ‘output.Rmd’ + --- failed re-building ‘Tutorial.Rmd’ - SUMMARY: processing the following files failed: - ‘discrete.Rmd’ ‘nosoi.Rmd’ + SUMMARY: processing the following file failed: + ‘Tutorial.Rmd’ Error: Vignette re-building failed. Execution halted ``` -# phyloseqGraphTest +# RScelestial
-* Version: 0.1.0 -* GitHub: https://github.com/jfukuyama/phyloseqGraphTest -* Source code: https://github.com/cran/phyloseqGraphTest -* Date/Publication: 2020-02-07 16:30:02 UTC -* Number of recursive dependencies: 95 +* Version: 1.0.3 +* GitHub: NA +* Source code: https://github.com/cran/RScelestial +* Date/Publication: 2021-12-09 22:20:02 UTC +* Number of recursive dependencies: 45 -Run `revdepcheck::cloud_details(, "phyloseqGraphTest")` for more info +Run `revdepcheck::cloud_details(, "RScelestial")` for more info
@@ -291,22 +2756,24 @@ Run `revdepcheck::cloud_details(, "phyloseqGraphTest")` for more info * checking examples ... ERROR ``` - Running examples in ‘phyloseqGraphTest-Ex.R’ failed + Running examples in ‘RScelestial-Ex.R’ failed The error most likely occurred in: - > ### Name: plot_test_network - > ### Title: Plots the graph used for testing - > ### Aliases: plot_test_network + > ### Name: scelestial + > ### Title: Infer the single-cell phylogenetic tree + > ### Aliases: scelestial > > ### ** Examples > - > library(phyloseq) - > data(enterotype) - > gt = graph_perm_test(enterotype, sampletype = "SeqTech") - > plot_test_network(gt) - Error in fortify.igraph(data, ...) : - layout matrix dimensions do not match network size - Calls: plot_test_network ... ggplot -> ggplot.default -> fortify -> fortify.igraph + > ## simulates tumor evolution + > S = synthesis(10, 10, 2, seed=7) + > ## convert to 10-state matrix + > seq = as.ten.state.matrix(S$seqeunce) + > ## runs the scelestial to generate 4-restricted Steiner trees. It represents the tree and graph + > SP = scelestial(seq, mink=3, maxk=4, return.graph = TRUE) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: scelestial -> -> make_graph Execution halted ``` @@ -314,15 +2781,15 @@ Run `revdepcheck::cloud_details(, "phyloseqGraphTest")` for more info ``` Error(s) in re-building vignettes: ... - --- re-building ‘gt_vignette.Rmd’ using rmarkdown + --- re-building ‘RScelestial-vignette.Rmd’ using rmarkdown - Quitting from lines 175-176 [unnamed-chunk-5] (gt_vignette.Rmd) - Error: processing vignette 'gt_vignette.Rmd' failed with diagnostics: - layout matrix dimensions do not match network size - --- failed re-building ‘gt_vignette.Rmd’ + Quitting from lines 45-48 [unnamed-chunk-4] (RScelestial-vignette.Rmd) + Error: processing vignette 'RScelestial-vignette.Rmd' failed with diagnostics: + 'simplify' should only be used for graph literals + --- failed re-building ‘RScelestial-vignette.Rmd’ SUMMARY: processing the following file failed: - ‘gt_vignette.Rmd’ + ‘RScelestial-vignette.Rmd’ Error: Vignette re-building failed. Execution halted @@ -330,63 +2797,138 @@ Run `revdepcheck::cloud_details(, "phyloseqGraphTest")` for more info ## In both -* checking dependencies in R code ... NOTE +* checking C++ specification ... NOTE ``` - Namespace in Imports field not imported from: ‘intergraph’ - All declared Imports should be used. + Specified C++11: please drop specification unless essential ``` -* checking LazyData ... NOTE +* checking installed package size ... NOTE ``` - 'LazyData' is specified without a 'data' directory + installed size is 5.2Mb + sub-directories of 1Mb or more: + libs 4.9Mb ``` -# rgraph6 +# satdad
-* Version: 2.0-2 -* GitHub: https://github.com/mbojan/rgraph6 -* Source code: https://github.com/cran/rgraph6 -* Date/Publication: 2022-08-25 12:10:02 UTC -* Number of recursive dependencies: 60 +* Version: 1.1 +* GitHub: NA +* Source code: https://github.com/cran/satdad +* Date/Publication: 2023-03-29 15:00:02 UTC +* Number of recursive dependencies: 90 -Run `revdepcheck::cloud_details(, "rgraph6")` for more info +Run `revdepcheck::cloud_details(, "satdad")` for more info
## Newly broken +* checking examples ... ERROR + ``` + Running examples in ‘satdad-Ex.R’ failed + The error most likely occurred in: + + > ### Name: Stock + > ### Title: Dataset. Yearly maxima of Log Returns of ten stock indices + > ### 1990-2015. + > ### Aliases: Stock + > ### Keywords: datasets + > + > ### ** Examples + ... + > + > data(Stock) + > + > ## We reproduce below Figure 7(a) of Mercadier and Roustant (2019). + > + > graphsEmp(Stock, k = 26, which = "taildependograph", names = colnames(Stock)) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: graphsEmp -> -> make_graph + Execution halted + ``` + * checking re-building of vignette outputs ... ERROR ``` Error(s) in re-building vignettes: ... - --- re-building ‘rgraph6.Rmd’ using rmarkdown + --- re-building ‘satdad.Rmd’ using rmarkdown - Quitting from lines 162-171 [unnamed-chunk-9] (rgraph6.Rmd) - Error: processing vignette 'rgraph6.Rmd' failed with diagnostics: - values must be type 'integer', - but FUN(X[[1]]) result is type 'double' - --- failed re-building ‘rgraph6.Rmd’ + Quitting from lines 234-238 [unnamed-chunk-11] (satdad.Rmd) + Error: processing vignette 'satdad.Rmd' failed with diagnostics: + 'simplify' should only be used for graph literals + --- failed re-building ‘satdad.Rmd’ SUMMARY: processing the following file failed: - ‘rgraph6.Rmd’ + ‘satdad.Rmd’ Error: Vignette re-building failed. Execution halted ``` -# riverconn +## In both + +* checking installed package size ... NOTE + ``` + installed size is 11.0Mb + sub-directories of 1Mb or more: + doc 3.9Mb + libs 6.7Mb + ``` + +* checking Rd cross-references ... NOTE + ``` + Package unavailable to check Rd xrefs: ‘evd’ + ``` + +# ShapePattern
-* Version: 0.3.28 +* Version: 3.0.1 * GitHub: NA -* Source code: https://github.com/cran/riverconn -* Date/Publication: 2023-05-05 08:20:02 UTC -* Number of recursive dependencies: 96 +* Source code: https://github.com/cran/ShapePattern +* Date/Publication: 2023-08-22 07:20:09 UTC +* Number of recursive dependencies: 36 -Run `revdepcheck::cloud_details(, "riverconn")` for more info +Run `revdepcheck::cloud_details(, "ShapePattern")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘ShapePattern-Ex.R’ failed + The error most likely occurred in: + + > ### Name: porosity + > ### Title: Compute the porosity of raster zones (patches) + > ### Aliases: porosity + > ### Keywords: manip + > + > ### ** Examples + > + > porosity(IN=data$rst, PLOT=TRUE, NEIGH=4) + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: porosity ... components -> ensure_igraph -> -> make_graph + Execution halted + ``` + +# shazam + +
+ +* Version: 1.2.0 +* GitHub: NA +* Source code: https://github.com/cran/shazam +* Date/Publication: 2023-10-02 18:50:02 UTC +* Number of recursive dependencies: 128 + +Run `revdepcheck::cloud_details(, "shazam")` for more info
@@ -396,15 +2938,22 @@ Run `revdepcheck::cloud_details(, "riverconn")` for more info ``` Error(s) in re-building vignettes: ... - --- re-building ‘Tutorial.Rmd’ using rmarkdown + --- re-building ‘Baseline-Vignette.Rmd’ using rmarkdown + --- finished re-building ‘Baseline-Vignette.Rmd’ - Quitting from lines 210-221 [plot igraph] (Tutorial.Rmd) - Error: processing vignette 'Tutorial.Rmd' failed with diagnostics: - layout matrix dimensions do not match network size - --- failed re-building ‘Tutorial.Rmd’ + --- re-building ‘DistToNearest-Vignette.Rmd’ using rmarkdown + + Quitting from lines 368-390 [subsample] (DistToNearest-Vignette.Rmd) + Error: processing vignette 'DistToNearest-Vignette.Rmd' failed with diagnostics: + 'k1' must be less than or equal to 'k2' + ... + --- finished re-building ‘Shmulate-Vignette.Rmd’ + + --- re-building ‘Targeting-Vignette.Rmd’ using rmarkdown + --- finished re-building ‘Targeting-Vignette.Rmd’ SUMMARY: processing the following file failed: - ‘Tutorial.Rmd’ + ‘DistToNearest-Vignette.Rmd’ Error: Vignette re-building failed. Execution halted @@ -451,3 +3000,93 @@ Run `revdepcheck::cloud_details(, "statGraph")` for more info Execution halted ``` +# SteinerNet + +
+ +* Version: 3.1.0 +* GitHub: https://github.com/krashkov/SteinerNet +* Source code: https://github.com/cran/SteinerNet +* Date/Publication: 2020-09-07 09:50:08 UTC +* Number of recursive dependencies: 56 + +Run `revdepcheck::cloud_details(, "SteinerNet")` for more info + +
+ +## Newly broken + +* checking examples ... ERROR + ``` + Running examples in ‘SteinerNet-Ex.R’ failed + The error most likely occurred in: + + > ### Name: generate_st_samples + > ### Title: Select terminals + > ### Aliases: generate_st_samples + > + > ### ** Examples + > + > generate_st_samples(graph = graph("Zachary"), + + ter_number = c(3, 4), + + prob = c(0.1, 0.2)) + Warning: `graph()` was deprecated in igraph 1.6.0. + ℹ Please use `make_graph()` instead. + Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : + 'simplify' should only be used for graph literals + Calls: generate_st_samples ... as.undirected -> ensure_igraph -> graph -> make_graph + Execution halted + ``` + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + ... + --- re-building ‘tutorial.Rmd’ using rmarkdown + + Quitting from lines 49-54 [unnamed-chunk-2] (tutorial.Rmd) + Error: processing vignette 'tutorial.Rmd' failed with diagnostics: + 'simplify' should only be used for graph literals + --- failed re-building ‘tutorial.Rmd’ + + SUMMARY: processing the following file failed: + ‘tutorial.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + +# TreeDimensionTest + +
+ +* Version: 0.0.2 +* GitHub: NA +* Source code: https://github.com/cran/TreeDimensionTest +* Date/Publication: 2022-03-12 10:30:07 UTC +* Number of recursive dependencies: 70 + +Run `revdepcheck::cloud_details(, "TreeDimensionTest")` for more info + +
+ +## Newly broken + +* checking re-building of vignette outputs ... ERROR + ``` + Error(s) in re-building vignettes: + ... + --- re-building ‘Tutorial.Rmd’ using rmarkdown + + Quitting from lines 46-56 [unnamed-chunk-5] (Tutorial.Rmd) + Error: processing vignette 'Tutorial.Rmd' failed with diagnostics: + 'simplify' should only be used for graph literals + --- failed re-building ‘Tutorial.Rmd’ + + SUMMARY: processing the following file failed: + ‘Tutorial.Rmd’ + + Error: Vignette re-building failed. + Execution halted + ``` + From d40a77150cd52dbd8125694d736b193d6be6da35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Fri, 1 Dec 2023 15:41:44 +0100 Subject: [PATCH 18/20] add logic to deprecated functions' calls to make_graph() --- R/make.R | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/R/make.R b/R/make.R index 55c3ee24da8..f44de5b3211 100644 --- a/R/make.R +++ b/R/make.R @@ -655,7 +655,16 @@ make_graph <- function(edges, ..., n = max(edges), isolates = NULL, #' @export graph <- function(edges , ... , n = max(edges) , isolates = NULL , directed = TRUE , dir = directed , simplify = TRUE) { # nocov start lifecycle::deprecate_soft("1.6.0", "graph()", "make_graph()") - make_graph(edges = edges, n = n, isolates = isolates, directed = directed, dir = dir, simplify = simplify, ...) + + if (!missing(dir) && missing(directed)) { + directed <- dir + } + + if (missing(simplify)) { + make_graph(edges = edges, n = n, isolates = isolates, directed = directed, ...) + } else { + make_graph(edges = edges, n = n, isolates = isolates, directed = directed, simplify = simplify, ...) + } } # nocov end #' Create an igraph graph from a list of edges, or a notable graph @@ -670,7 +679,16 @@ graph <- function(edges , ... , n = max(edges) , isolates = NULL , directed = TR #' @export graph.famous <- function(edges , ... , n = max(edges) , isolates = NULL , directed = TRUE , dir = directed , simplify = TRUE) { # nocov start lifecycle::deprecate_soft("1.6.0", "graph.famous()", "make_graph()") - make_graph(edges = edges, n = n, isolates = isolates, directed = directed, dir = dir, simplify = simplify, ...) + + if (!missing(dir) && missing(directed)) { + directed <- dir + } + + if (missing(simplify)) { + make_graph(edges = edges, n = n, isolates = isolates, directed = directed, ...) + } else { + make_graph(edges = edges, n = n, isolates = isolates, directed = directed, simplify = simplify, ...) + } } # nocov end make_famous_graph <- function(name) { From c685c2554ad4624e88cf65d7d9af7218abd1f45b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Fri, 1 Dec 2023 15:48:03 +0100 Subject: [PATCH 19/20] fix indentation --- R/make.R | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/R/make.R b/R/make.R index f44de5b3211..50c79c8ed71 100644 --- a/R/make.R +++ b/R/make.R @@ -656,15 +656,15 @@ make_graph <- function(edges, ..., n = max(edges), isolates = NULL, graph <- function(edges , ... , n = max(edges) , isolates = NULL , directed = TRUE , dir = directed , simplify = TRUE) { # nocov start lifecycle::deprecate_soft("1.6.0", "graph()", "make_graph()") - if (!missing(dir) && missing(directed)) { - directed <- dir - } - - if (missing(simplify)) { - make_graph(edges = edges, n = n, isolates = isolates, directed = directed, ...) - } else { - make_graph(edges = edges, n = n, isolates = isolates, directed = directed, simplify = simplify, ...) - } + if (!missing(dir) && missing(directed)) { + directed <- dir + } + + if (missing(simplify)) { + make_graph(edges = edges, n = n, isolates = isolates, directed = directed, ...) + } else { + make_graph(edges = edges, n = n, isolates = isolates, directed = directed, simplify = simplify, ...) + } } # nocov end #' Create an igraph graph from a list of edges, or a notable graph From a67ec20035c3f1d04c671152eb157dea37b74f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Fri, 1 Dec 2023 23:08:00 +0100 Subject: [PATCH 20/20] revdepcheck results --- revdep/README.md | 90 +- revdep/cran.md | 143 +-- revdep/failures.md | 136 +-- revdep/problems.md | 2472 ++++---------------------------------------- 4 files changed, 199 insertions(+), 2642 deletions(-) diff --git a/revdep/README.md b/revdep/README.md index b8417b91a21..e66446d2b8a 100644 --- a/revdep/README.md +++ b/revdep/README.md @@ -1,72 +1,26 @@ # Revdeps -## Failed to check (2) +## New problems (19) -|package |version |error |warning |note | -|:---------|:-------|:------|:-------|:----| -|[mazeGen](failures.md#mazegen)|0.1.3 |__+1__ | | | -|streamDAG |? | | | | - -## New problems (58) - -|package |version |error |warning |note | -|:-----------------|:-------|:------|:-------|:------| -|[BASiNET](problems.md#basinet)|0.0.5 |__+1__ | | | -|[BASiNETEntropy](problems.md#basinetentropy)|0.99.6 |__+1__ | | | -|[bibliometrix](problems.md#bibliometrix)|4.1.3 | |__+1__ |__+1__ | -|[causaleffect](problems.md#causaleffect)|1.3.15 |__+1__ |1 | | -|[centiserve](problems.md#centiserve)|1.0.0 |__+1__ | | | -|[cfid](problems.md#cfid)|0.1.6 |__+1__ | | | -|[CINNA](problems.md#cinna)|1.2.2 |__+2__ | |1 | -|[coreCT](problems.md#corect)|1.3.3 |__+3__ | | | -|[d3r](problems.md#d3r)|1.1.0 |__+1__ | |1 | -|[dosearch](problems.md#dosearch)|1.0.8 |__+1__ | |2 | -|[EpiILMCT](problems.md#epiilmct)|1.1.7 |__+1__ | | | -|[fanovaGraph](problems.md#fanovagraph)|1.5 |__+2__ | | | -|[ForestGapR](problems.md#forestgapr)|0.1.7 |__+1__ | | | -|[fossilbrush](problems.md#fossilbrush)|1.0.3 |__+1__ | |1 | -|[FrF2](problems.md#frf2)|2.3-3 |__+1__ | | | -|[gdistance](problems.md#gdistance)|1.6.4 |__+1__ | | | -|[genlasso](problems.md#genlasso)|1.6.1 |__+1__ | | | -|[ggm](problems.md#ggm)|2.5 |__+1__ | |2 | -|[ggnetwork](problems.md#ggnetwork)|0.5.12 |__+1__ | |1 | -|[grainscape](problems.md#grainscape)|0.4.4 |__+2__ | |1 | -|[inferCSN](problems.md#infercsn)|0.99.7 |__+1__ | |1 | -|[influential](problems.md#influential)|2.2.8 | |__+2__ | | -|[intergraph](problems.md#intergraph)|2.0-3 |__+1__ | | | -|[isa2](problems.md#isa2)|0.3.6 |__+1__ | | | -|[jrSiCKLSNMF](problems.md#jrsicklsnmf)|1.2.1 |__+1__ | |1 | -|[jti](problems.md#jti)|0.8.4 |__+1__ | |2 | -|[kknn](problems.md#kknn)|1.3.1 |__+1__ | | | -|[kstMatrix](problems.md#kstmatrix)|0.2-0 |__+1__ | | | -|[linkprediction](problems.md#linkprediction)|1.0-0 |__+1__ | |1 | -|[loe](problems.md#loe)|1.1 |__+1__ | | | -|[malan](problems.md#malan)|1.0.2 |__+2__ | |2 | -|[markovchain](problems.md#markovchain)|0.9.5 |__+1__ |-1 |3 | -|[maxmatching](problems.md#maxmatching)|0.1.0 |__+1__ | |1 | -|[MetricGraph](problems.md#metricgraph)|1.2.0 |__+2__ | |1 | -|[migraph](problems.md#migraph)|1.1.5 |__+1__ | | | -|[mnda](problems.md#mnda)|1.0.9 |__+1__ | |1 | -|[mppR](problems.md#mppr)|1.4.0 |__+3__ | | | -|[MRS](problems.md#mrs)|1.2.4 |__+1__ | |1 | -|[nat](problems.md#nat)|1.8.23 |__+3__ | | | -|[netdiffuseR](problems.md#netdiffuser)|1.22.6 |__+1__ | |1 | -|[netseg](problems.md#netseg)|1.0-2 |__+1__ | | | -|[nosoi](problems.md#nosoi)|1.1.0 |__+1__ | | | -|[pcalg](problems.md#pcalg)|2.7-9 |__+1__ | |3 | -|[pcSteiner](problems.md#pcsteiner)|1.0.0.1 |__+2__ |-1 | | -|[phangorn](problems.md#phangorn)|2.11.1 |__+2__ | |2 | -|[phyloseqGraphTest](problems.md#phyloseqgraphtest)|0.1.0 |__+2__ | |2 | -|[phyloTop](problems.md#phylotop)|2.1.2 |__+1__ | | | -|[PLEXI](problems.md#plexi)|1.0.0 |__+1__ | | | -|[rgraph6](problems.md#rgraph6)|2.0-2 |__+2__ | | | -|[rhcoclust](problems.md#rhcoclust)|2.0.0 |__+1__ | | | -|[riverconn](problems.md#riverconn)|0.3.28 |__+1__ | | | -|[RScelestial](problems.md#rscelestial)|1.0.3 |__+2__ | |2 | -|[satdad](problems.md#satdad)|1.1 |__+2__ | |2 | -|[ShapePattern](problems.md#shapepattern)|3.0.1 |__+1__ | | | -|[shazam](problems.md#shazam)|1.2.0 |__+1__ | | | -|[statGraph](problems.md#statgraph)|0.5.0 |__+1__ | | | -|[SteinerNet](problems.md#steinernet)|3.1.0 |__+2__ | | | -|[TreeDimensionTest](problems.md#treedimensiontest)|0.0.2 |__+1__ | | | +|package |version |error |warning |note | +|:-----------------|:-------|:------|:-------|:----| +|[causaleffect](problems.md#causaleffect)|1.3.15 |__+1__ |1 | | +|[centiserve](problems.md#centiserve)|1.0.0 |__+1__ | | | +|[cfid](problems.md#cfid)|0.1.7 |__+1__ | | | +|[CINNA](problems.md#cinna)|1.2.2 |__+2__ | |1 | +|[dosearch](problems.md#dosearch)|1.0.8 |__+1__ | |2 | +|[fanovaGraph](problems.md#fanovagraph)|1.5 |__+2__ | | | +|[ggnetwork](problems.md#ggnetwork)|0.5.12 |__+1__ | |1 | +|[inferCSN](problems.md#infercsn)|0.99.7 |__+1__ | |1 | +|[influential](problems.md#influential)|2.2.8 | |__+2__ | | +|[intergraph](problems.md#intergraph)|2.0-3 |__+1__ | | | +|[markovchain](problems.md#markovchain)|0.9.5 |__+1__ |-1 |3 | +|[nosoi](problems.md#nosoi)|1.1.0 |__+1__ | | | +|[pcalg](problems.md#pcalg)|2.7-9 |__+1__ | |3 | +|[phyloseqGraphTest](problems.md#phyloseqgraphtest)|0.1.0 |__+2__ | |2 | +|[rgraph6](problems.md#rgraph6)|2.0-2 |__+1__ | | | +|[riverconn](problems.md#riverconn)|0.3.28 |__+1__ | | | +|[shazam](problems.md#shazam)|1.2.0 |__+1__ | | | +|[statGraph](problems.md#statgraph)|0.5.0 |__+1__ | | | +|[TreeDimensionTest](problems.md#treedimensiontest)|0.0.2 |__+1__ | | | diff --git a/revdep/cran.md b/revdep/cran.md index 52cb87b2fe6..e844aacc988 100644 --- a/revdep/cran.md +++ b/revdep/cran.md @@ -1,25 +1,15 @@ ## revdepcheck results -We checked 811 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. +We checked 58 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. - * We saw 58 new problems - * We failed to check 2 packages + * We saw 19 new problems + * We failed to check 0 packages Issues with CRAN packages are summarised below. ### New problems (This reports the first line of each new failure) -* BASiNET - checking re-building of vignette outputs ... ERROR - -* BASiNETEntropy - checking examples ... ERROR - -* bibliometrix - checking whether package ‘bibliometrix’ can be installed ... WARNING - checking R code for possible problems ... NOTE - * causaleffect checking examples ... ERROR @@ -33,49 +23,16 @@ Issues with CRAN packages are summarised below. checking examples ... ERROR checking re-building of vignette outputs ... ERROR -* coreCT - checking examples ... ERROR - checking tests ... ERROR - checking re-building of vignette outputs ... ERROR - -* d3r - checking tests ... ERROR - * dosearch checking examples ... ERROR -* EpiILMCT - checking examples ... ERROR - * fanovaGraph checking examples ... ERROR checking tests ... ERROR -* ForestGapR - checking examples ... ERROR - -* fossilbrush - checking re-building of vignette outputs ... ERROR - -* FrF2 - checking examples ... ERROR - -* gdistance - checking re-building of vignette outputs ... ERROR - -* genlasso - checking examples ... ERROR - -* ggm - checking examples ... ERROR - * ggnetwork checking tests ... ERROR -* grainscape - checking examples ... ERROR - checking tests ... ERROR - * inferCSN checking examples ... ERROR @@ -86,125 +43,31 @@ Issues with CRAN packages are summarised below. * intergraph checking tests ... ERROR -* isa2 - checking examples ... ERROR - -* jrSiCKLSNMF - checking examples ... ERROR - -* jti - checking examples ... ERROR - -* kknn - checking examples ... ERROR - -* kstMatrix - checking re-building of vignette outputs ... ERROR - -* linkprediction - checking tests ... ERROR - -* loe - checking examples ... ERROR - -* malan - checking examples ... ERROR - checking tests ... ERROR - * markovchain checking re-building of vignette outputs ... ERROR -* maxmatching - checking examples ... ERROR - -* MetricGraph - checking examples ... ERROR - checking tests ... ERROR - -* migraph - checking tests ... ERROR - -* mnda - checking examples ... ERROR - -* mppR - checking examples ... ERROR - checking tests ... ERROR - checking re-building of vignette outputs ... ERROR - -* MRS - checking examples ... ERROR - -* nat - checking examples ... ERROR - checking tests ... ERROR - checking re-building of vignette outputs ... ERROR - -* netdiffuseR - checking examples ... ERROR - -* netseg - checking tests ... ERROR - * nosoi checking re-building of vignette outputs ... ERROR * pcalg checking tests ... ERROR -* pcSteiner - checking examples ... ERROR - checking re-building of vignette outputs ... ERROR - -* phangorn - checking examples ... ERROR - checking re-building of vignette outputs ... ERROR - * phyloseqGraphTest checking examples ... ERROR checking re-building of vignette outputs ... ERROR -* phyloTop - checking examples ... ERROR - -* PLEXI - checking examples ... ERROR - * rgraph6 - checking examples ... ERROR checking re-building of vignette outputs ... ERROR -* rhcoclust - checking examples ... ERROR - * riverconn checking re-building of vignette outputs ... ERROR -* RScelestial - checking examples ... ERROR - checking re-building of vignette outputs ... ERROR - -* satdad - checking examples ... ERROR - checking re-building of vignette outputs ... ERROR - -* ShapePattern - checking examples ... ERROR - * shazam checking re-building of vignette outputs ... ERROR * statGraph checking examples ... ERROR -* SteinerNet - checking examples ... ERROR - checking re-building of vignette outputs ... ERROR - * TreeDimensionTest checking re-building of vignette outputs ... ERROR -### Failed to check - -* mazeGen (NA) -* streamDAG (NA) diff --git a/revdep/failures.md b/revdep/failures.md index c83f68513e7..9a207363396 100644 --- a/revdep/failures.md +++ b/revdep/failures.md @@ -1,135 +1 @@ -# mazeGen - -
- -* Version: 0.1.3 -* GitHub: NA -* Source code: https://github.com/cran/mazeGen -* Date/Publication: 2017-12-04 17:34:53 UTC -* Number of recursive dependencies: 10 - -Run `revdepcheck::cloud_details(, "mazeGen")` for more info - -
- -## Newly broken - -* checking whether package ‘mazeGen’ can be installed ... ERROR - ``` - Installation failed. - See ‘/tmp/workdir/mazeGen/new/mazeGen.Rcheck/00install.out’ for details. - ``` - -## Installation - -### Devel - -``` -* installing *source* package ‘mazeGen’ ... -** package ‘mazeGen’ successfully unpacked and MD5 sums checked -** using staged installation -** R -** data -*** moving datasets to lazyload DB -** byte-compile and prepare package for lazy loading -Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals -Error: unable to load R code in package ‘mazeGen’ -Execution halted -ERROR: lazy loading failed for package ‘mazeGen’ -* removing ‘/tmp/workdir/mazeGen/new/mazeGen.Rcheck/mazeGen’ - - -``` -### CRAN - -``` -* installing *source* package ‘mazeGen’ ... -** package ‘mazeGen’ successfully unpacked and MD5 sums checked -** using staged installation -** R -** data -*** moving datasets to lazyload DB -** byte-compile and prepare package for lazy loading -** help -*** installing help indices -** building package indices -** testing if installed package can be loaded from temporary location -** testing if installed package can be loaded from final location -** testing if installed package keeps a record of temporary installation path -* DONE (mazeGen) - - -``` -# streamDAG - -
- -* Version: 1.5 -* GitHub: NA -* Source code: https://github.com/cran/streamDAG -* Date/Publication: 2023-10-06 18:50:02 UTC -* Number of recursive dependencies: 133 - -Run `revdepcheck::cloud_details(, "streamDAG")` for more info - -
- -## Error before installation - -### Devel - -``` -* using log directory ‘/tmp/workdir/streamDAG/new/streamDAG.Rcheck’ -* using R version 4.3.1 (2023-06-16) -* using platform: x86_64-pc-linux-gnu (64-bit) -* R was compiled by - gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 - GNU Fortran (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 -* running under: Ubuntu 20.04.6 LTS -* using session charset: UTF-8 -* using option ‘--no-manual’ -* checking for file ‘streamDAG/DESCRIPTION’ ... OK -* this is package ‘streamDAG’ version ‘1.5’ -* checking package namespace information ... OK -* checking package dependencies ... ERROR -Package required but not available: ‘asbio’ - -See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ -manual. -* DONE -Status: 1 ERROR - - - - - -``` -### CRAN - -``` -* using log directory ‘/tmp/workdir/streamDAG/old/streamDAG.Rcheck’ -* using R version 4.3.1 (2023-06-16) -* using platform: x86_64-pc-linux-gnu (64-bit) -* R was compiled by - gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 - GNU Fortran (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 -* running under: Ubuntu 20.04.6 LTS -* using session charset: UTF-8 -* using option ‘--no-manual’ -* checking for file ‘streamDAG/DESCRIPTION’ ... OK -* this is package ‘streamDAG’ version ‘1.5’ -* checking package namespace information ... OK -* checking package dependencies ... ERROR -Package required but not available: ‘asbio’ - -See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ -manual. -* DONE -Status: 1 ERROR - - - - - -``` +*Wow, no problems at all. :)* \ No newline at end of file diff --git a/revdep/problems.md b/revdep/problems.md index d6340d85d13..e8b3fe93040 100644 --- a/revdep/problems.md +++ b/revdep/problems.md @@ -1,111 +1,3 @@ -# BASiNET - -
- -* Version: 0.0.5 -* GitHub: NA -* Source code: https://github.com/cran/BASiNET -* Date/Publication: 2022-08-19 08:50:25 UTC -* Number of recursive dependencies: 78 - -Run `revdepcheck::cloud_details(, "BASiNET")` for more info - -
- -## Newly broken - -* checking re-building of vignette outputs ... ERROR - ``` - Error(s) in re-building vignettes: - ... - --- re-building ‘BASiNET.Rmd’ using rmarkdown - - Quitting from lines 69-73 [unnamed-chunk-1] (BASiNET.Rmd) - Error: processing vignette 'BASiNET.Rmd' failed with diagnostics: - 'simplify' should only be used for graph literals - --- failed re-building ‘BASiNET.Rmd’ - - SUMMARY: processing the following file failed: - ‘BASiNET.Rmd’ - - Error: Vignette re-building failed. - Execution halted - ``` - -# BASiNETEntropy - -
- -* Version: 0.99.6 -* GitHub: NA -* Source code: https://github.com/cran/BASiNETEntropy -* Date/Publication: 2023-08-16 18:24:35 UTC -* Number of recursive dependencies: 48 - -Run `revdepcheck::cloud_details(, "BASiNETEntropy")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘BASiNETEntropy-Ex.R’ failed - The error most likely occurred in: - - > ### Name: classify - > ### Title: Performs the classification methodology using complex network - > ### and entropy theories - > ### Aliases: classify - > - > ### ** Examples - > - ... - 6 - 7 - 8 - 9 - 10 - [INFO] Filtering the graphs - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: classify -> filtering -> graph -> make_graph - Execution halted - ``` - -# bibliometrix - -
- -* Version: 4.1.3 -* GitHub: https://github.com/massimoaria/bibliometrix -* Source code: https://github.com/cran/bibliometrix -* Date/Publication: 2023-06-15 20:10:02 UTC -* Number of recursive dependencies: 151 - -Run `revdepcheck::cloud_details(, "bibliometrix")` for more info - -
- -## Newly broken - -* checking whether package ‘bibliometrix’ can be installed ... WARNING - ``` - Found the following significant warnings: - Note: possible error in 'betweenness(net, v = V(net), ': unused argument (nobigint = TRUE) - See ‘/tmp/workdir/bibliometrix/new/bibliometrix.Rcheck/00install.out’ for details. - Information on the location(s) of code generating the ‘Note’s can be - obtained by re-running with environment variable R_KEEP_PKG_SOURCE set - to ‘yes’. - ``` - -* checking R code for possible problems ... NOTE - ``` - networkStat: possible error in betweenness(net, v = V(net), directed = - FALSE, weights = NULL, nobigint = TRUE, normalized = TRUE): unused - argument (nobigint = TRUE) - ``` - # causaleffect
@@ -204,9 +96,10 @@ Run `revdepcheck::cloud_details(, "centiserve")` for more info > g <- graph(c(1,2,2,3,3,4,4,2), directed=FALSE) Warning: `graph()` was deprecated in igraph 1.6.0. ℹ Please use `make_graph()` instead. - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: graph -> make_graph + > averagedis(g) + Error in getIgraphOpt("add.vertex.names") && is.named(graph) : + invalid 'x' type in 'x && y' + Calls: averagedis Execution halted ``` @@ -214,10 +107,10 @@ Run `revdepcheck::cloud_details(, "centiserve")` for more info
-* Version: 0.1.6 +* Version: 0.1.7 * GitHub: https://github.com/santikka/cfid * Source code: https://github.com/cran/cfid -* Date/Publication: 2023-11-13 13:33:25 UTC +* Date/Publication: 2023-11-27 16:00:04 UTC * Number of recursive dependencies: 53 Run `revdepcheck::cloud_details(, "cfid")` for more info @@ -235,7 +128,7 @@ Run `revdepcheck::cloud_details(, "cfid")` for more info > library(cfid) > > test_check("cfid") - [ FAIL 1 | WARN 4 | SKIP 0 | PASS 201 ] + [ FAIL 1 | WARN 4 | SKIP 0 | PASS 203 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ... @@ -246,7 +139,7 @@ Run `revdepcheck::cloud_details(, "cfid")` for more info 6. └─cfid:::stopifnot_(nzchar(x), "Argument `x` contains only whitespace or special characters.") 7. └─cfid:::stop_(message) - [ FAIL 1 | WARN 4 | SKIP 0 | PASS 201 ] + [ FAIL 1 | WARN 4 | SKIP 0 | PASS 203 ] Error: Test failures Execution halted ``` @@ -319,139 +212,6 @@ Run `revdepcheck::cloud_details(, "CINNA")` for more info All declared Imports should be used. ``` -# coreCT - -
- -* Version: 1.3.3 -* GitHub: https://github.com/troyhill/coreCT -* Source code: https://github.com/cran/coreCT -* Date/Publication: 2021-02-05 15:00:03 UTC -* Number of recursive dependencies: 74 - -Run `revdepcheck::cloud_details(, "coreCT")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘coreCT-Ex.R’ failed - The error most likely occurred in: - - > ### Name: getRoots - > ### Title: Convert a matrix of semi-processed DICOM images to root particle - > ### counts, volumes, and surface areas - > ### Aliases: getRoots - > - > ### ** Examples - > - ... - > rootChars <- getRoots(HU_426, pixelA = 0.0596, - + diameter.classes = c(2.5, 10)) - - Processing root data: - - | - | | 0%Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: getRoots ... components -> ensure_igraph -> -> make_graph - Execution halted - ``` - -* checking tests ... ERROR - ``` - Running ‘testthat.R’ - Running the tests in ‘tests/testthat.R’ failed. - Complete output: - > library(testthat) - > library(coreCT) - Loading required package: raster - Loading required package: sp - Loading required package: igraph - - Attaching package: 'igraph' - ... - 10. └─raster:::.smallClump(x, directions) - 11. ├─igraph::clusters(igraph::graph(adjv, directed = FALSE)) - 12. │ └─igraph::components(graph = graph, mode = mode) - 13. │ └─igraph:::ensure_igraph(graph) - 14. └─igraph::graph(adjv, directed = FALSE) - 15. └─igraph::make_graph(...) - - [ FAIL 2 | WARN 0 | SKIP 0 | PASS 14 ] - Error: Test failures - Execution halted - ``` - -* checking re-building of vignette outputs ... ERROR - ``` - Error(s) in re-building vignettes: - ... - --- re-building ‘Using_coreCT.Rmd’ using rmarkdown - - Quitting from lines 90-93 [unnamed-chunk-4] (Using_coreCT.Rmd) - Error: processing vignette 'Using_coreCT.Rmd' failed with diagnostics: - 'simplify' should only be used for graph literals - --- failed re-building ‘Using_coreCT.Rmd’ - - SUMMARY: processing the following file failed: - ‘Using_coreCT.Rmd’ - - Error: Vignette re-building failed. - Execution halted - ``` - -# d3r - -
- -* Version: 1.1.0 -* GitHub: https://github.com/timelyportfolio/d3r -* Source code: https://github.com/cran/d3r -* Date/Publication: 2023-10-02 14:00:02 UTC -* Number of recursive dependencies: 73 - -Run `revdepcheck::cloud_details(, "d3r")` for more info - -
- -## Newly broken - -* checking tests ... ERROR - ``` - Running ‘testthat.R’ - Running the tests in ‘tests/testthat.R’ failed. - Complete output: - > library(testthat) - > library(d3r) - > - > test_check("d3r") - [ FAIL 1 | WARN 1 | SKIP 6 | PASS 14 ] - - ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ - ... - Error in `make_graph(edges = edges, n = n, isolates = isolates, directed = directed, - dir = dir, simplify = simplify, ...)`: 'simplify' should only be used for graph literals - Backtrace: - ▆ - 1. └─igraph::graph.famous("Bull") at test_igraph.R:8:3 - 2. └─igraph::make_graph(...) - - [ FAIL 1 | WARN 1 | SKIP 6 | PASS 14 ] - Error: Test failures - Execution halted - ``` - -## In both - -* checking package dependencies ... NOTE - ``` - Packages which this enhances but not available for checking: - 'partykit', 'treemap', 'V8' - ``` - # dosearch
@@ -507,47 +267,6 @@ Run `revdepcheck::cloud_details(, "dosearch")` for more info libs 6.2Mb ``` -# EpiILMCT - -
- -* Version: 1.1.7 -* GitHub: https://github.com/waleedalmutiry/EpiILMCT -* Source code: https://github.com/cran/EpiILMCT -* Date/Publication: 2021-06-29 06:10:06 UTC -* Number of recursive dependencies: 11 - -Run `revdepcheck::cloud_details(, "EpiILMCT")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘EpiILMCT-Ex.R’ failed - The error most likely occurred in: - - > ### Name: plot.contactnet - > ### Title: Plot the contact network of 'contactnet' object - > ### Aliases: plot.contactnet - > ### Keywords: plot - > - > ### ** Examples - > - ... - > net1<- contactnet(type = "powerlaw", location = loc, beta = 1.5, nu = 0.5) - > plot(net1) - > net2<- contactnet(type = "Cauchy", location = loc, beta = 0.5) - > plot(net2) - > net3<- contactnet(type = "random", num.id = 50, beta = 0.08) - > plot(net3) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: plot -> plot.contactnet -> -> make_graph - Execution halted - ``` - # fanovaGraph
@@ -578,9 +297,9 @@ Run `revdepcheck::cloud_details(, "fanovaGraph")` for more info > # Ishigami function, true analytical values: D12 = D23 = 0, D13 =~ 3.374 > q.arg = list(list(min=-pi, max=pi), list(min=-pi, max=pi), list(min=-pi, max=pi)) > estimateGraph(f.mat=ishigami.fun, d=3, q.arg=q.arg, n.tot=10000, method="LiuOwen") - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: estimateGraph ... max_cliques -> ensure_igraph -> graph -> make_graph + Error in (function (edges, n = max(edges), directed = TRUE) : + unused arguments (3, FALSE) + Calls: estimateGraph ... max_cliques -> ensure_igraph -> graph -> make_graph -> do.call Execution halted ``` @@ -597,479 +316,131 @@ Run `revdepcheck::cloud_details(, "fanovaGraph")` for more info Attaching package: 'igraph' ... - 2. └─fanovaGraph::threshold(graphlist = g, delta = delta[i]) 3. ├─igraph::maximal.cliques(graph(as.vector(t(E)), d, FALSE)) 4. │ └─igraph::max_cliques(...) 5. │ └─igraph:::ensure_igraph(graph) 6. └─igraph::graph(as.vector(t(E)), d, FALSE) 7. └─igraph::make_graph(...) + 8. └─base::do.call(old_graph, args) [ FAIL 6 | WARN 3 | SKIP 0 | PASS 6 ] Error: Test failures Execution halted ``` -# ForestGapR +# ggnetwork
-* Version: 0.1.7 -* GitHub: NA -* Source code: https://github.com/cran/ForestGapR -* Date/Publication: 2023-03-31 20:50:18 UTC -* Number of recursive dependencies: 50 +* Version: 0.5.12 +* GitHub: https://github.com/briatte/ggnetwork +* Source code: https://github.com/cran/ggnetwork +* Date/Publication: 2023-03-06 20:00:02 UTC +* Number of recursive dependencies: 75 -Run `revdepcheck::cloud_details(, "ForestGapR")` for more info +Run `revdepcheck::cloud_details(, "ggnetwork")` for more info
## Newly broken -* checking examples ... ERROR +* checking tests ... ERROR ``` - Running examples in ‘ForestGapR-Ex.R’ failed - The error most likely occurred in: - - > ### Name: GapSPDF - > ### Title: Forest Canopy Gaps as Spatial Polygons - > ### Aliases: GapSPDF - > - > ### ** Examples - > - > # Loading raster and viridis libraries + Running ‘testthat.R’ + Running the tests in ‘tests/testthat.R’ failed. + Complete output: + > library(testthat) + > library(ggnetwork) + Loading required package: ggplot2 + > + > test_check("ggnetwork") + [ FAIL 1 | WARN 5 | SKIP 0 | PASS 38 ] + ... - > # set height thresholds (e.g. 10 meters) - > threshold <- 10 - > size <- c(1, 10^4) # m2 - > - > # Detecting forest gaps - > gaps_duc <- getForestGaps(chm_layer = ALS_CHM_DUC, threshold = threshold, size = size) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: getForestGaps ... components -> ensure_igraph -> -> make_graph - Execution halted + ▆ + 1. ├─testthat::expect_s3_class(...) at test-ggnetwork.R:35:3 + 2. │ └─testthat::quasi_label(enquo(object), arg = "object") + 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) + 4. └─ggnetwork::ggnetwork(n, layout = matrix(runif(28), ncol = 2)) at test-ggnetwork.R:36:5 + 5. └─ggnetwork:::fortify.igraph(x, ...) + + [ FAIL 1 | WARN 5 | SKIP 0 | PASS 38 ] + Error: Test failures + Execution halted + ``` + +## In both + +* checking dependencies in R code ... NOTE + ``` + Namespaces in Imports field not imported from: + ‘sna’ ‘utils’ + All declared Imports should be used. ``` -# fossilbrush +# inferCSN
-* Version: 1.0.3 -* GitHub: NA -* Source code: https://github.com/cran/fossilbrush -* Date/Publication: 2022-07-21 15:50:02 UTC -* Number of recursive dependencies: 40 +* Version: 0.99.7 +* GitHub: https://github.com/mengxu98/inferCSN +* Source code: https://github.com/cran/inferCSN +* Date/Publication: 2023-10-30 10:30:02 UTC +* Number of recursive dependencies: 101 -Run `revdepcheck::cloud_details(, "fossilbrush")` for more info +Run `revdepcheck::cloud_details(, "inferCSN")` for more info
## Newly broken -* checking re-building of vignette outputs ... ERROR +* checking examples ... ERROR ``` - Error(s) in re-building vignettes: - ... - --- re-building ‘fossilbrush_vignette.Rmd’ using rmarkdown - - Quitting from lines 92-99 [unnamed-chunk-5] (fossilbrush_vignette.Rmd) - Error: processing vignette 'fossilbrush_vignette.Rmd' failed with diagnostics: - 'simplify' should only be used for graph literals - --- failed re-building ‘fossilbrush_vignette.Rmd’ - - SUMMARY: processing the following file failed: - ‘fossilbrush_vignette.Rmd’ + Running examples in ‘inferCSN-Ex.R’ failed + The error most likely occurred in: - Error: Vignette re-building failed. + > ### Name: dynamic.networks + > ### Title: Plot of dynamic networks + > ### Aliases: dynamic.networks + > + > ### ** Examples + > + > library(inferCSN) + > data("exampleMatrix") + > weightDT <- inferCSN(exampleMatrix) + > g <- dynamic.networks(weightDT, regulators = weightDT[1, 1]) + Error in fortify.igraph(x, ...) : + layout matrix dimensions do not match network size + Calls: dynamic.networks -> ggnetwork -> fortify.igraph Execution halted ``` ## In both -* checking data for non-ASCII characters ... NOTE +* checking installed package size ... NOTE ``` - Note: found 31 marked UTF-8 strings + installed size is 35.6Mb + sub-directories of 1Mb or more: + libs 34.6Mb ``` -# FrF2 +# influential
-* Version: 2.3-3 -* GitHub: NA -* Source code: https://github.com/cran/FrF2 -* Date/Publication: 2023-09-20 09:00:02 UTC -* Number of recursive dependencies: 37 +* Version: 2.2.8 +* GitHub: https://github.com/asalavaty/influential +* Source code: https://github.com/cran/influential +* Date/Publication: 2023-11-19 05:10:02 UTC +* Number of recursive dependencies: 196 -Run `revdepcheck::cloud_details(, "FrF2")` for more info +Run `revdepcheck::cloud_details(, "influential")` for more info
## Newly broken -* checking examples ... ERROR - ``` - Running examples in ‘FrF2-Ex.R’ failed - The error most likely occurred in: - - > ### Name: CIG - > ### Title: Clear interactions graph from catlg entry - > ### Aliases: CIGstatic CIG gen2CIG - > ### Keywords: design - > - > ### ** Examples - > - ... - [[7]] - + 3/9 vertices, from 30f323b: - [1] 9 5 8 - - > - > graph2 <- gen2CIG(32, c(7,11,14,29)) ### create graph object from generator columns - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: gen2CIG -> graph -> make_graph - Execution halted - ``` - -# gdistance - -
- -* Version: 1.6.4 -* GitHub: https://github.com/AgrDataSci/gdistance -* Source code: https://github.com/cran/gdistance -* Date/Publication: 2023-06-19 21:20:02 UTC -* Number of recursive dependencies: 62 - -Run `revdepcheck::cloud_details(, "gdistance")` for more info - -
- -## Newly broken - -* checking re-building of vignette outputs ... ERROR - ``` - Error(s) in re-building vignettes: - ... - --- re-building ‘Overview.Rmd’ using knitr - - Quitting from lines 454-477 [gdistance-25] (Overview.Rmd) - Error: processing vignette 'Overview.Rmd' failed with diagnostics: - 'simplify' should only be used for graph literals - --- failed re-building ‘Overview.Rmd’ - - SUMMARY: processing the following file failed: - ‘Overview.Rmd’ - - Error: Vignette re-building failed. - Execution halted - ``` - -# genlasso - -
- -* Version: 1.6.1 -* GitHub: https://github.com/glmgen/genlasso -* Source code: https://github.com/cran/genlasso -* Date/Publication: 2022-08-22 08:10:10 UTC -* Number of recursive dependencies: 10 - -Run `revdepcheck::cloud_details(, "genlasso")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘genlasso-Ex.R’ failed - The error most likely occurred in: - - > ### Name: fusedlasso - > ### Title: Compute the fused lasso solution path for a general graph, or a - > ### 1d or 2d grid - > ### Aliases: fusedlasso fusedlasso1d fusedlasso2d - > ### Keywords: models - > - > ### ** Examples - ... - > # Fused lasso on a custom graph - > set.seed(0) - > edges = c(1,2,1,3,1,5,2,4,2,5,3,6,3,7,3,8,6,7,6,8) - > gr = graph(edges=edges,directed=FALSE) - Warning: `graph()` was deprecated in igraph 1.6.0. - ℹ Please use `make_graph()` instead. - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: graph -> make_graph - Execution halted - ``` - -# ggm - -
- -* Version: 2.5 -* GitHub: NA -* Source code: https://github.com/cran/ggm -* Date/Publication: 2020-02-16 14:00:02 UTC -* Number of recursive dependencies: 12 - -Run `revdepcheck::cloud_details(, "ggm")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘ggm-Ex.R’ failed - The error most likely occurred in: - - > ### Name: AG - > ### Title: Ancestral graph - > ### Aliases: AG - > ### Keywords: graphs ancestral graph directed acyclic graph marginalization - > ### and conditioning - > - > ### ** Examples - ... - + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, - + 1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0, - + 0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0),16,16,byrow=TRUE) - > M <- c(3,5,6,15,16) - > C <- c(4,7) - > AG(ex, M, C, plot = TRUE) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: AG -> plotfun -> graph -> make_graph - Execution halted - ``` - -## In both - -* checking dependencies in R code ... NOTE - ``` - Namespace in Imports field not imported from: ‘graph’ - All declared Imports should be used. - ``` - -* checking Rd files ... NOTE - ``` - checkRd: (-1) In.Rd:21: Escaped LaTeX specials: \& - checkRd: (-1) InducedGraphs.Rd:49: Escaped LaTeX specials: \& - checkRd: (-1) InducedGraphs.Rd:86: Escaped LaTeX specials: \& - checkRd: (-1) InducedGraphs.Rd:87: Escaped LaTeX specials: \& - checkRd: (-1) InducedGraphs.Rd:89: Escaped LaTeX specials: \& - checkRd: (-1) bfsearch.Rd:20: Escaped LaTeX specials: \& - checkRd: (-1) bfsearch.Rd:30: Escaped LaTeX specials: \& - checkRd: (-1) bfsearch.Rd:33: Escaped LaTeX specials: \& - checkRd: (-1) checkIdent.Rd:29: Escaped LaTeX specials: \& - checkRd: (-1) checkIdent.Rd:34: Escaped LaTeX specials: \& - ... - checkRd: (-1) parcor.Rd:24: Escaped LaTeX specials: \& - checkRd: (-1) parcor.Rd:25: Escaped LaTeX specials: \& - checkRd: (-1) rcorr.Rd:24: Escaped LaTeX specials: \& - checkRd: (-1) rnormDag.Rd:36: Escaped LaTeX specials: \& - checkRd: (-1) rnormDag.Rd:37: Escaped LaTeX specials: \& - checkRd: (-1) stress.Rd:24: Escaped LaTeX specials: \& - checkRd: (-1) stress.Rd:25: Escaped LaTeX specials: \& - checkRd: (-1) topSort.Rd:35: Escaped LaTeX specials: \& - checkRd: (-1) triDec.Rd:34: Escaped LaTeX specials: \& - checkRd: (-1) triDec.Rd:35: Escaped LaTeX specials: \& - ``` - -# ggnetwork - -
- -* Version: 0.5.12 -* GitHub: https://github.com/briatte/ggnetwork -* Source code: https://github.com/cran/ggnetwork -* Date/Publication: 2023-03-06 20:00:02 UTC -* Number of recursive dependencies: 75 - -Run `revdepcheck::cloud_details(, "ggnetwork")` for more info - -
- -## Newly broken - -* checking tests ... ERROR - ``` - Running ‘testthat.R’ - Running the tests in ‘tests/testthat.R’ failed. - Complete output: - > library(testthat) - > library(ggnetwork) - Loading required package: ggplot2 - > - > test_check("ggnetwork") - [ FAIL 1 | WARN 5 | SKIP 0 | PASS 38 ] - - ... - ▆ - 1. ├─testthat::expect_s3_class(...) at test-ggnetwork.R:35:3 - 2. │ └─testthat::quasi_label(enquo(object), arg = "object") - 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) - 4. └─ggnetwork::ggnetwork(n, layout = matrix(runif(28), ncol = 2)) at test-ggnetwork.R:36:5 - 5. └─ggnetwork:::fortify.igraph(x, ...) - - [ FAIL 1 | WARN 5 | SKIP 0 | PASS 38 ] - Error: Test failures - Execution halted - ``` - -## In both - -* checking dependencies in R code ... NOTE - ``` - Namespaces in Imports field not imported from: - ‘sna’ ‘utils’ - All declared Imports should be used. - ``` - -# grainscape - -
- -* Version: 0.4.4 -* GitHub: https://github.com/achubaty/grainscape -* Source code: https://github.com/cran/grainscape -* Date/Publication: 2023-04-20 08:40:02 UTC -* Number of recursive dependencies: 98 - -Run `revdepcheck::cloud_details(, "grainscape")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘grainscape-Ex.R’ failed - The error most likely occurred in: - - > ### Name: patchFilter - > ### Title: Filter out patches smaller than a specified area - > ### Aliases: patchFilter patchFilter,RasterLayer-method - > - > ### ** Examples - > - > ## Load raster landscape - ... - > - > ## Create a resistance surface from a raster using an is-becomes reclassification - > tinyCost <- raster::reclassify(tiny, rcl = cbind(c(1, 2, 3, 4), c(1, 5, 10, 12))) - > ## Produce a patch-based MPG where patches are resistance features = 10 - > ## and all patches are greater than or equal to 2 cells in size - > filteredPatch <- patchFilter(tinyCost == 10, cells = 2) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: patchFilter ... components -> ensure_igraph -> -> make_graph - Execution halted - ``` - -* checking tests ... ERROR - ``` - Running ‘test-all.R’ - Running the tests in ‘tests/test-all.R’ failed. - Complete output: - > library(testthat) - > test_check("grainscape") - Loading required package: grainscape - Writing layer `nodes' to data source - `/tmp/Rtmp1EUsfi/tiny_goc_thresh2' using driver `ESRI Shapefile' - Writing 28 features with 5 fields and geometry type Point. - Writing layer `linksCentroid' to data source - ... - 6. └─raster:::.smallClump(x, directions) - 7. ├─igraph::clusters(igraph::graph(adjv, directed = FALSE)) - 8. │ └─igraph::components(graph = graph, mode = mode) - 9. │ └─igraph:::ensure_igraph(graph) - 10. └─igraph::graph(adjv, directed = FALSE) - 11. └─igraph::make_graph(...) - - [ FAIL 1 | WARN 10 | SKIP 0 | PASS 82 ] - Error: Test failures - Execution halted - ``` - -## In both - -* checking installed package size ... NOTE - ``` - installed size is 5.9Mb - sub-directories of 1Mb or more: - doc 1.5Mb - libs 2.5Mb - ``` - -# inferCSN - -
- -* Version: 0.99.7 -* GitHub: https://github.com/mengxu98/inferCSN -* Source code: https://github.com/cran/inferCSN -* Date/Publication: 2023-10-30 10:30:02 UTC -* Number of recursive dependencies: 101 - -Run `revdepcheck::cloud_details(, "inferCSN")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘inferCSN-Ex.R’ failed - The error most likely occurred in: - - > ### Name: dynamic.networks - > ### Title: Plot of dynamic networks - > ### Aliases: dynamic.networks - > - > ### ** Examples - > - > library(inferCSN) - > data("exampleMatrix") - > weightDT <- inferCSN(exampleMatrix) - > g <- dynamic.networks(weightDT, regulators = weightDT[1, 1]) - Error in fortify.igraph(x, ...) : - layout matrix dimensions do not match network size - Calls: dynamic.networks -> ggnetwork -> fortify.igraph - Execution halted - ``` - -## In both - -* checking installed package size ... NOTE - ``` - installed size is 35.6Mb - sub-directories of 1Mb or more: - libs 34.6Mb - ``` - -# influential - -
- -* Version: 2.2.8 -* GitHub: https://github.com/asalavaty/influential -* Source code: https://github.com/cran/influential -* Date/Publication: 2023-11-19 05:10:02 UTC -* Number of recursive dependencies: 196 - -Run `revdepcheck::cloud_details(, "influential")` for more info - -
- -## Newly broken - -* checking dependencies in R code ... WARNING +* checking dependencies in R code ... WARNING ``` '::' or ':::' import not declared from: ‘lifecycle’ ``` @@ -1094,1089 +465,128 @@ Run `revdepcheck::cloud_details(, "influential")` for more info
-* Version: 2.0-3 -* GitHub: https://github.com/mbojan/intergraph -* Source code: https://github.com/cran/intergraph -* Date/Publication: 2023-08-20 23:22:33 UTC -* Number of recursive dependencies: 64 - -Run `revdepcheck::cloud_details(, "intergraph")` for more info - -
- -## Newly broken - -* checking tests ... ERROR - ``` - Running ‘testthat.R’ - Running the tests in ‘tests/testthat.R’ failed. - Complete output: - > library(testthat) - > library(intergraph) - > - > test_check("intergraph") - [ FAIL 5 | WARN 117 | SKIP 0 | PASS 49 ] - - ══ Failed tests ════════════════════════════════════════════════════════════════ - ... - i Actually got a with text: - is.directed() is deprecated - ── Error ('test-netcompare.R:5:3'): netcompare just works ────────────────────── - `print(r)` threw an unexpected error. - Message: object 'r' not found - Class: simpleError/error/condition - - [ FAIL 5 | WARN 117 | SKIP 0 | PASS 49 ] - Error: Test failures - Execution halted - ``` - -# isa2 - -
- -* Version: 0.3.6 -* GitHub: https://github.com/gaborcsardi/ISA -* Source code: https://github.com/cran/isa2 -* Date/Publication: 2023-02-21 21:30:02 UTC -* Number of recursive dependencies: 42 - -Run `revdepcheck::cloud_details(, "isa2")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘isa2-Ex.R’ failed - The error most likely occurred in: - - > ### Name: isa.sweep - > ### Title: Create a hierarchical structure of ISA biclusters - > ### Aliases: isa.sweep isa.sweep,matrix-method sweep.graph - > ### sweep.graph,list-method - > ### Keywords: cluster - > - > ### ** Examples - ... - DONE - Calculating ISA robustness - DONE - DONE - > network <- sweep.graph(isa.tree) - Loading required namespace: igraph - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: sweep.graph ... sweep.graph -> sweep.graph.default -> -> make_graph - Execution halted - ``` - -# jrSiCKLSNMF - -
- -* Version: 1.2.1 -* GitHub: NA -* Source code: https://github.com/cran/jrSiCKLSNMF -* Date/Publication: 2023-07-06 18:40:04 UTC -* Number of recursive dependencies: 188 - -Run `revdepcheck::cloud_details(, "jrSiCKLSNMF")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘jrSiCKLSNMF-Ex.R’ failed - The error most likely occurred in: - - > ### Name: ClusterSickleJr - > ### Title: Cluster the \mathbf{H} matrix - > ### Aliases: ClusterSickleJr - > - > ### ** Examples - > - > SimSickleJrSmall<-ClusterSickleJr(SimSickleJrSmall,3) - > SimSickleJrSmall<-ClusterSickleJr(SimSickleJrSmall,method="louvain",neighbors=5) - > SimSickleJrSmall<-ClusterSickleJr(SimSickleJrSmall,method="spectral",neighbors=5,numclusts=3) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: ClusterSickleJr -> specClust -> graph -> make_graph - Execution halted - ``` - -## In both - -* checking installed package size ... NOTE - ``` - installed size is 8.8Mb - sub-directories of 1Mb or more: - libs 7.4Mb - ``` - -# jti - -
- -* Version: 0.8.4 -* GitHub: https://github.com/mlindsk/jti -* Source code: https://github.com/cran/jti -* Date/Publication: 2022-04-12 07:12:38 UTC -* Number of recursive dependencies: 41 - -Run `revdepcheck::cloud_details(, "jti")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘jti-Ex.R’ failed - The error most likely occurred in: - - > ### Name: sim_data_from_bn - > ### Title: Simulate data from a Bayesian network - > ### Aliases: sim_data_from_bn - > - > ### ** Examples - > - > net <- igraph::graph(as.character(c(1,2,1,3,3,4,3,5,5,4,2,6,6,7,5,7)), directed = TRUE) - Warning: `graph()` was deprecated in igraph 1.6.0. - ℹ Please use `make_graph()` instead. - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: -> make_graph - Execution halted - ``` - -## In both - -* checking C++ specification ... NOTE - ``` - Specified C++11: please drop specification unless essential - ``` - -* checking installed package size ... NOTE - ``` - installed size is 6.1Mb - sub-directories of 1Mb or more: - libs 5.3Mb - ``` - -# kknn - -
- -* Version: 1.3.1 -* GitHub: https://github.com/KlausVigo/kknn -* Source code: https://github.com/cran/kknn -* Date/Publication: 2016-03-26 22:02:21 -* Number of recursive dependencies: 10 - -Run `revdepcheck::cloud_details(, "kknn")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘kknn-Ex.R’ failed - The error most likely occurred in: - - > ### Name: specClust - > ### Title: Spectral Clustering - > ### Aliases: specClust plot.specClust - > ### Keywords: cluster - > - > ### ** Examples - > - > data(iris) - > cl <- specClust(iris[,1:4], 3, nn=5) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: specClust -> graph -> make_graph - Execution halted - ``` - -# kstMatrix - -
- -* Version: 0.2-0 -* GitHub: NA -* Source code: https://github.com/cran/kstMatrix -* Date/Publication: 2023-10-12 15:30:02 UTC -* Number of recursive dependencies: 38 - -Run `revdepcheck::cloud_details(, "kstMatrix")` for more info - -
- -## Newly broken - -* checking re-building of vignette outputs ... ERROR - ``` - Error(s) in re-building vignettes: - ... - --- re-building ‘kstMatrix.Rmd’ using rmarkdown - - Quitting from lines 185-189 [unnamed-chunk-19] (kstMatrix.Rmd) - Error: processing vignette 'kstMatrix.Rmd' failed with diagnostics: - 'simplify' should only be used for graph literals - --- failed re-building ‘kstMatrix.Rmd’ - - SUMMARY: processing the following file failed: - ‘kstMatrix.Rmd’ - - Error: Vignette re-building failed. - Execution halted - ``` - -# linkprediction - -
- -* Version: 1.0-0 -* GitHub: https://github.com/recon-icm/linkprediction -* Source code: https://github.com/cran/linkprediction -* Date/Publication: 2018-10-19 13:40:03 UTC -* Number of recursive dependencies: 45 - -Run `revdepcheck::cloud_details(, "linkprediction")` for more info - -
- -## Newly broken - -* checking tests ... ERROR - ``` - Running ‘testthat.R’ - Running the tests in ‘tests/testthat.R’ failed. - Complete output: - > library(testthat) - > library(linkprediction) - > - > test_check("linkprediction") - [ FAIL 2 | WARN 3 | SKIP 0 | PASS 2 ] - - ══ Failed tests ════════════════════════════════════════════════════════════════ - ... - Error in `make_graph(edges = edges, n = n, isolates = isolates, directed = directed, - dir = dir, simplify = simplify, ...)`: 'simplify' should only be used for graph literals - Backtrace: - ▆ - 1. └─igraph::graph(c(1, 2, 1, 3, 1, 4, 2, 4, 1, 5, 2, 5, 4, 5), directed = FALSE) at test_proxfun.R:3:1 - 2. └─igraph::make_graph(...) - - [ FAIL 2 | WARN 3 | SKIP 0 | PASS 2 ] - Error: Test failures - Execution halted - ``` - -## In both - -* checking LazyData ... NOTE - ``` - 'LazyData' is specified without a 'data' directory - ``` - -# loe - -
- -* Version: 1.1 -* GitHub: NA -* Source code: https://github.com/cran/loe -* Date/Publication: 2016-02-09 14:36:35 -* Number of recursive dependencies: 16 - -Run `revdepcheck::cloud_details(, "loe")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘loe-Ex.R’ failed - The error most likely occurred in: - - > ### Name: GARI - > ### Title: Graph Adjusted Rand Index - > ### Aliases: GARI - > - > ### ** Examples - > - > library(igraph) - ... - > - > ADM <- as.matrix( get.adjacency(graph.famous("Thomassen")) ) - Warning: `get.adjacency()` was deprecated in igraph 1.6.0. - ℹ Please use `as_adjacency_matrix()` instead. - Warning: `graph.famous()` was deprecated in igraph 1.6.0. - ℹ Please use `make_graph()` instead. - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: as.matrix ... as_adjacency_matrix -> ensure_igraph -> graph.famous -> make_graph - Execution halted - ``` - -# malan - -
- -* Version: 1.0.2 -* GitHub: https://github.com/mikldk/malan -* Source code: https://github.com/cran/malan -* Date/Publication: 2020-06-25 12:00:06 UTC -* Number of recursive dependencies: 91 - -Run `revdepcheck::cloud_details(, "malan")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘malan-Ex.R’ failed - The error most likely occurred in: - - > ### Name: from_igraph - > ### Title: Convert igraph to population - > ### Aliases: from_igraph - > - > ### ** Examples - > - > g <- igraph::graph_from_literal( 2 +- 1 -+ 3, 4 -+ 5 ) - > plot(g) - > pop <- from_igraph(g) - Error in from_igraph(g) : x must be a tree (or a forest) - Execution halted - ``` - -* checking tests ... ERROR - ``` - Running ‘testthat.R’ - Running the tests in ‘tests/testthat.R’ failed. - Complete output: - > library(testthat) - > library(malan) - Loading required package: dplyr - - Attaching package: 'dplyr' - - The following object is masked from 'package:testthat': - ... - 1. └─malan::from_igraph(g1) at test-igraph.R:5:3 - ── Error ('test-igraph.R:22:3'): igraph import works for forest ──────────────── - Error in `from_igraph(g2)`: x must be a tree (or a forest) - Backtrace: - ▆ - 1. └─malan::from_igraph(g2) at test-igraph.R:22:3 - - [ FAIL 2 | WARN 0 | SKIP 0 | PASS 439 ] - Error: Test failures - Execution halted - ``` - -## In both - -* checking C++ specification ... NOTE - ``` - Specified C++11: please drop specification unless essential - ``` - -* checking installed package size ... NOTE - ``` - installed size is 22.8Mb - sub-directories of 1Mb or more: - libs 21.8Mb - ``` - -# markovchain - -
- -* Version: 0.9.5 -* GitHub: https://github.com/spedygiorgio/markovchain -* Source code: https://github.com/cran/markovchain -* Date/Publication: 2023-09-24 09:20:02 UTC -* Number of recursive dependencies: 105 - -Run `revdepcheck::cloud_details(, "markovchain")` for more info - -
- -## Newly broken - -* checking re-building of vignette outputs ... ERROR - ``` - Error(s) in re-building vignettes: - --- re-building ‘an_introduction_to_markovchain_package.Rmd’ using rmarkdown - Error: processing vignette 'an_introduction_to_markovchain_package.Rmd' failed with diagnostics: - pandoc version 2.7 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available). - --- failed re-building ‘an_introduction_to_markovchain_package.Rmd’ - - --- re-building ‘gsoc_2017_additions.Rmd’ using rmarkdown - tlmgr: package repository https://mirrors.rit.edu/CTAN/systems/texlive/tlnet (verified) - [1/1, ??:??/??:??] install: grffile [4k] - running mktexlsr ... - ... - Error: processing vignette 'higher_order_markov_chains.Rmd' failed with diagnostics: - pandoc version 2.7 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available). - --- failed re-building ‘higher_order_markov_chains.Rmd’ - - SUMMARY: processing the following files failed: - ‘an_introduction_to_markovchain_package.Rmd’ - ‘higher_order_markov_chains.Rmd’ - - Error: Vignette re-building failed. - Execution halted - ``` - -## Newly fixed - -* checking re-building of vignette outputs ... WARNING - ``` - Error(s) in re-building vignettes: - --- re-building ‘an_introduction_to_markovchain_package.Rmd’ using rmarkdown - Error: processing vignette 'an_introduction_to_markovchain_package.Rmd' failed with diagnostics: - pandoc version 2.7 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available). - --- failed re-building ‘an_introduction_to_markovchain_package.Rmd’ - - --- re-building ‘gsoc_2017_additions.Rmd’ using rmarkdown - - tlmgr: Remote database (rev 68967) seems to be older than local (rev 68969 of texlive-scripts); please use different mirror or wait a day or so. - tlmgr update --self - ... - Error: processing vignette 'higher_order_markov_chains.Rmd' failed with diagnostics: - pandoc version 2.7 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available). - --- failed re-building ‘higher_order_markov_chains.Rmd’ - - SUMMARY: processing the following files failed: - ‘an_introduction_to_markovchain_package.Rmd’ - ‘gsoc_2017_additions.Rmd’ ‘higher_order_markov_chains.Rmd’ - - Error: Vignette re-building failed. - Execution halted - ``` - -## In both - -* checking package dependencies ... NOTE - ``` - Package which this enhances but not available for checking: ‘etm’ - ``` - -* checking installed package size ... NOTE - ``` - installed size is 24.0Mb - sub-directories of 1Mb or more: - libs 21.9Mb - ``` - -* checking for GNU extensions in Makefiles ... NOTE - ``` - GNU make is a SystemRequirements. - ``` - -# maxmatching - -
- -* Version: 0.1.0 -* GitHub: NA -* Source code: https://github.com/cran/maxmatching -* Date/Publication: 2017-01-15 09:51:07 -* Number of recursive dependencies: 10 - -Run `revdepcheck::cloud_details(, "maxmatching")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘maxmatching-Ex.R’ failed - The error most likely occurred in: - - > ### Name: maxmatching - > ### Title: Maximum Matching - > ### Aliases: maxmatching - > - > ### ** Examples - > - > # Unweighted general graph - > G1 <- igraph::graph(c(1, 2, 1, 3, 1, 4, 3, 4, 3, 5, - + 5, 6, 6, 7, 7, 8, 8, 9, 3, 8, 5, 8), directed = FALSE) - Warning: `graph()` was deprecated in igraph 1.6.0. - ℹ Please use `make_graph()` instead. - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: -> make_graph - Execution halted - ``` - -## In both - -* checking LazyData ... NOTE - ``` - 'LazyData' is specified without a 'data' directory - ``` - -# mazeGen - -
- -* Version: 0.1.3 -* GitHub: NA -* Source code: https://github.com/cran/mazeGen -* Date/Publication: 2017-12-04 17:34:53 UTC -* Number of recursive dependencies: 10 - -Run `revdepcheck::cloud_details(, "mazeGen")` for more info - -
- -## Newly broken - -* checking whether package ‘mazeGen’ can be installed ... ERROR - ``` - Installation failed. - See ‘/tmp/workdir/mazeGen/new/mazeGen.Rcheck/00install.out’ for details. - ``` - -## Installation - -### Devel - -``` -* installing *source* package ‘mazeGen’ ... -** package ‘mazeGen’ successfully unpacked and MD5 sums checked -** using staged installation -** R -** data -*** moving datasets to lazyload DB -** byte-compile and prepare package for lazy loading -Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals -Error: unable to load R code in package ‘mazeGen’ -Execution halted -ERROR: lazy loading failed for package ‘mazeGen’ -* removing ‘/tmp/workdir/mazeGen/new/mazeGen.Rcheck/mazeGen’ - - -``` -### CRAN - -``` -* installing *source* package ‘mazeGen’ ... -** package ‘mazeGen’ successfully unpacked and MD5 sums checked -** using staged installation -** R -** data -*** moving datasets to lazyload DB -** byte-compile and prepare package for lazy loading -** help -*** installing help indices -** building package indices -** testing if installed package can be loaded from temporary location -** testing if installed package can be loaded from final location -** testing if installed package keeps a record of temporary installation path -* DONE (mazeGen) - - -``` -# MetricGraph - -
- -* Version: 1.2.0 -* GitHub: https://github.com/davidbolin/MetricGraph -* Source code: https://github.com/cran/MetricGraph -* Date/Publication: 2023-11-07 10:10:16 UTC -* Number of recursive dependencies: 129 - -Run `revdepcheck::cloud_details(, "MetricGraph")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘MetricGraph-Ex.R’ failed - The error most likely occurred in: - - > ### Name: graph_components - > ### Title: Connected components of metric graph - > ### Aliases: graph_components - > - > ### ** Examples - > - > library(sp) - ... - > edge1 <- rbind(c(0, 0), c(1, 0)) - > edge2 <- rbind(c(1, 0), c(2, 0)) - > edge3 <- rbind(c(1, 1), c(2, 1)) - > edges <- list(edge1, edge2, edge3) - > - > graphs <- graph_components$new(edges) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: -> initialize -> graph -> make_graph - Execution halted - ``` - -* checking tests ... ERROR - ``` - Running ‘testthat.R’ - Running the tests in ‘tests/testthat.R’ failed. - Complete output: - > library(testthat) - > test_check("MetricGraph") - Loading required package: MetricGraph - - Attaching package: 'MetricGraph' - - The following object is masked from 'package:stats': - ... - Backtrace: - ▆ - 1. └─metric_graph$new(edges = edges) at test_split_line.R:9:1 - 2. └─MetricGraph (local) initialize(...) - 3. └─igraph::graph(edges = c(t(self$E)), directed = FALSE) - 4. └─igraph::make_graph(...) - - [ FAIL 12 | WARN 2 | SKIP 1 | PASS 8 ] - Error: Test failures - Execution halted - ``` - -## In both - -* checking installed package size ... NOTE - ``` - installed size is 20.8Mb - sub-directories of 1Mb or more: - R 1.0Mb - libs 19.3Mb - ``` - -# migraph - -
- -* Version: 1.1.5 -* GitHub: https://github.com/snlab-ch/migraph -* Source code: https://github.com/cran/migraph -* Date/Publication: 2023-11-02 10:10:02 UTC -* Number of recursive dependencies: 117 - -Run `revdepcheck::cloud_details(, "migraph")` for more info - -
- -## Newly broken - -* checking tests ... ERROR - ``` - Running ‘testthat.R’ - Running the tests in ‘tests/testthat.R’ failed. - Complete output: - > library(testthat) - > library(manynet) - > library(migraph) - - Attaching package: 'migraph' - - The following objects are masked from 'package:manynet': - ... - Error in `make_graph(edges = edges, n = n, isolates = isolates, directed = directed, - dir = dir, simplify = simplify, ...)`: 'simplify' should only be used for graph literals - Backtrace: - ▆ - 1. └─igraph::graph(edges = c(1, 2, 2, 3), n = 4, directed = FALSE) at test-measure_holes.R:34:1 - 2. └─igraph::make_graph(...) - - [ FAIL 1 | WARN 6 | SKIP 0 | PASS 276 ] - Error: Test failures - Execution halted - ``` - -# mnda - -
- -* Version: 1.0.9 -* GitHub: NA -* Source code: https://github.com/cran/mnda -* Date/Publication: 2023-01-25 08:30:02 UTC -* Number of recursive dependencies: 89 - -Run `revdepcheck::cloud_details(, "mnda")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘mnda-Ex.R’ failed - The error most likely occurred in: - - > ### Name: EDNN - > ### Title: Encoder decoder neural network (EDNN) function - > ### Aliases: EDNN - > - > ### ** Examples - > - > myNet = network_gen(N_nodes = 50) - > graphData = myNet[["data_graph"]] - > edge.list = graphData[,1:2] - > edge.weight = graphData[,3:4] - > XY = ednn_IOprepare(edge.list, edge.weight) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: ednn_IOprepare -> -> make_graph - Execution halted - ``` - -## In both - -* checking dependencies in R code ... NOTE - ``` - Namespaces in Imports field not imported from: - ‘MASS’ ‘Matrix’ ‘magrittr’ ‘reticulate’ ‘tensorflow’ ‘usethis’ - All declared Imports should be used. - ``` - -# mppR - -
- -* Version: 1.4.0 -* GitHub: https://github.com/vincentgarin/mppR -* Source code: https://github.com/cran/mppR -* Date/Publication: 2023-01-05 20:50:02 UTC -* Number of recursive dependencies: 73 - -Run `revdepcheck::cloud_details(, "mppR")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘mppR-Ex.R’ failed - The error most likely occurred in: - - > ### Name: MQE_gen_effects - > ### Title: QTL genetic effects multi-QTL effect model - > ### Aliases: MQE_gen_effects - > - > ### ** Examples - > - > - ... - > - > SIM <- mpp_SIM(mppData = mppData) - > QTL <- QTL_select(SIM) - > - > QTL.eff <- MQE_gen_effects(mppData = mppData, QTL = QTL[, 1], - + Q.eff = c("anc", "par", "biall")) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: MQE_gen_effects ... -> design_connectivity -> graph -> make_graph - Execution halted - ``` - +* Version: 2.0-3 +* GitHub: https://github.com/mbojan/intergraph +* Source code: https://github.com/cran/intergraph +* Date/Publication: 2023-08-20 23:22:33 UTC +* Number of recursive dependencies: 64 + +Run `revdepcheck::cloud_details(, "intergraph")` for more info + +
+ +## Newly broken + * checking tests ... ERROR ``` Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) - > test_check("mppR") - Loading required package: mppR - [ FAIL 3 | WARN 1 | SKIP 0 | PASS 24 ] + > library(intergraph) + > + > test_check("intergraph") + [ FAIL 2 | WARN 141 | SKIP 0 | PASS 54 ] ══ Failed tests ════════════════════════════════════════════════════════════════ - ── Error ('test_MQE_proc.R:16:1'): (code run outside of `test_that()`) ───────── ... - 2. └─mppR::QTL_gen_effects(...) - 3. └─base::mapply(...) - 4. └─mppR (local) ``(...) - 5. └─mppR::design_connectivity(...) - 6. └─igraph::graph(vertices) - 7. └─igraph::make_graph(...) + i Actually got a with text: + is.directed() is deprecated + ── Error ('test-netcompare.R:5:3'): netcompare just works ────────────────────── + `print(r)` threw an unexpected error. + Message: object 'r' not found + Class: simpleError/error/condition - [ FAIL 3 | WARN 1 | SKIP 0 | PASS 24 ] + [ FAIL 2 | WARN 141 | SKIP 0 | PASS 54 ] Error: Test failures Execution halted ``` -* checking re-building of vignette outputs ... ERROR - ``` - Error(s) in re-building vignettes: - ... - --- re-building ‘MPP_ME_QTL_detect.Rmd’ using rmarkdown - - Quitting from lines 126-129 [setup] (MPP_ME_QTL_detect.Rmd) - Error: processing vignette 'MPP_ME_QTL_detect.Rmd' failed with diagnostics: - 'simplify' should only be used for graph literals - --- failed re-building ‘MPP_ME_QTL_detect.Rmd’ - - --- re-building ‘mppR_gen_vignette.Rmd’ using rmarkdown - ... - Quitting from lines 355-360 [design_connectivity] (mppR_gen_vignette.Rmd) - Error: processing vignette 'mppR_gen_vignette.Rmd' failed with diagnostics: - 'simplify' should only be used for graph literals - --- failed re-building ‘mppR_gen_vignette.Rmd’ - - SUMMARY: processing the following files failed: - ‘MPP_ME_QTL_detect.Rmd’ ‘mppR_gen_vignette.Rmd’ - - Error: Vignette re-building failed. - Execution halted - ``` - -# MRS +# markovchain
-* Version: 1.2.4 -* GitHub: NA -* Source code: https://github.com/cran/MRS -* Date/Publication: 2018-01-23 09:10:10 UTC -* Number of recursive dependencies: 13 +* Version: 0.9.5 +* GitHub: https://github.com/spedygiorgio/markovchain +* Source code: https://github.com/cran/markovchain +* Date/Publication: 2023-09-24 09:20:02 UTC +* Number of recursive dependencies: 105 -Run `revdepcheck::cloud_details(, "MRS")` for more info +Run `revdepcheck::cloud_details(, "markovchain")` for more info
## Newly broken -* checking examples ... ERROR +* checking re-building of vignette outputs ... ERROR ``` - Running examples in ‘MRS-Ex.R’ failed - The error most likely occurred in: + Error(s) in re-building vignettes: + --- re-building ‘an_introduction_to_markovchain_package.Rmd’ using rmarkdown + Error: processing vignette 'an_introduction_to_markovchain_package.Rmd' failed with diagnostics: + pandoc version 2.7 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available). + --- failed re-building ‘an_introduction_to_markovchain_package.Rmd’ - > ### Name: plotTree - > ### Title: Plot nodes of the representative tree - > ### Aliases: plotTree - > - > ### ** Examples - > - > set.seed(1) + --- re-building ‘gsoc_2017_additions.Rmd’ using rmarkdown + tlmgr: package repository https://ctan.mirrors.hoobly.com/systems/texlive/tlnet (verified) + [1/1, ??:??/??:??] install: grffile [4k] + running mktexlsr ... ... - > X = rbind(X1, X2) - > colnames(X) = c(1,2) - > G = c(rep(1, n1), rep(2,n2)) - > - > ans = mrs(X, G, K=8) - > plotTree(ans, type = "prob", legend = TRUE) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: plotTree -> -> make_graph - Execution halted - ``` - -## In both - -* checking installed package size ... NOTE - ``` - installed size is 9.9Mb - sub-directories of 1Mb or more: - libs 9.7Mb - ``` - -# nat - -
- -* Version: 1.8.23 -* GitHub: https://github.com/natverse/nat -* Source code: https://github.com/cran/nat -* Date/Publication: 2023-08-25 15:40:02 UTC -* Number of recursive dependencies: 92 - -Run `revdepcheck::cloud_details(, "nat")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘nat-Ex.R’ failed - The error most likely occurred in: + Error: processing vignette 'higher_order_markov_chains.Rmd' failed with diagnostics: + pandoc version 2.7 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available). + --- failed re-building ‘higher_order_markov_chains.Rmd’ - > ### Name: neuron - > ### Title: neuron: class to represent traced neurons - > ### Aliases: neuron is.neuron as.neuron as.neuron.data.frame - > ### as.neuron.ngraph as.neuron.igraph as.neuron.default - > - > ### ** Examples - > - ... - [25] xform xyzmatrix xyzmatrix<- - see '?methods' for accessing help and source code - > - > ## Neurons as graphs - > # convert to graph and find longest paths by number of nodes - > ng=as.ngraph(n) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: as.ngraph ... as.ngraph.data.frame -> ngraph -> -> make_graph + SUMMARY: processing the following files failed: + ‘an_introduction_to_markovchain_package.Rmd’ + ‘higher_order_markov_chains.Rmd’ + + Error: Vignette re-building failed. Execution halted ``` -* checking tests ... ERROR - ``` - Running ‘test-all.R’ - Running the tests in ‘tests/test-all.R’ failed. - Complete output: - > library(testthat) - > library(nat) - Loading required package: rgl - Registered S3 method overwritten by 'nat': - method from - as.mesh3d.ashape3d rgl - Some nat functions depend on a CMTK installation. See ?cmtk and README.md for details. - ... - Error in `make_graph(edges = edges, n = n, isolates = isolates, directed = directed, - dir = dir, simplify = simplify, ...)`: 'simplify' should only be used for graph literals - Backtrace: - ▆ - 1. └─igraph::graph(c(1, 2, 2, 3)) at test-seglist.R:10:3 - 2. └─igraph::make_graph(...) - - [ FAIL 44 | WARN 3 | SKIP 4 | PASS 563 ] - Error: Test failures - Execution halted - ``` +## Newly fixed -* checking re-building of vignette outputs ... ERROR +* checking re-building of vignette outputs ... WARNING ``` Error(s) in re-building vignettes: - ... - --- re-building ‘Installation.Rmd’ using rmarkdown - --- finished re-building ‘Installation.Rmd’ + --- re-building ‘an_introduction_to_markovchain_package.Rmd’ using rmarkdown + Error: processing vignette 'an_introduction_to_markovchain_package.Rmd' failed with diagnostics: + pandoc version 2.7 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available). + --- failed re-building ‘an_introduction_to_markovchain_package.Rmd’ - --- re-building ‘neurons-intro.Rmd’ using rmarkdown + --- re-building ‘gsoc_2017_additions.Rmd’ using rmarkdown - Quitting from lines 200-207 [unnamed-chunk-14] (neurons-intro.Rmd) - Error: processing vignette 'neurons-intro.Rmd' failed with diagnostics: - 'simplify' should only be used for graph literals - --- failed re-building ‘neurons-intro.Rmd’ + tlmgr: Remote database (rev 69002) seems to be older than local (rev 69004 of texlive-scripts); please use different mirror or wait a day or so. + Warning in system2("tlmgr", args, ...) : + ... + Error: processing vignette 'higher_order_markov_chains.Rmd' failed with diagnostics: + pandoc version 2.7 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available). + --- failed re-building ‘higher_order_markov_chains.Rmd’ - SUMMARY: processing the following file failed: - ‘neurons-intro.Rmd’ + SUMMARY: processing the following files failed: + ‘an_introduction_to_markovchain_package.Rmd’ + ‘gsoc_2017_additions.Rmd’ ‘higher_order_markov_chains.Rmd’ Error: Vignette re-building failed. Execution halted ``` -# netdiffuseR - -
- -* Version: 1.22.6 -* GitHub: https://github.com/USCCANA/netdiffuseR -* Source code: https://github.com/cran/netdiffuseR -* Date/Publication: 2023-08-30 17:00:10 UTC -* Number of recursive dependencies: 88 - -Run `revdepcheck::cloud_details(, "netdiffuseR")` for more info - -
- -## Newly broken +## In both -* checking examples ... ERROR +* checking package dependencies ... NOTE ``` - Running examples in ‘netdiffuseR-Ex.R’ failed - The error most likely occurred in: - - > ### Name: exposure - > ### Title: Ego exposure - > ### Aliases: exposure - > ### Keywords: univar - > - > ### ** Examples - > - ... - 4: `[<-`(`*tmp*`, ids[, 1:2], value = c(15.1666666666667, 9.08333333333333, 4.38888888888889, 4.91666666666667, 4.91666666666667, 3.80555555555556, 4.52777777777778, 4.11111111111111, 4.52777777777778, 7.38888888888889, 4.97222222222222, 6.61111111111111, 4.38888888888889, 4.38888888888889, 4.55555555555556, 3.25, 4.94444444444444, 4.52777777777778, 4.55555555555555, 4.38888888888889, 4.27777777777778, 4.38888888888889, 4.41666666666667, 3.94444444444445, 3.55555555555556, 4.41666666666667, 4.38888888888889, 4.27777777777778, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.38888888888889, 4.27777777777778, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.27777777777778, 4.41666666666667, 3.97222222222222, 4.52777777777778, 4.38888888888889, 4.13888888888889, 3.66666666666667, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.52777777777778, 4.77777777777778, 4.38888888888889, 4.36111111111111, 3.94444444444444, 4.38888888888889, 4.27777777777778, 4.27777777777778, 4.77777777777778, 4.13888888888889, 4.41666666666667, 3.80555555555556, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.13888888888889, 4.27777777777778, 4.38888888888889, 4.13888888888889, 4.27777777777778, 4.27777777777778, 4.38888888888889, 4.27777777777778, 4.13888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.13888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.05555555555556, 4.41666666666667, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.27777777777778, 3.94444444444444, 4.38888888888889, 4.38888888888889, 4.38888888888889, 3.94444444444444, 4.41666666666667, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.13888888888889, 4.27777777777778, 4.52777777777778, 3.22222222222222, 10.75, 9.72222222222223, 9.72222222222222, 11, 10.1944444444444, 10.8611111111111, 10.1944444444444, 13.7777777777778, 11.3611111111111, 5.11111111111111, 9.77777777777778, 10.3333333333333, 10.9444444444444, 11.3333333333333, 8.30555555555556, 10.1944444444444, 9.27777777777778, 10.75, 10.7777777777778, 10.75, 10.3333333333333, 10.8055555555556, 11.1944444444444, 10.3333333333333, 10.5277777777778, 10.7777777777778, 10.5277777777778, 10.5277777777778, 10.7777777777778, 10.3333333333333, 10.8055555555556, 10.7777777777778, 10.8055555555556, 10.7777777777778, 10.7777777777778, 10.5277777777778, 10.9444444444444, 10.9166666666667, 10.3333333333333, 10.8055555555556, 10.9444444444444, 10.75, 10.75, 10.5277777777778, 9.52777777777778, 9.13888888888889, 10.5277777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 11.1666666666667, 10.8055555555556, 9.77777777777778, 10.9166666666667, 10.75, 10.8055555555556, 10.5277777777778, 10.8055555555556, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.0833333333333, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.3333333333333, 10.7777777777778, 10.75, 10.7777777777778, 10.7777777777778, 10.9166666666667, 9.77777777777778, 10.7777777777778, 10.75, 10.3333333333333, 10.8055555555556, 10.75, 10.7777777777778, 10.8055555555556, 10.75, 10.7777777777778, 10.75, 10.7777777777778, 10.3333333333333, 10.7777777777778, 9.77777777777778, 10.7777777777778, 10.75, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.9166666666667, 4.69444444444444, 5.22222222222222, 5.22222222222222, 4.91666666666667, 4.83333333333333, 4.77777777777778, 4.83333333333333, 7.69444444444444, 5.27777777777778, 0.777777777777778, 4, 4.44444444444444, 4.86111111111111, 5.25, 2.91666666666667, 4.36111111111111, 3.61111111111111, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.72222222222222, 5.11111111111111, 4.72222222222222, 4.58333333333333, 4.69444444444444, 4.58333333333333, 4.72222222222222, 4.69444444444444, 4.44444444444444, 4.72222222222222, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.86111111111111, 4.83333333333333, 4.44444444444444, 4.72222222222222, 4.86111111111111, 4.69444444444444, 4.69444444444444, 4.69444444444444, 3.80555555555556, 3.52777777777778, 4.58333333333333, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 5.08333333333333, 4.72222222222222, 4, 4.83333333333333, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.25, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.83333333333333, 4, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.44444444444445, 4.69444444444444, 4, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.83333333333333, 0.527777777777778, 0.527777777777778, 0.222222222222222, 0.138888888888889, 0.0833333333333333, 0.138888888888889, 3, 0.583333333333333, 2.22222222222222, 0, 0, 0.166666666666667, 0.555555555555556, 0.555555555555556, 0.138888888888889, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 1.05555555555556, 0.75, 0.194444444444444, 0.611111111111111, 0.666666666666667, 3.52777777777778, 1.11111111111111, 2.75, 0.527777777777778, 0.527777777777778, 0.694444444444444, 1.08333333333333, 1.08333333333333, 0.666666666666667, 0.694444444444444, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.555555555555556, 0.944444444444444, 0.277777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.416666666666667, 0.694444444444444, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.694444444444444, 0.527777777777778, 0.527777777777778, 0.416666666666667, 0.666666666666667, 0.916666666666667, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.916666666666667, 0.555555555555556, 0.555555555555556, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.277777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.75, 0.666666666666667, 0.611111111111111, 0.194444444444444, 3.52777777777778, 1.11111111111111, 2.75, 0.527777777777778, 0.527777777777778, 0.694444444444444, 1.08333333333333, 1.08333333333333, 0.666666666666667, 0.694444444444444, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.277777777777778, 0.555555555555556, 0.944444444444444, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.416666666666667, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.694444444444444, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.694444444444445, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.916666666666667, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.916666666666667, 0.555555555555556, 0.555555555555556, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.416666666666667, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.277777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.361111111111111, 0.305555555555556, 0.361111111111111, 3.22222222222222, 0.805555555555556, 2.44444444444444, 0.222222222222222, 0.222222222222222, 0.388888888888889, 0.777777777777778, 0.777777777777778, 0.361111111111111, 0.388888888888889, 0.222222222222222, 0.194444444444444, 0.222222222222222, 0.25, 0.25, 0.638888888888889, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.25, 0.388888888888889, 0.361111111111111, 0.222222222222222, 0.111111111111111, 0.388888888888889, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.361111111111111, 0.611111111111111, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.611111111111111, 0.25, 0.25, 0.361111111111111, 0.222222222222222, 0.25, 0.222222222222222, 0.25, 0.194444444444444, 0.222222222222222, 0.222222222222222, 0.194444444444444, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.111111111111111, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.361111111111111, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.361111111111111, 0.222222222222222, 0.277777777777778, 3.13888888888889, 0.722222222222222, 2.36111111111111, 0.138888888888889, 0.138888888888889, 0.305555555555556, 0.694444444444444, 0.694444444444444, 0.277777777777778, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.222222222222222, 3.08333333333333, 0.666666666666667, 2.30555555555556, 0.0833333333333333, 0.0833333333333333, 0.25, 0.638888888888889, 0.638888888888889, 0.222222222222222, 0.25, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.111111111111111, 0.5, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.25, 0.222222222222222, 0.0833333333333333, 0.111111111111111, 0.25, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.222222222222222, 0.472222222222222, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0555555555555556, 0.472222222222222, 0.111111111111111, 0.111111111111111, 0.222222222222222, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0555555555555556, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.222222222222222, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0555555555555556, 0.222222222222222, 3.13888888888889, 0.722222222222222, 2.36111111111111, 0.138888888888889, 0.138888888888889, 0.305555555555556, 0.694444444444444, 0.694444444444444, 0.277777777777778, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.555555555555556, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 1.66666666666667, 5.22222222222222, 3, 3, 2.58333333333333, 3.55555555555556, 3.55555555555556, 3.13888888888889, 3.16666666666667, 3, 3, 3, 3.02777777777778, 3.02777777777778, 3.41666666666667, 3.02777777777778, 3, 3, 3, 3.02777777777778, 2.88888888888889, 3, 3.02777777777778, 2.97222222222222, 2.75, 2.88888888888889, 3, 3.02777777777778, 3.16666666666667, 2.41666666666667, 3, 3.02777777777778, 3.16666666666667, 3, 3, 3, 3.13888888888889, 3.38888888888889, 3, 3, 3, 2.75, 3, 3, 2.25, 3.02777777777778, 3.02777777777778, 3.13888888888889, 3, 2.55555555555556, 3, 3.02777777777778, 3, 3, 3, 3, 3, 3, 3, 3, 2.88888888888889, 2.88888888888889, 3, 3, 3, 2.88888888888889, 2.97222222222222, 3.13888888888889, 3.02777777777778, 2.88888888888889, 3, 3, 2.55555555555556, 3, 3, 3.02777777777778, 3, 2.55555555555556, 3, 3, 3.02777777777778, 2.88888888888889, 3, 2.55555555555556, 3, 2.88888888888889, 3, 3, 2.41666666666667, 2.80555555555555, 0.583333333333333, 0.583333333333333, 0.75, 1.13888888888889, 1.13888888888889, 0.722222222222222, 0.75, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.611111111111111, 1, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.555555555555556, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.75, 0.25, 0.583333333333333, 0.611111111111111, 0.75, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.722222222222222, 0.972222222222222, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.972222222222222, 0.611111111111111, 0.611111111111111, 0.722222222222222, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.722222222222222, 0.611111111111111, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.333333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.555555555555556, 0.583333333333333, 0.333333333333333, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.722222222222222, 1.77777777777778, 2.22222222222222, 2.38888888888889, 2.77777777777778, 1.08333333333333, 2.36111111111111, 1.5, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.25, 2.25, 2.63888888888889, 2.25, 2.19444444444444, 2.22222222222222, 2.19444444444444, 2.25, 2.22222222222222, 2.11111111111111, 2.25, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.25, 2.38888888888889, 2.36111111111111, 2.11111111111111, 2.25, 2.38888888888889, 2.22222222222222, 2.22222222222222, 2.22222222222222, 1.63888888888889, 1.47222222222222, 2.19444444444444, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.61111111111111, 2.25, 1.77777777777778, 2.36111111111111, 2.22222222222222, 2.25, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 1.97222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.36111111111111, 1.77777777777778, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.25, 2.22222222222222, 1.77777777777778, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.36111111111111, 0, 0.166666666666667, 0.555555555555556, 0.555555555555556, 0.138888888888889, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.166666666666667, 0.555555555555556, 0.555555555555556, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.722222222222222, 0.722222222222222, 0.305555555555556, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.194444444444444, 0.583333333333333, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.0555555555555556, 0.138888888888889, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.194444444444444, 0.194444444444444, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 1.11111111111111, 0.694444444444444, 0.722222222222222, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.305555555555556, 0.972222222222222, 0.583333333333333, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.722222222222222, 0.694444444444444, 0.555555555555556, 0.583333333333333, 0.138888888888889, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.944444444444444, 0.555555555555556, 0.555555555555556, 0.305555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.944444444444445, 0.583333333333333, 0.583333333333333, 0.694444444444444, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.527777777777778, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.444444444444444, 0.555555555555556, 0.694444444444444, 0.694444444444444, 0.138888888888889, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.972222222222222, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.527777777777778, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.722222222222222, 0.694444444444444, 0.527777777777778, 0.583333333333333, 0.722222222222222, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.944444444444444, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.944444444444444, 0.583333333333333, 0.305555555555556, 0.694444444444444, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.444444444444444, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.305555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.194444444444444, 0.583333333333333, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.194444444444444, 0.0555555555555556, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0555555555555556, 0.444444444444444, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.444444444444444, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.388888888888889, 0.444444444444444, 0.583333333333333, 0.555555555555556, 0.416666666666667, 0.444444444444444, 0.583333333333333, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.555555555555556, 0.805555555555556, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.805555555555556, 0.444444444444444, 0.444444444444444, 0.0833333333333333, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.555555555555556, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.166666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.166666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.555555555555556, 0.0555555555555556, 0.194444444444444, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.194444444444444, 0.194444444444444, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0555555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.777777777777778, 0.416666666666667, 0.416666666666667, 0.527777777777778, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.527777777777778, 0.138888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.527777777777778, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.416666666666667, 0.416666666666667, 0.527777777777778, 0.388888888888889, 0.138888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.527777777777778, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.138888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0.138888888888889, 0, 0, 0.138888888888889, 0, 0.138888888888889, 0.138888888888889)) - 5: `[<-`(`*tmp*`, ids[, 1:2], value = c(15.1666666666667, 9.08333333333333, 4.38888888888889, 4.91666666666667, 4.91666666666667, 3.80555555555556, 4.52777777777778, 4.11111111111111, 4.52777777777778, 7.38888888888889, 4.97222222222222, 6.61111111111111, 4.38888888888889, 4.38888888888889, 4.55555555555556, 3.25, 4.94444444444444, 4.52777777777778, 4.55555555555555, 4.38888888888889, 4.27777777777778, 4.38888888888889, 4.41666666666667, 3.94444444444445, 3.55555555555556, 4.41666666666667, 4.38888888888889, 4.27777777777778, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.38888888888889, 4.27777777777778, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.27777777777778, 4.41666666666667, 3.97222222222222, 4.52777777777778, 4.38888888888889, 4.13888888888889, 3.66666666666667, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.52777777777778, 4.77777777777778, 4.38888888888889, 4.36111111111111, 3.94444444444444, 4.38888888888889, 4.27777777777778, 4.27777777777778, 4.77777777777778, 4.13888888888889, 4.41666666666667, 3.80555555555556, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.13888888888889, 4.27777777777778, 4.38888888888889, 4.13888888888889, 4.27777777777778, 4.27777777777778, 4.38888888888889, 4.27777777777778, 4.13888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.13888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.05555555555556, 4.41666666666667, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.41666666666667, 4.38888888888889, 4.27777777777778, 3.94444444444444, 4.38888888888889, 4.38888888888889, 4.38888888888889, 3.94444444444444, 4.41666666666667, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.38888888888889, 4.13888888888889, 4.27777777777778, 4.52777777777778, 3.22222222222222, 10.75, 9.72222222222223, 9.72222222222222, 11, 10.1944444444444, 10.8611111111111, 10.1944444444444, 13.7777777777778, 11.3611111111111, 5.11111111111111, 9.77777777777778, 10.3333333333333, 10.9444444444444, 11.3333333333333, 8.30555555555556, 10.1944444444444, 9.27777777777778, 10.75, 10.7777777777778, 10.75, 10.3333333333333, 10.8055555555556, 11.1944444444444, 10.3333333333333, 10.5277777777778, 10.7777777777778, 10.5277777777778, 10.5277777777778, 10.7777777777778, 10.3333333333333, 10.8055555555556, 10.7777777777778, 10.8055555555556, 10.7777777777778, 10.7777777777778, 10.5277777777778, 10.9444444444444, 10.9166666666667, 10.3333333333333, 10.8055555555556, 10.9444444444444, 10.75, 10.75, 10.5277777777778, 9.52777777777778, 9.13888888888889, 10.5277777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 11.1666666666667, 10.8055555555556, 9.77777777777778, 10.9166666666667, 10.75, 10.8055555555556, 10.5277777777778, 10.8055555555556, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.0833333333333, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.3333333333333, 10.7777777777778, 10.75, 10.7777777777778, 10.7777777777778, 10.9166666666667, 9.77777777777778, 10.7777777777778, 10.75, 10.3333333333333, 10.8055555555556, 10.75, 10.7777777777778, 10.8055555555556, 10.75, 10.7777777777778, 10.75, 10.7777777777778, 10.3333333333333, 10.7777777777778, 9.77777777777778, 10.7777777777778, 10.75, 10.7777777777778, 10.7777777777778, 10.7777777777778, 10.9166666666667, 4.69444444444444, 5.22222222222222, 5.22222222222222, 4.91666666666667, 4.83333333333333, 4.77777777777778, 4.83333333333333, 7.69444444444444, 5.27777777777778, 0.777777777777778, 4, 4.44444444444444, 4.86111111111111, 5.25, 2.91666666666667, 4.36111111111111, 3.61111111111111, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.72222222222222, 5.11111111111111, 4.72222222222222, 4.58333333333333, 4.69444444444444, 4.58333333333333, 4.72222222222222, 4.69444444444444, 4.44444444444444, 4.72222222222222, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.86111111111111, 4.83333333333333, 4.44444444444444, 4.72222222222222, 4.86111111111111, 4.69444444444444, 4.69444444444444, 4.69444444444444, 3.80555555555556, 3.52777777777778, 4.58333333333333, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 5.08333333333333, 4.72222222222222, 4, 4.83333333333333, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.25, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.83333333333333, 4, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.72222222222222, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.44444444444445, 4.69444444444444, 4, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.69444444444444, 4.83333333333333, 0.527777777777778, 0.527777777777778, 0.222222222222222, 0.138888888888889, 0.0833333333333333, 0.138888888888889, 3, 0.583333333333333, 2.22222222222222, 0, 0, 0.166666666666667, 0.555555555555556, 0.555555555555556, 0.138888888888889, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 1.05555555555556, 0.75, 0.194444444444444, 0.611111111111111, 0.666666666666667, 3.52777777777778, 1.11111111111111, 2.75, 0.527777777777778, 0.527777777777778, 0.694444444444444, 1.08333333333333, 1.08333333333333, 0.666666666666667, 0.694444444444444, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.555555555555556, 0.944444444444444, 0.277777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.416666666666667, 0.694444444444444, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.694444444444444, 0.527777777777778, 0.527777777777778, 0.416666666666667, 0.666666666666667, 0.916666666666667, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.916666666666667, 0.555555555555556, 0.555555555555556, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.277777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.75, 0.666666666666667, 0.611111111111111, 0.194444444444444, 3.52777777777778, 1.11111111111111, 2.75, 0.527777777777778, 0.527777777777778, 0.694444444444444, 1.08333333333333, 1.08333333333333, 0.666666666666667, 0.694444444444444, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.277777777777778, 0.555555555555556, 0.944444444444444, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.416666666666667, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.694444444444444, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.694444444444445, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.916666666666667, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.916666666666667, 0.555555555555556, 0.555555555555556, 0.666666666666667, 0.527777777777778, 0.555555555555556, 0.416666666666667, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.277777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.555555555555556, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.527777777777778, 0.666666666666667, 0.361111111111111, 0.305555555555556, 0.361111111111111, 3.22222222222222, 0.805555555555556, 2.44444444444444, 0.222222222222222, 0.222222222222222, 0.388888888888889, 0.777777777777778, 0.777777777777778, 0.361111111111111, 0.388888888888889, 0.222222222222222, 0.194444444444444, 0.222222222222222, 0.25, 0.25, 0.638888888888889, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.25, 0.388888888888889, 0.361111111111111, 0.222222222222222, 0.111111111111111, 0.388888888888889, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.361111111111111, 0.611111111111111, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.611111111111111, 0.25, 0.25, 0.361111111111111, 0.222222222222222, 0.25, 0.222222222222222, 0.25, 0.194444444444444, 0.222222222222222, 0.222222222222222, 0.194444444444444, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.111111111111111, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.361111111111111, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.25, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.222222222222222, 0.361111111111111, 0.222222222222222, 0.277777777777778, 3.13888888888889, 0.722222222222222, 2.36111111111111, 0.138888888888889, 0.138888888888889, 0.305555555555556, 0.694444444444444, 0.694444444444444, 0.277777777777778, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.222222222222222, 3.08333333333333, 0.666666666666667, 2.30555555555556, 0.0833333333333333, 0.0833333333333333, 0.25, 0.638888888888889, 0.638888888888889, 0.222222222222222, 0.25, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.111111111111111, 0.5, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.25, 0.222222222222222, 0.0833333333333333, 0.111111111111111, 0.25, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.222222222222222, 0.472222222222222, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0555555555555556, 0.472222222222222, 0.111111111111111, 0.111111111111111, 0.222222222222222, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0555555555555556, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.222222222222222, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.111111111111111, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0833333333333333, 0.0555555555555556, 0.222222222222222, 3.13888888888889, 0.722222222222222, 2.36111111111111, 0.138888888888889, 0.138888888888889, 0.305555555555556, 0.694444444444444, 0.694444444444444, 0.277777777777778, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.555555555555556, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 1.66666666666667, 5.22222222222222, 3, 3, 2.58333333333333, 3.55555555555556, 3.55555555555556, 3.13888888888889, 3.16666666666667, 3, 3, 3, 3.02777777777778, 3.02777777777778, 3.41666666666667, 3.02777777777778, 3, 3, 3, 3.02777777777778, 2.88888888888889, 3, 3.02777777777778, 2.97222222222222, 2.75, 2.88888888888889, 3, 3.02777777777778, 3.16666666666667, 2.41666666666667, 3, 3.02777777777778, 3.16666666666667, 3, 3, 3, 3.13888888888889, 3.38888888888889, 3, 3, 3, 2.75, 3, 3, 2.25, 3.02777777777778, 3.02777777777778, 3.13888888888889, 3, 2.55555555555556, 3, 3.02777777777778, 3, 3, 3, 3, 3, 3, 3, 3, 2.88888888888889, 2.88888888888889, 3, 3, 3, 2.88888888888889, 2.97222222222222, 3.13888888888889, 3.02777777777778, 2.88888888888889, 3, 3, 2.55555555555556, 3, 3, 3.02777777777778, 3, 2.55555555555556, 3, 3, 3.02777777777778, 2.88888888888889, 3, 2.55555555555556, 3, 2.88888888888889, 3, 3, 2.41666666666667, 2.80555555555555, 0.583333333333333, 0.583333333333333, 0.75, 1.13888888888889, 1.13888888888889, 0.722222222222222, 0.75, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.611111111111111, 1, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.555555555555556, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.75, 0.25, 0.583333333333333, 0.611111111111111, 0.75, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.722222222222222, 0.972222222222222, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.972222222222222, 0.611111111111111, 0.611111111111111, 0.722222222222222, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.722222222222222, 0.611111111111111, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.333333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.583333333333333, 0.611111111111111, 0.555555555555556, 0.583333333333333, 0.333333333333333, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.722222222222222, 1.77777777777778, 2.22222222222222, 2.38888888888889, 2.77777777777778, 1.08333333333333, 2.36111111111111, 1.5, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.25, 2.25, 2.63888888888889, 2.25, 2.19444444444444, 2.22222222222222, 2.19444444444444, 2.25, 2.22222222222222, 2.11111111111111, 2.25, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.25, 2.38888888888889, 2.36111111111111, 2.11111111111111, 2.25, 2.38888888888889, 2.22222222222222, 2.22222222222222, 2.22222222222222, 1.63888888888889, 1.47222222222222, 2.19444444444444, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.61111111111111, 2.25, 1.77777777777778, 2.36111111111111, 2.22222222222222, 2.25, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 1.97222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.36111111111111, 1.77777777777778, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.25, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.25, 2.22222222222222, 1.77777777777778, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.22222222222222, 2.36111111111111, 0, 0.166666666666667, 0.555555555555556, 0.555555555555556, 0.138888888888889, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.166666666666667, 0.555555555555556, 0.555555555555556, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.722222222222222, 0.722222222222222, 0.305555555555556, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.194444444444444, 0.583333333333333, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.0555555555555556, 0.138888888888889, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.194444444444444, 0.194444444444444, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 1.11111111111111, 0.694444444444444, 0.722222222222222, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.305555555555556, 0.972222222222222, 0.583333333333333, 0.555555555555556, 0.527777777777778, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.722222222222222, 0.694444444444444, 0.555555555555556, 0.583333333333333, 0.138888888888889, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.944444444444444, 0.555555555555556, 0.555555555555556, 0.305555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.944444444444445, 0.583333333333333, 0.583333333333333, 0.694444444444444, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.527777777777778, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.444444444444444, 0.555555555555556, 0.694444444444444, 0.694444444444444, 0.138888888888889, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.583333333333333, 0.972222222222222, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.527777777777778, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.722222222222222, 0.694444444444444, 0.527777777777778, 0.583333333333333, 0.722222222222222, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.944444444444444, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.944444444444444, 0.583333333333333, 0.305555555555556, 0.694444444444444, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.444444444444444, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.583333333333333, 0.555555555555556, 0.305555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.555555555555556, 0.694444444444444, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.194444444444444, 0.583333333333333, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.194444444444444, 0.0555555555555556, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0555555555555556, 0.444444444444444, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.444444444444444, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.388888888888889, 0.444444444444444, 0.583333333333333, 0.555555555555556, 0.416666666666667, 0.444444444444444, 0.583333333333333, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.555555555555556, 0.805555555555556, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.805555555555556, 0.444444444444444, 0.444444444444444, 0.0833333333333333, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.555555555555556, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.166666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.166666666666667, 0.444444444444444, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.416666666666667, 0.555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0277777777777778, 0, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.194444444444444, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.333333333333333, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.555555555555556, 0.0555555555555556, 0.194444444444444, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.527777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.194444444444444, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.416666666666667, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.416666666666667, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.555555555555556, 0.166666666666667, 0.166666666666667, 0.0555555555555556, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.555555555555556, 0.194444444444444, 0.194444444444444, 0.305555555555556, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.305555555555556, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.194444444444444, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.305555555555556, 0, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.138888888888889, 0.388888888888889, 0, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0555555555555556, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.527777777777778, 0.166666666666667, 0.166666666666667, 0.277777777777778, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.777777777777778, 0.416666666666667, 0.416666666666667, 0.527777777777778, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.527777777777778, 0.138888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.527777777777778, 0, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.388888888888889, 0.0277777777777778, 0.0277777777777778, 0.138888888888889, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.416666666666667, 0.416666666666667, 0.527777777777778, 0.388888888888889, 0.138888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.527777777777778, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.138888888888889, 0.388888888888889, 0.388888888888889, 0.416666666666667, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.388888888888889, 0.0555555555555556, 0.0555555555555556, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.166666666666667, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0277777777777778, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.166666666666667, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.138888888888889, 0.277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0, 0.0555555555555556, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.0277777777777778, 0, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.0277777777777778, 0.166666666666667, 0, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0, 0.138888888888889, 0, 0, 0, 0.138888888888889, 0, 0, 0.138888888888889, 0, 0.138888888888889, 0.138888888888889)) - 6: euclidean_distance(gdist) - 7: struct_equiv_new(geod, v) - 8: struct_equiv.dgCMatrix(methods::as(graph[[i]], "dgCMatrix"), v, inf.replace, groupvar, ...) - 9: struct_equiv.list(graph$graph, v, inf.replace, groupvar, ...) - 10: struct_equiv(graph) - 11: lapply(struct_equiv(graph), "[[", "SE") - An irrecoverable exception occurred. R is aborting now ... - Bus error (core dumped) + Package which this enhances but not available for checking: ‘etm’ ``` -## In both - * checking installed package size ... NOTE ``` - installed size is 21.8Mb + installed size is 24.0Mb sub-directories of 1Mb or more: - data 1.1Mb - doc 2.5Mb - libs 16.9Mb + libs 21.9Mb ``` -# netseg - -
- -* Version: 1.0-2 -* GitHub: https://github.com/mbojan/netseg -* Source code: https://github.com/cran/netseg -* Date/Publication: 2023-07-01 07:40:02 UTC -* Number of recursive dependencies: 63 - -Run `revdepcheck::cloud_details(, "netseg")` for more info - -
- -## Newly broken - -* checking tests ... ERROR +* checking for GNU extensions in Makefiles ... NOTE ``` - Running ‘testthat.R’ - Running the tests in ‘tests/testthat.R’ failed. - Complete output: - > library(testthat) - > library(netseg) - > - > test_check("netseg") - [ FAIL 3 | WARN 17 | SKIP 0 | PASS 48 ] - - ══ Failed tests ════════════════════════════════════════════════════════════════ - ... - Error in `make_graph(edges = edges, n = n, isolates = isolates, directed = directed, - dir = dir, simplify = simplify, ...)`: 'simplify' should only be used for graph literals - Backtrace: - ▆ - 1. └─igraph::graph(c(1, 2, 1, 3, 2, 4, 3, 4, 3, 1, 4, 2), directed = TRUE) at test-orwg.R:12:11 - 2. └─igraph::make_graph(...) - - [ FAIL 3 | WARN 17 | SKIP 0 | PASS 48 ] - Error: Test failures - Execution halted + GNU make is a SystemRequirements. ``` # nosoi @@ -2268,201 +678,39 @@ Run `revdepcheck::cloud_details(, "pcalg")` for more info installed size is 20.0Mb sub-directories of 1Mb or more: data 2.1Mb - libs 14.6Mb - ``` - -* checking Rd cross-references ... NOTE - ``` - Packages unavailable to check Rd xrefs: ‘combinat’, ‘unifDAG’ - ``` - -* checking re-building of vignette outputs ... NOTE - ``` - Error(s) in re-building vignettes: - --- re-building ‘vignette2018.Rnw’ using Sweave - Loading required package: Rgraphviz - Loading required package: graph - Loading required package: BiocGenerics - - Attaching package: 'BiocGenerics' - - The following objects are masked from 'package:stats': - - ... - l.179 \RequirePackage{grfext}\relax - ^^M - ! ==> Fatal error occurred, no output PDF file produced! - --- failed re-building 'vignette2018.Rnw' - - SUMMARY: processing the following file failed: - 'vignette2018.Rnw' - - Error: Vignette re-building failed. - Execution halted - ``` - -# pcSteiner - -
- -* Version: 1.0.0.1 -* GitHub: https://github.com/krashkov/pcSteiner -* Source code: https://github.com/cran/pcSteiner -* Date/Publication: 2022-05-23 08:02:24 UTC -* Number of recursive dependencies: 36 - -Run `revdepcheck::cloud_details(, "pcSteiner")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘pcSteiner-Ex.R’ failed - The error most likely occurred in: - - > ### Name: pcs.tree - > ### Title: Solve the Prize-Collecting Steiner Tree problem - > ### Aliases: pcs.tree - > - > ### ** Examples - > - > g <- graph('Bull') - Warning: `graph()` was deprecated in igraph 1.6.0. - ℹ Please use `make_graph()` instead. - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: graph -> make_graph - Execution halted - ``` - -* checking re-building of vignette outputs ... ERROR - ``` - Error(s) in re-building vignettes: - ... - --- re-building ‘tutorial.Rmd’ using rmarkdown - - Quitting from lines 643-652 [unnamed-chunk-1] (tutorial.Rmd) - Error: processing vignette 'tutorial.Rmd' failed with diagnostics: - 'simplify' should only be used for graph literals - --- failed re-building ‘tutorial.Rmd’ - - SUMMARY: processing the following file failed: - ‘tutorial.Rmd’ - - Error: Vignette re-building failed. - Execution halted - ``` - -## Newly fixed - -* checking re-building of vignette outputs ... WARNING - ``` - Error(s) in re-building vignettes: - --- re-building ‘tutorial.Rmd’ using rmarkdown - tlmgr: package repository https://mirrors.rit.edu/CTAN/systems/texlive/tlnet (verified) - [1/1, ??:??/??:??] install: grffile [4k] - running mktexlsr ... - done running mktexlsr. - tlmgr: package log updated: /opt/TinyTeX/texmf-var/web2c/tlmgr.log - tlmgr: command log updated: /opt/TinyTeX/texmf-var/web2c/tlmgr-commands.log - tlmgr: package repository https://mirror.math.princeton.edu/pub/CTAN/systems/texlive/tlnet (verified) - [1/1, ??:??/??:??] install: algorithm2e [33k] - ... - - Error: processing vignette 'tutorial.Rmd' failed with diagnostics: - LaTeX failed to compile /tmp/workdir/pcSteiner/old/pcSteiner.Rcheck/vign_test/pcSteiner/vignettes/tutorial.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See tutorial.log for more info. - --- failed re-building ‘tutorial.Rmd’ - - SUMMARY: processing the following file failed: - ‘tutorial.Rmd’ - - Error: Vignette re-building failed. - Execution halted - ``` - -# phangorn - -
- -* Version: 2.11.1 -* GitHub: https://github.com/KlausVigo/phangorn -* Source code: https://github.com/cran/phangorn -* Date/Publication: 2023-01-23 10:10:02 UTC -* Number of recursive dependencies: 67 - -Run `revdepcheck::cloud_details(, "phangorn")` for more info - -
- -## Newly broken + libs 14.6Mb + ``` -* checking examples ... ERROR +* checking Rd cross-references ... NOTE ``` - Running examples in ‘phangorn-Ex.R’ failed - The error most likely occurred in: - - > ### Name: addConfidences - > ### Title: Compare splits and add support values to an object - > ### Aliases: addConfidences addConfidences.phylo presenceAbsence - > ### createLabel - > ### Keywords: cluster - > - > ### ** Examples - ... - + "extdata/trees/RAxML_bootstrap.woodmouse", package="phangorn")) - > boot_trees <- read.tree(tmpfile) - > - > dm <- dist.ml(woodmouse) - > tree <- upgma(dm) - > nnet <- neighborNet(dm) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: neighborNet ... as.networx.splits -> circNetwork -> graph -> make_graph - Execution halted + Packages unavailable to check Rd xrefs: ‘combinat’, ‘unifDAG’ ``` -* checking re-building of vignette outputs ... ERROR +* checking re-building of vignette outputs ... NOTE ``` Error(s) in re-building vignettes: - --- re-building ‘AdvancedFeatures.Rmd’ using rmarkdown - --- finished re-building ‘AdvancedFeatures.Rmd’ + --- re-building ‘vignette2018.Rnw’ using Sweave + Loading required package: Rgraphviz + Loading required package: graph + Loading required package: BiocGenerics - --- re-building ‘Ancestral.Rmd’ using rmarkdown - --- finished re-building ‘Ancestral.Rmd’ + Attaching package: 'BiocGenerics' - --- re-building ‘IntertwiningTreesAndNetworks.Rmd’ using rmarkdown + The following objects are masked from 'package:stats': - Quitting from lines 76-101 [unnamed-chunk-3] (IntertwiningTreesAndNetworks.Rmd) ... - Error: processing vignette 'Trees.Rmd' failed with diagnostics: - 'simplify' should only be used for graph literals - --- failed re-building ‘Trees.Rmd’ + l.179 \RequirePackage{grfext}\relax + ^^M + ! ==> Fatal error occurred, no output PDF file produced! + --- failed re-building 'vignette2018.Rnw' - SUMMARY: processing the following files failed: - ‘IntertwiningTreesAndNetworks.Rmd’ ‘MLbyHand.Rmd’ ‘Networx.Rmd’ - ‘Trees.Rmd’ + SUMMARY: processing the following file failed: + 'vignette2018.Rnw' Error: Vignette re-building failed. Execution halted ``` -## In both - -* checking C++ specification ... NOTE - ``` - Specified C++11: please drop specification unless essential - ``` - -* checking installed package size ... NOTE - ``` - installed size is 10.0Mb - sub-directories of 1Mb or more: - doc 1.5Mb - libs 5.8Mb - ``` - # phyloseqGraphTest
@@ -2531,78 +779,6 @@ Run `revdepcheck::cloud_details(, "phyloseqGraphTest")` for more info 'LazyData' is specified without a 'data' directory ``` -# phyloTop - -
- -* Version: 2.1.2 -* GitHub: https://github.com/MichelleKendall/phyloTop -* Source code: https://github.com/cran/phyloTop -* Date/Publication: 2023-01-24 15:20:02 UTC -* Number of recursive dependencies: 94 - -Run `revdepcheck::cloud_details(, "phyloTop")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘phyloTop-Ex.R’ failed - The error most likely occurred in: - - > ### Name: getLabGenealogy - > ### Title: Create genealogy - > ### Aliases: getLabGenealogy - > - > ### ** Examples - > - > ## Generate an epidemiological record: - > myepirecord <- makeEpiRecord(c(1,2,3,4)) - > ## make the corresponding genealogy from this record: - > mygenealogy <- getLabGenealogy(myepirecord) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: getLabGenealogy -> makePhyloTree -> graph -> make_graph - Execution halted - ``` - -# PLEXI - -
- -* Version: 1.0.0 -* GitHub: NA -* Source code: https://github.com/cran/PLEXI -* Date/Publication: 2023-08-09 15:50:03 UTC -* Number of recursive dependencies: 73 - -Run `revdepcheck::cloud_details(, "PLEXI")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘PLEXI-Ex.R’ failed - The error most likely occurred in: - - > ### Name: as_igraph - > ### Title: Convert plexi graph data to igraph - > ### Aliases: as_igraph - > - > ### ** Examples - > - > data = example_data() - > graph = as_igraph(plexi.graph = data[["plexi_graph_example"]]) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: as_igraph -> -> make_graph - Execution halted - ``` - # rgraph6
@@ -2619,31 +795,6 @@ Run `revdepcheck::cloud_details(, "rgraph6")` for more info ## Newly broken -* checking examples ... ERROR - ``` - Running examples in ‘rgraph6-Ex.R’ failed - The error most likely occurred in: - - > ### Name: choose_format - > ### Title: Choose most efficient format heuristically - > ### Aliases: choose_format choose_format.default choose_format.list - > - > ### ** Examples - > - > # From igraph ------------------------------------------------------ - ... - + igraph::sample_gnp(n = 15, p = 0.15, directed = TRUE)) - + - + choose_format(glist) - + } - Warning: `graph.famous()` was deprecated in igraph 1.6.0. - ℹ Please use `make_graph()` instead. - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: -> make_graph - Execution halted - ``` - * checking re-building of vignette outputs ... ERROR ``` Error(s) in re-building vignettes: @@ -2663,47 +814,6 @@ Run `revdepcheck::cloud_details(, "rgraph6")` for more info Execution halted ``` -# rhcoclust - -
- -* Version: 2.0.0 -* GitHub: NA -* Source code: https://github.com/cran/rhcoclust -* Date/Publication: 2023-01-29 03:40:02 UTC -* Number of recursive dependencies: 16 - -Run `revdepcheck::cloud_details(, "rhcoclust")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘rhcoclust-Ex.R’ failed - The error most likely occurred in: - - > ### Name: rhcoclust_internet - > ### Title: Interaction network (internet) of the 'rhcoclust' objects - > ### Aliases: rhcoclust_internet - > - > ### ** Examples - > - > # Load necessary library - ... - > # Plot interaction network (internet) - > # Please use dev.off() to avoid the figure margin from previous plot - > # mar order: bottom, left, top, and right - > # please use par(mar=c(5,2,5,2)) or modify when necessary to best fit for the plot - > Netrhcoclust <- rhcoclust_internet(data, CoClustObj = CoClustObj, - + CoClust.sig = FALSE, cex.nodes = 0.7, edge.width = 1) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: rhcoclust_internet -> graph -> make_graph - Execution halted - ``` - # riverconn
@@ -2738,186 +848,6 @@ Run `revdepcheck::cloud_details(, "riverconn")` for more info Execution halted ``` -# RScelestial - -
- -* Version: 1.0.3 -* GitHub: NA -* Source code: https://github.com/cran/RScelestial -* Date/Publication: 2021-12-09 22:20:02 UTC -* Number of recursive dependencies: 45 - -Run `revdepcheck::cloud_details(, "RScelestial")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘RScelestial-Ex.R’ failed - The error most likely occurred in: - - > ### Name: scelestial - > ### Title: Infer the single-cell phylogenetic tree - > ### Aliases: scelestial - > - > ### ** Examples - > - > ## simulates tumor evolution - > S = synthesis(10, 10, 2, seed=7) - > ## convert to 10-state matrix - > seq = as.ten.state.matrix(S$seqeunce) - > ## runs the scelestial to generate 4-restricted Steiner trees. It represents the tree and graph - > SP = scelestial(seq, mink=3, maxk=4, return.graph = TRUE) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: scelestial -> -> make_graph - Execution halted - ``` - -* checking re-building of vignette outputs ... ERROR - ``` - Error(s) in re-building vignettes: - ... - --- re-building ‘RScelestial-vignette.Rmd’ using rmarkdown - - Quitting from lines 45-48 [unnamed-chunk-4] (RScelestial-vignette.Rmd) - Error: processing vignette 'RScelestial-vignette.Rmd' failed with diagnostics: - 'simplify' should only be used for graph literals - --- failed re-building ‘RScelestial-vignette.Rmd’ - - SUMMARY: processing the following file failed: - ‘RScelestial-vignette.Rmd’ - - Error: Vignette re-building failed. - Execution halted - ``` - -## In both - -* checking C++ specification ... NOTE - ``` - Specified C++11: please drop specification unless essential - ``` - -* checking installed package size ... NOTE - ``` - installed size is 5.2Mb - sub-directories of 1Mb or more: - libs 4.9Mb - ``` - -# satdad - -
- -* Version: 1.1 -* GitHub: NA -* Source code: https://github.com/cran/satdad -* Date/Publication: 2023-03-29 15:00:02 UTC -* Number of recursive dependencies: 90 - -Run `revdepcheck::cloud_details(, "satdad")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘satdad-Ex.R’ failed - The error most likely occurred in: - - > ### Name: Stock - > ### Title: Dataset. Yearly maxima of Log Returns of ten stock indices - > ### 1990-2015. - > ### Aliases: Stock - > ### Keywords: datasets - > - > ### ** Examples - ... - > - > data(Stock) - > - > ## We reproduce below Figure 7(a) of Mercadier and Roustant (2019). - > - > graphsEmp(Stock, k = 26, which = "taildependograph", names = colnames(Stock)) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: graphsEmp -> -> make_graph - Execution halted - ``` - -* checking re-building of vignette outputs ... ERROR - ``` - Error(s) in re-building vignettes: - ... - --- re-building ‘satdad.Rmd’ using rmarkdown - - Quitting from lines 234-238 [unnamed-chunk-11] (satdad.Rmd) - Error: processing vignette 'satdad.Rmd' failed with diagnostics: - 'simplify' should only be used for graph literals - --- failed re-building ‘satdad.Rmd’ - - SUMMARY: processing the following file failed: - ‘satdad.Rmd’ - - Error: Vignette re-building failed. - Execution halted - ``` - -## In both - -* checking installed package size ... NOTE - ``` - installed size is 11.0Mb - sub-directories of 1Mb or more: - doc 3.9Mb - libs 6.7Mb - ``` - -* checking Rd cross-references ... NOTE - ``` - Package unavailable to check Rd xrefs: ‘evd’ - ``` - -# ShapePattern - -
- -* Version: 3.0.1 -* GitHub: NA -* Source code: https://github.com/cran/ShapePattern -* Date/Publication: 2023-08-22 07:20:09 UTC -* Number of recursive dependencies: 36 - -Run `revdepcheck::cloud_details(, "ShapePattern")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘ShapePattern-Ex.R’ failed - The error most likely occurred in: - - > ### Name: porosity - > ### Title: Compute the porosity of raster zones (patches) - > ### Aliases: porosity - > ### Keywords: manip - > - > ### ** Examples - > - > porosity(IN=data$rst, PLOT=TRUE, NEIGH=4) - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: porosity ... components -> ensure_igraph -> -> make_graph - Execution halted - ``` - # shazam
@@ -3000,62 +930,6 @@ Run `revdepcheck::cloud_details(, "statGraph")` for more info Execution halted ``` -# SteinerNet - -
- -* Version: 3.1.0 -* GitHub: https://github.com/krashkov/SteinerNet -* Source code: https://github.com/cran/SteinerNet -* Date/Publication: 2020-09-07 09:50:08 UTC -* Number of recursive dependencies: 56 - -Run `revdepcheck::cloud_details(, "SteinerNet")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘SteinerNet-Ex.R’ failed - The error most likely occurred in: - - > ### Name: generate_st_samples - > ### Title: Select terminals - > ### Aliases: generate_st_samples - > - > ### ** Examples - > - > generate_st_samples(graph = graph("Zachary"), - + ter_number = c(3, 4), - + prob = c(0.1, 0.2)) - Warning: `graph()` was deprecated in igraph 1.6.0. - ℹ Please use `make_graph()` instead. - Error in make_graph(edges = edges, n = n, isolates = isolates, directed = directed, : - 'simplify' should only be used for graph literals - Calls: generate_st_samples ... as.undirected -> ensure_igraph -> graph -> make_graph - Execution halted - ``` - -* checking re-building of vignette outputs ... ERROR - ``` - Error(s) in re-building vignettes: - ... - --- re-building ‘tutorial.Rmd’ using rmarkdown - - Quitting from lines 49-54 [unnamed-chunk-2] (tutorial.Rmd) - Error: processing vignette 'tutorial.Rmd' failed with diagnostics: - 'simplify' should only be used for graph literals - --- failed re-building ‘tutorial.Rmd’ - - SUMMARY: processing the following file failed: - ‘tutorial.Rmd’ - - Error: Vignette re-building failed. - Execution halted - ``` - # TreeDimensionTest
@@ -3080,7 +954,7 @@ Run `revdepcheck::cloud_details(, "TreeDimensionTest")` for more info Quitting from lines 46-56 [unnamed-chunk-5] (Tutorial.Rmd) Error: processing vignette 'Tutorial.Rmd' failed with diagnostics: - 'simplify' should only be used for graph literals + At core/graph/type_indexededgelist.c:117 : Number of vertices must not be negative. Invalid value --- failed re-building ‘Tutorial.Rmd’ SUMMARY: processing the following file failed: