powered by
Perform a runs test on the input data to test for clustering or randomness.
oruns_test(x)
an r4pde.oruns object.
r4pde.oruns
An r4pde.oruns object is a list containing:
list
U, number of runs,
EU, expected number of runs,
sU, standard deviation of the expected number of runs
Z, Z-score of the observed number of runs,
pvalue, the p-value of the Z-score, and
result, the test result of either "aggregation or clustering" or "randomness"
A numeric vector representing the input data
Other Spatial analysis: AFSD(), BPL(), count_subareas(), count_subareas_random(), fit_gradients(), join_count(), oruns_test_boustrophedon(), oruns_test_byrowcol(), plot_AFSD()
AFSD()
BPL()
count_subareas()
count_subareas_random()
fit_gradients()
join_count()
oruns_test_boustrophedon()
oruns_test_byrowcol()
plot_AFSD()
oruns_test(c(1, 0, 1, 1, 0, 1, 0, 0, 1, 1))
Run the code above in your browser using DataLab