-
Notifications
You must be signed in to change notification settings - Fork 2
Description
The example below is code for comparing robustness between network plots in a nature preserve and network plots on adjacent land of neighbors. In this situation the confidence intervals provide evidence that the neighbor plots are more robust than the preserve plots, particularly when considering the higher level (pollinators). I am curious if I could take this a step further and implement a test statistic based on the confidence intervals generated or another type of statistical test. Sample size is a limitation for the specific example I provide, but I am interested in any recommendations based on the example provided or future analysis where I compare the preserve plots in 2021 (n=32) to preserve plots from 2016 (n=32).
Where "preserve" (n=32) and "neighbor" (n=8) are matrices of plant-pollinator interactions across different plots
robust.compare <- list(Preserve.Plots = preserve, Neighbor.Plots = neighbor) %>%
lapply(web_matrix_to_df) %>%
boot_networklevel(col_lower = "lower",
col_higher = "higher",
index = "robustness",
level = "both",
start = 50,
step = 20,
n_boot = 50,
n_cpu = 3)
robust_graph<- gg_networklevel(robust.compare)
robust_graph
