There's more...

You can also use the RnavGraph package to visualize high dimensional data (digits in this case) using graphs as a navigational infrastructure. For more information, please refer to http://www.icesi.edu.co/CRAN/web/packages/RnavGraph/vignettes/RnavGraph.pdf.

Here is a description of how you can use RnavGraph to visualize high dimensional data in a graph:

  1. First, install and load the RnavGraph and graph packages:
        > install.packages("RnavGraph")
        > source("http://bioconductor.org/biocLite.R")
        > biocLite("graph")
        > library(RnavGraph)  
  1. You can then create an NG_data object from the digit data:
 > digit.group = rep(c(1:9,0), each = 1100) > digit.ng_data = ng_data(name = "ISO_digits", + data = data.frame(digit.isomap$points), ...

Get Machine Learning with R Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.