A Minimal Example for liftr

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()


Try the liftr package in your browser

Any scripts or data that you put into this service are public.

liftr documentation built on June 19, 2019, 9:03 a.m.