cluster(gr, n_simulation = NULL, cluster_analysis = NULL,
memory_size = 2000)Cucala, L. 2009. A flexible spatial scan test for case event data, Computational Statistics and Data Analysis, 53, p. 2843-2850.
## Not run:
# # 1d example with 2 fasta format files
# # containing each 2 DNA aligned sequences.
# dna_file<-list.files(path=system.file("extdata",package="graphscan"),
# pattern="fna",full.names=TRUE)
# g1<-graphscan_1d(data=dna_file)
# g1<-cluster(g1)
#
# # 2d example
# data(france_two_clusters)
# g3<-graphscan_nd(data=france_two_clusters)
# g3<-cluster(g3)
# graphscan_plot(g3,map=france)
# ## End(Not run)
Run the code above in your browser using DataLab