wawotest.default
performs a Wald Wolfowitz test of
the random distribution of the values in a vector. The function
wawotest.ltraj
performs this tests for the descriptive
parameters dx
, dy
and dist
in an object of class
ltraj
. The function wawotest
is generic.wawotest(x, ...)
## S3 method for class 'default':
wawotest(x, alter = c("greater", "less"), ...)
## S3 method for class 'ltraj':
wawotest(x, \dots)
wawotest.default
wawotest.default
returns a vector containing the value of the
statistic (a
), its esperance (ea
), its variance
(va
), the normed statistic (za
) and the
P-value. wawotest.ltraj
returns a table giving these values for
the descriptive parameters of the trajectory.indmove
and runsNAltraj
for other
tests of independence to be used with objects of class "ltraj"data(puechcirc)
puechcirc
wawotest(puechcirc)
Run the code above in your browser using DataLab