Description Usage Arguments Details Value Note Author(s) References See Also Examples
An interactive version of the scaggrams from function scaggram
programmed with the package shiny. Selections within the scaggram can be made by clicking or brushing. A selection implies drawing the corresponding scatterplot(s).
1 | iascaggram(sdfdata)
|
sdfdata |
A list of class |
Reordering is done with the functions sdf_sort
(options 'Use all scagnostics' and 'Use only chosen scagnostics') or sdf_quicksort
(option 'Quick'). The glyphs drawn by choosing option 'add -> glyphs' represent all given scagnostics.
A shiny app object.
The scagnostics need to lie between 0 and 1.
sdf_sort
can be very slow for data sets with a huge number of variables. Use Option 'Quick' in this case for a fast reordering or use sdf_sort
(with a time limit if necessary) before starting the interactive app.
Adding scatterplots or glyphs is only advisable for a small number of variables.
Katrin Grimm
W. Chang, J. Cheng, J. Allaire, Y. Xie and J. McPherson (2016) shiny: Web Application Framework for R. https://cran.r-project.org/package=shiny.
scaggram
, sdf
, scag2sdf
, sdf_sort
,
sdf_quicksort
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
data(Election2005)
# some demographic/economic variables
sdfdata1 <- sdf(Election2005[,5:40])
iascaggram(sdfdata1)
# another smaller subset (for example to explore the glyphs in the scaggram)
sdfdata2 <- sdf(Election2005[,5:19])
iascaggram(sdfdata2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.