Learn R Programming

graphscan (version 1.1.1)

barplot: Barplot of the 1D clusters lengths.

Description

This function draws a barplot of the total length of the 1D clusters for each events serie among several events series of same length and aligned. The barplot is expressed in frequencies of different percent ranges of the event series length detected as positive, resp. negative, cluster.

Usage

barplot(height,...)

Arguments

height
a graphscan object containing 1D cluster analysis.
...
arguments to be passed to methods.

References

Cucala, L. 2008. A hypothesis-free multiple scan statistic with variable window, Biometrical Journal, 2, p. 299-310.

Cucala, L. 2009. A flexible spatial scan test for case event data, Computational Statistics and Data Analysis, 53, p. 2843-2850.

See Also

graphscan_plot

Examples

Run this code
## Not run: 
# dna_file<-list.files(path=system.file("extdata",package="graphscan"),
#  pattern="fna",full.names=TRUE)
# g1<-graphscan_1d(data=dna_file)
# g1<-cluster(g1)
# barplot(g1)
# ## End(Not run)

Run the code above in your browser using DataLab