shinypairs | R Documentation |
Opens a shiny GUI to facilitate interaction with the pairsD3 function
shinypairs(x, group = NULL, subset = NULL, labels = NULL)
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 |
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 |
data(iris) ## Not run: shinypairs(iris) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.