Description Usage Arguments Value
histogram of graph hypothesis test
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | g_test_scalar_plot(
g_test_scalar_result,
alpha = 0.05,
breaks = 30,
col = "black",
xlim = minmax(c(g_test_scalar_result$simulated, g_test_scalar_result$observed)),
xlab = "statistic",
ylab = "frequency",
main = "Observed (compared to distribution of randomised graphs)",
sub = paste0("p <", ceiling(g_test_scalar_result$p.value * 1000)/1000,
"; assumption of normality", ifelse(g_test_scalar_result$normality.condition.met,
" ", " not "), "met"),
...
)
|
g_test_scalar_result |
result from g_test_scalar() |
alpha |
what alpha to use to plot the 'plausible range' |
... |
arguments passed to hist() |
the provided g_test_scalar_result as is. (function is only for plot side effect)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.