Learn R Programming

SPODT (version 0.9-1)

dataCOV: Example data file

Description

Simulated data for SPODT functions. To assess the SpODT algorithm to detect 6 situations evoluting through time: rotated square cluster (2 situations), no cluster (2 situations), and V-border shapes (2 situations).

Usage

data(dataCOV)

Arguments

Format

A data frame with 1800 observations on the following 6 variables (300 locations).
i
a numeric vector
x
a numeric vector
y
a numeric vector
z
a numeric vector
V1
a numeric vector
V2
a factor with levels ("sq2", "sq1.5", "sq0", "v0", "v1.5", "v2")

Details

  • i: identification of each localization.

  • x: longitudinal coordinate.

  • y: latitudinal coordinate.

  • z: the dependant variable.

  • V1: a numeric cofactor (1 to 6) to be split according to a non oblique algorithm.

  • V2: a qualitative variable to be split according to a non oblique algorithm (6 levels).

References

  • Gaudart J, Graffeo N, Coulibaly D, Barbet G, Rebaudet S, Dessay N, Doumbo O, Giorgi R. SPODT: An R Package to Perform Spatial Partitioning. Journal of Statistical Software 2015;63(16):1-23. http://www.jstatsoft.org/v63/i16/
  • Gaudart J, Poudiougou B, Ranque S, Doumbo O. Oblique decision trees for spatial pattern detection: optimal algorithm and application to malaria risk. BMC Medical Research Methodology 2005;5:22
  • Gaudart J, Giorgi R, Poudiougou B, Toure O, Ranque S, Doumbo O, Demongeot J. Detection de clusters spatiaux sans point source predefini: utilisation de cinq methodes et comparaison de leurs resultats. Revue d'Epidemiologie et de Sante Publique 2007;55(4):297-306
  • Fichet B, Gaudart J, Giusiano B. Bivariate CART with oblique regression trees. International conference of Data Science and Classification, International Federation of Classification Societies, Ljubljana, Slovenia, July 2006.

Examples

Run this code
#data(dataCOV)
#dataset<-dataCOV
#coordinates(dataset)<-c("x","y")
#coordinates are planar ones
#Example : split the area with a covariable analysis
#sp<-spodt(dataset@data$z~V1, dataset, weight=FALSE, graft=0, 
#         min.ch=150, min.parent=200, level.max=3, rtwo.min=0.15)
#spodt.tree(sp)

Run the code above in your browser using DataLab