dataBALL2: Example data file

Description Usage Format Details References Examples

Description

Simulated data for SPODT functions. To assess the SpODT algorithm to detect a ball shape situation: Clustered data with very high values outside a ball shape.

Usage

1

Format

A data frame with 300 observations on the following 4 variables (300 locations).

i

a numeric vector

x

a numeric vector

y

a numeric vector

z

a numeric vector

Details

References

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(dataBALL2)
dataset<-dataBALL2
coordinates(dataset)<-c("x","y")
#coordinates are planar ones
#Example : split the area without covariable analysis
sp<-spodt(dataset@data$z~1, dataset, weight=FALSE, graft=0.2)

ssp<-spodtSpatialLines(sp,dataset)
plot(ssp)
points(dataset,cex=dataset@data$z)

SPODT documentation built on May 2, 2019, 9:43 a.m.