Learn R Programming

smvgraph (version 0.1.2)

spairs: spairs

Description

Shiny app for creating a scatterplot matrix with interactive variable selection.

Usage

spairs(data, xvar = character(0), ...)

Arguments

data

matrix or data.frame

xvar

character: names of selected variables for the plot

...

further parameters given to graphics::pairs()

Value

nothing

Examples

Run this code
# NOT RUN {
if (interactive()) spairs(iris, col=as.factor(iris$Species))
# }

Run the code above in your browser using DataLab