Learn R Programming

pairsD3 (version 0.1.3)

shinypairs: Shiny interface to the pairsD3 function

Description

Opens a shiny GUI to facilitate interaction with the pairsD3 function

Usage

shinypairs(x, group = NULL, subset = NULL, labels = NULL)

Arguments

x

the coordinates of points given as numeric columns of a matrix or data frame. Logical and factor columns are converted to numeric in the same way that data.matrix does.

group

a optional vector specifying the group each observation belongs to. Used for tooltips and colouring the observations.

subset

an optional vector specifying a subset of observations to be used for plotting. Useful when you have a large number of observations, you can specify a random subset.

labels

the names of the variables (column names of x used by default).

Examples

Run this code
# NOT RUN {
data(iris)
# }
# NOT RUN {
shinypairs(iris)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab