Learn R Programming

kml (version 2.1.2)

ParKml-class: ~ Class: "ParKml" ~

Description

ParKml is an object containing some parameter used by kml.

Arguments

Examples

Run this code
### Building data
myCld <- gald()

### Standard kml
kml(myCld,,3,toPlot="both")

### Using median instead of mean
parWithMedian <- parALGO(centerMethod=function(x){median(x,na.rm=TRUE)})
kml(myCld,,3,toPlot="both",parAlgo=parWithMedian)

### Using distance max
parWithMax <- parALGO(distanceName="maximum")
kml(myCld,,3,toPlot="both",parAlgo=parWithMax)

Run the code above in your browser using DataLab