Skip to contents

Reads results from the randtest tool in PsN and then creates a histogram.

Usage

randtest.hist(
  results.file = "raw_results_run1.csv",
  df = 1,
  p.val = 0.05,
  main = "Default",
  xlim = NULL,
  PCTSlcol = "black",
  vlcol = c("red", "orange"),
  ...
)

Arguments

results.file

The location of the results file from the randtest tool in PsN

df

The degrees of freedom between the full and reduced model used in the randomization test.

p.val

The p-value you would like to use.

main

The title of the plot.

xlim

The limits of the x-axis

PCTSlcol

Color of the empirical line

vlcol

Colors of the original and nominal line

...

Additional arguments that can be passed to xpose.plot.histogram, xpose.panel.histogram, histogram and other lattice-package functions.

Value

A lattice object

References

PsN

Author

Andrew Hooker

Examples


if (FALSE) {
randtest.hist(results.file="randtest_dir1/raw_results_run1.csv",df=2)
}