g_plot_hypothesis_test: histogram of graph hypothesis test

Description Usage Arguments Value

Description

histogram of graph hypothesis test

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
g_plot_hypothesis_test(
  g_hypothesis_test_scalar_statistic_result,
  alpha = 0.05,
  breaks = 30,
  col = "black",
  xlim = minmax(c(g_hypothesis_test_scalar_statistic_result$simulated,
    g_hypothesis_test_scalar_statistic_result$observed)),
  xlab = "statistic",
  ylab = "frequency",
  main = "degree variance (compared to randomised graphs)",
  sub = paste0("p <", ceiling(g_hypothesis_test_scalar_statistic_result$p.value *
    1000)/1000, "; assumption of normality",
    ifelse(g_hypothesis_test_scalar_statistic_result$normality.condition.met, " ",
    " not "), "met"),
  ...
)

Arguments

g_hypothesis_test_scalar_statistic_result

result from g_hypothesis_test_scalar_statistic()

alpha

what alpha to use to plot the 'plausible range'

...

arguments passed to hist()

Value

the provided g_hypothesis_test_scalar_statistic_result as is. (function is only for plot side effect)


mabafaba/apatternlanguage documentation built on Jan. 1, 2021, 8:28 a.m.