Performs the exploration of the data through the technique of animation Grand Tour.
GrandTour(data, method = "Interpolation", title = NA, xlabel = NA,
ylabel = NA, size = 1.1, grid = TRUE, color = TRUE, linlab = NA,
class = NA, classcolor = NA, posleg = 2, boxleg = TRUE,
axesvar = TRUE, axes = TRUE, numrot = 200, choicerot = NA,
savptc = FALSE, width = 3236, height = 2000, res = 300)
Graphs with rotations.
Projected data.
Vector projection.
method used on Grand Tour.
Numerical data set.
Method used for rotations:
"Interpolation" - Interpolation method (default),
"Torus" - Torus method,
"Pseudo" - Pseudo Grand Tour method.
Titles of the graphics, if not set, assumes the default text.
Names the X axis, if not set, assumes the default text.
Names the Y axis, if not set, assumes the default text.
Size of the points in the graphs.
Put grid on graphs (default = TRUE).
Colored graphics (default = TRUE).
Vector with the labels for the observations.
Vector with names of data classes.
Vector with the colors of the classes.
0 with no caption,
1 for caption in the left upper corner,
2 for caption in the right upper corner (default),
3 for caption in the right lower corner,
4 for caption in the left lower corner.
Puts the frame in the caption (default = TRUE).
Puts axes of rotation of the variables (default = TRUE).
Plots the X and Y axes (default = TRUE).
Number of rotations (default = 200). If method = "Interpolation", numrot represents the angle of rotation.
Choose specific rotation and display on the screen, or save the image if savptc = TRUE.
Saves graphics images to files (default = FALSE).
Graphics images width when savptc = TRUE (defaul = 3236).
Graphics images height when savptc = TRUE (default = 2000).
Nominal resolution in ppi of the graphics images when savptc = TRUE (default = 300).
Paulo Cesar Ossani
Marcelo Angelo Cirillo
Asimov, D. The Grand Tour: A Tool for Viewing Multidimensional data. SIAM Journal of Scientific and Statistical Computing, 6(1), 128-143, 1985.
Asimov, D.; Buja, A. The grand tour via geodesic interpolation of 2-frames. in Visual data Exploration and Analysis. Symposium on Electronic Imaging Science and Technology, IS&T/SPIE. 1994.
Buja, A.; Asimov, D. Grand tour methods: An outline. Computer Science and Statistics, 17:63-67. 1986.
Buja, A.; Cook, D.; Asimov, D.; Hurley, C. Computational methods for High-Dimensional Rotations in data Visualization, in C. R. Rao, E. J. Wegman & J. L. Solka, eds, "Handbook of Statistics: data Mining and Visualization", Elsevier/North Holland, http://www.elsevier.com, pp. 391-413. 2005.
Hurley, C.; Buja, A. Analyzing high-dimensional data with motion graphics, SIAM Journal of Scientific and Statistical Computing, 11 (6), 1193-1211. 1990.
Martinez, W. L.; Martinez, A. R.; Solka, J.; Exploratory data Analysis with MATLAB, 2th. ed. New York: Chapman & Hall/CRC, 2010. 499 p.
Young, F. W.; Rheingans P. Visualizing structure in high-dimensional multivariate data, IBM Journal of Research and Development, 35:97-107, 1991.
Young, F. W.; Faldowski R. A.; McFarlane M. M. Multivariate statistical visualization, in Handbook of Statistics, Vol 9, C. R. Rao (ed.), The Netherlands: Elsevier Science Publishers, 959-998, 1993.
data(iris) # database
res <- GrandTour(iris[,1:4], method = "Torus", title = NA, xlabel = NA, ylabel = NA,
color = TRUE, linlab = NA, class = NA, posleg = 2, boxleg = TRUE,
axesvar = TRUE, axes = FALSE, numrot = 10, choicerot = NA,
savptc = FALSE, width = 3236, height = 2000, res = 300)
print("Projected data:"); res$proj.data
print("Projection vectors:"); res$vector.opt
print("Grand Tour projection method:"); res$method
res <- GrandTour(iris[,1:4], method = "Interpolation", title = NA, xlabel = NA, ylabel = NA,
color = TRUE, linlab = NA, posleg = 2, boxleg = FALSE, axesvar = FALSE,
axes = FALSE, numrot = 10, choicerot = NA, class = iris[,5],
classcolor = c("goldenrod3","gray53","red"),savptc = FALSE,
width = 3236, height = 2000, res = 300)
print("Projected data:"); res$proj.data
print("Projection vectors:"); res$vector.opt
print("Grand Tour projection method:"); res$method
Run the code above in your browser using DataLab