powered by
Shiny app for creating a scatterplot matrix with interactive variable selection.
spairs(data, xvar = character(0), ...)
matrix or data.frame
character: names of selected variables for the plot
further parameters given to graphics::pairs()
graphics::pairs()
nothing
# NOT RUN { if (interactive()) spairs(iris, col=as.factor(iris$Species)) # }
Run the code above in your browser using DataLab