vrmlgen-package {vrmlgen} | R Documentation |
vrmlgen translates numerical data into 3-dimensional representations in the Virtual Reality Markup Language (VRML). Supported visualization methods are 3D scatter plots, meshes, bar charts, graphs and density estimation contour surfaces.
Package: | vrmlgen |
Type: | Package |
Version: | 1.0 |
Date: | 2009-03-16 |
License: | GNU General Public License |
LazyLoad: | yes |
Enrico Glaab
e.glaab@cs.nott.ac.uk
# create 33x3 matix with random 3D input data mat <- matrix(runif(99, 0, 3), ncol=3) # create random class assignment vector with three classes y <- round(runif(33, 0, 2)) y <- ifelse(y == 0, "class 1", ifelse(y == 1, "class 2", "class 3")) # create ouput using numbers from 1 to length(y) as metalabels vcloud(mat, y, col.axis="black", col.lab="blue", col.bg="white")