From 87a9835aea074aef67e0e7f60c547129422c8092 Mon Sep 17 00:00:00 2001 From: Michal Bojanowski Date: Thu, 25 Nov 2021 11:29:47 +0100 Subject: [PATCH 1/2] Import statnet.data --- DESCRIPTION | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 8c6343e..129cbf3 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -20,7 +20,9 @@ Depends: latticeExtra Imports: sna, - RColorBrewer + RColorBrewer, + statnet.data +Remotes: github::statnet/statnet.data@master LazyData: true RoxygenNote: 7.1.1 Encoding: UTF-8 From 0322df4180064491a1360069a5e09ec1a4c0f9fd Mon Sep 17 00:00:00 2001 From: Michal Bojanowski Date: Thu, 25 Nov 2021 11:33:08 +0100 Subject: [PATCH 2/2] Update server --- inst/shiny/statnetWeb/server.R | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/inst/shiny/statnetWeb/server.R b/inst/shiny/statnetWeb/server.R index e76f888..20622c7 100644 --- a/inst/shiny/statnetWeb/server.R +++ b/inst/shiny/statnetWeb/server.R @@ -6,14 +6,14 @@ library(RColorBrewer) library(lattice) library(latticeExtra) -data(faux.mesa.high) -#data(faux.magnolia.high) too big -data(florentine) -data(sampson) -data(samplk) -#data(ecoli) causes errors with infocent -data(molecule) -data(kapferer) +data(faux.mesa.high, package="statnet.data") +#data(faux.magnolia.high, package="statnet.data") too big +data(flomarriage, flobusiness, package="statnet.data") +data(samplike, package="statnet.data") +data(samplk1, samplk2, samplk3, package="statnet.data") +#data(ecoli, package="statnet.data") causes errors with infocent +data(molecule, package="statnet.data") +data(kapferer, package="statnet.data") BRGcol <- "darkred" CUGcol <- "darkorange"