Manual Tours, Manual Control of Dynamic Projections of Numeric Multivariate Data

Generates the path for manual tours ['Cook' & 'Buja' (1997) ]. Tours are generally available in the 'tourr' package ['Wickham' 'et' 'al.' (2011) ]. The grand tour is an algorithm that shows all possible projections given sufficient time. Guided uses projection pursuit to steer the tour towards interesting projections. The 'spinifex' package implements manual control, where the contribution of a selected variable can be adjusted between -1 to 1, to examine the sensitivity of structure in the data to that variable. The result is an animation where the variable is toured into and out of the projection completely, which can be rendered using the 'gganimate' and 'plotly' packages.


Travis build status

Scope

Tours are a class of dynamic linear projection techniques that extend the viewing (of data-space) for numeric multivariate data as the dimensionality increases.

Description

Function that generate the path for manual tours. Tours are generally available in the tourr package. The grand tour is an algorithm that shows all possible projections given sufficient time. Guided uses projection pursuit to steer the tour towards interesting projections. The spinifex package implements manual control, where the contribution of a selected variable can be adjusted between -1 to 1, to examine the sensitivity of structure in the data to that variable. The result is an animation where the variable is toured into and out of the projection completely, which can be rendered using the 'gganimate' and 'plotly' packages.

Installation

You can install naniar from CRAN:

install.packages("spinifex")

Or you can install the development version on github using remotes:

remotes::install_github("nspyrison/spinifex")

bug reports/requests

Please submit all bug reports, errors, and feature requests to https://github.com/nspyrison/spinifex/issues

News

spinifex 0.1.0

Initial submission to CRAN.

Primary functions

  • play_tour_path()
  • play_manual_tour()

util functions

-view_basis() -view_manip_space()

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("spinifex")

0.1.0 by Nicholas Spyrison, 5 months ago


https://github.com/nspyrison/spinifex/


Report a bug at https://github.com/nspyrison/spinifex/issues


Browse source code at https://github.com/cran/spinifex


Authors: Nicholas Spyrison [aut, cre] , Dianne Cook [aut, ths]


Documentation:   PDF Manual  


GPL-3 license


Imports dplyr, GGally, ggplot2, plotly, tibble, webshot

Depends on tourr

Suggests gganimate, gifski, knitr, png, rmarkdown, RColorBrewer


See at CRAN