Learn R Programming

groupedHyperframe (version 0.3.4)

kmeans_etc: Pseudo S3 Methods based on kmeans

Description

Pseudo S3 Methods based on kmeans

Usage

kmeans.ppp(
  x,
  formula,
  centers = as.integer(ceiling((x[["n"]]/clusterSize))),
  clusterSize,
  ...
)

kmeans.ppplist(x, ...)

kmeans.hyperframe(x, ...)

Value

Function kmeans.ppp() returns an object of class 'pppkm', which inherits from ppp.object.

Function kmeans.ppplist() returns an object of class 'pppkmlist', which inherits from 'ppplist'.

Arguments

x

see Usage

formula

formula

centers

integer scalar, number of clusters \(k\), see function kmeans

clusterSize

integer scalar, number of points per cluster

...

additional parameters of function kmeans