#Test for evidence of ZLA in the songs of 73 Java sparrows
#and produce a web plot to illustrate the result. In testZLA,
#"null" is set to the minimum value to make the example run
#quickly, and thus the p-values reported are likely to be
#imprecise. This will not affect the web plot, because plotZLA
#does not rely on accurate p-values or null distributions.
ZLA.object=testZLA(Java.sparrow.notes, null = 99)
plotZLA(ZLA.object, ylab = "duration (ms)", x.scale = "linear")
Run the code above in your browser using DataLab