Description Usage Arguments Details Value Author(s) References See Also Examples
Performs the runs test for randomness \insertCiteMendenhall_Reinmuth_1982lawstat.
Users can choose whether to plot the
correlation graph or not, and whether to test against two-sided, negative,
or positive correlation. NA
s from the data are omitted.
1 2 3 4 5 |
y |
a numeric vector of data values. |
plot.it |
logical. If |
alternative |
a character string specifying the alternative hypothesis,
must be one of |
On the graph, observations that are less than the sample median are represented by red letters "A", and observations that are greater or equal to the sample median are represented by blue letters "B".
A list of class "htest"
with the following components:
statistic |
the value of the standardized runs statistic. |
p.value |
the p-value for the test. |
data.name |
a character string giving the names of the data. |
alternative |
a character string describing the alternative hypothesis. |
Wallace Hui, Yulia R. Gel, Joseph L. Gastwirth, Weiwen Miao
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.