shinypairs: Shiny interface to the pairsD3 function

View source: R/shinypairs.R

shinypairsR Documentation

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

data(iris)
## Not run: 
shinypairs(iris)

## End(Not run)


pairsD3 documentation built on June 7, 2022, 1:09 a.m.