runShiny_general: Run Shiny App for Any Dataset

Description Usage Arguments Value Examples

View source: R/runShiny.R

Description

Opens shiny app for any suitable dataset. Number of eigenvectors is limited to 400. Functions: 1. Display any image of the dataset. 2. Reconstruct this image with an amount of eigenvectors of your choice. 3. Display the first 400 eigenvectors.

Usage

1

Arguments

td

Object of class imageset_ef. Training data.

Value

Command to open shiny app.

Examples

1
2
3
4
5
6
7
# Opens Shiny App for (e.g.) MNIST Dataset
## Not run: 
mnist <- system.file("extdata","mnist_X.csv",package="eigenfaces")
td <- load_imageset_ef(mnist, c(28,28))
runShiny_general(td)

## End(Not run)

Osburg/eigenfaces documentation built on Aug. 26, 2020, 4:41 p.m.