Learn R Programming

xpose4 (version 4.5.0)

randtest.hist: Function to create a histogram of results from the randomization test tool (randtest) in http://psn.sf.net{PsN}

Description

Reads results from the randtest tool in http://psn.sf.net{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 http://psn.sf.net{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

Value

  • Returns a plot object.

References

http://psn.sf.net{PsN}

See Also

xpose.plot.histogram, xpose.panel.histogram, histogram and other lattice-package functions.

Examples

Run this code
randtest.hist(results.file="randtest_dir1/raw_results_run1.csv",df=2)

Run the code above in your browser using DataLab