plotSUR_hist | R Documentation |
Surrogate Test
plotSUR_hist(
surrogateValues,
observedValue,
sides = c("two.sided", "greater", "less")[1],
binWidth = NULL,
measureName = "",
title = "",
doPlot = TRUE,
returnOnlyPvalue = FALSE
)
surrogateValues |
Vector of measures based on surrogate time series |
observedValue |
The measure obtained from the observed value |
sides |
Is this a 1 or 2-sided test (default = |
binWidth |
The size of the histogram bins. The default is to look for the max. number of digits and set the width to |
measureName |
Label for x-axis |
title |
A title for the plot |
doPlot |
Plot a histogram of the distribution (default = |
returnOnlyPvalue |
Do not return the graph, just the point p-value (default = alpha Significance threshold for the test. This value is currently calculated from the data as |
A point p-value for the observed value, and/or a histogram of the distribution (ggplot2
object).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.