kmeans_etc: Pseudo 'S3' Methods based on kmeans

kmeans_etcR Documentation

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, ...)

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 the function kmeans

Value

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

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

References

https://tingtingzhan.quarto.pub/groupedhyperframe/topics.html


groupedHyperframe documentation built on March 10, 2026, 5:08 p.m.