dataSQUARE0: Example data file

Description Usage Format Details References Examples

Description

Simulated data for SPODT functions. To assess the SpODT algorithm to detect a rotated square shape situation: No cluster situation.

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
11
12
13
data(dataSQUARE0)
dataset<-dataSQUARE0
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)

#the warning "root is a leaf" tells that no split can be provided by the
    #spodt function according to the splitting parameters

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