cordillera (version 0.8-0)

cordillera-package: cordillera: The OPTICS Cordillera

Description

A package for calculating the OPTICS Cordillera. The package contains various functions, methods and classes for calculating and plotting the OPTICS Cordillera and an interface to ELKI's OPTICS.

Arguments

Details

The stops package provides these main functions:

  • cordillera() ... OPTICS Cordillera using dbscan OPTICS implementation

  • e_cordillera()... ... OPTICS Cordillera using ELKI's OPTICS implementation

  • e_optics() ... An interface to ELKI's implementation of OPTICS

Methods: For most of the objects returned by the high-level functions S3 classes and methods for standard generics were implemented, including print, summary, plot.

References:

Authors: Thomas Rusch

Maintainer: Thomas Rusch

Examples

Run this code
data(CAClimateIndicatorsCountyMedian)

res<-princomp(CAClimateIndicatorsCountyMedian[,3:52])
res
summary(res)

library(scatterplot3d)
scatterplot3d(res$scores[,1:3])

irisrep3d<-res$scores[,1:3]
irisrep2d<-res$scores[,1:2]


#OPTICS in dbscan version
library(dbscan)
ores<-optics(irisrep2d,minPts=15,eps=100)
plot(ores)
#OPTICS cordillera for the 2D representation
cres2d<-cordillera(irisrep2d,minpts=15)
cres2d
summary(cres2d)
plot(cres2d)

#OPTICS cordillera for the 3D representation
cres3d<-cordillera(irisrep3d,minpts=15)
cres3d
summary(cres3d)
plot(cres3d)

# \donttest{
#OPTICS in ELKI version
ores<-e_optics(irisrep2d,minpts=10,epsilon=100)
ores
summary(ores)
plot(ores)
# }

Run the code above in your browser using DataLab