g_test_scalar_plot: 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
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"),
  ...
)

Arguments

g_test_scalar_result

result from g_test_scalar()

alpha

what alpha to use to plot the 'plausible range'

...

arguments passed to hist()

Value

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


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