View source: R/plot_avg_TEFI.R
| plot_avg_TEFI | R Documentation |
Plots median TEFI values across different sample sizes, algorithms, and correlation methods.
plot_avg_TEFI(results)
results |
Data frame from boot_and_evaluate with TEFI values. |
A ggplot object showing TEFI trends.
# A small table with the structure returned by boot_and_evaluate()
set.seed(1)
res <- expand.grid(Algorithm = c("louvain", "walktrap"),
Correlation_Method = c("pearson", "spearman"),
Sample_Size = c(100, 250, 500), Simulation = 1:5,
stringsAsFactors = FALSE)
res$TEFI <- rnorm(nrow(res), -5, 0.3)
plot_avg_TEFI(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.