A spectral clustering example

This is an R Markdown document that could be rendered under a Docker container using liftr. The document requires the specc() function in the kernlab package from CRAN to perform a simple spectral clustering:

library("kernlab")
data(spirals)
set.seed(42)
sc = specc(spirals, centers = 2)
print(sc)
plot(spirals, col = sc)

Options of liftr in this document

The document front-matter metadata includes the options for liftr, which is used for dockerizing the document:

rmarkdown::metadata$liftr

Session information

The R session information for compiling this document is shown below.

sessionInfo()


nanxstats/liftr documentation built on March 12, 2024, 7:36 a.m.