-
Notifications
You must be signed in to change notification settings - Fork 22
/
README.Rmd
49 lines (34 loc) · 1.35 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
title: "tourr: tour methods for multivariate data visualisation"
author: "Hadley Wickham, Di Cook, Nick Spyrison, Ursula Laa, H. Sherry Zhang, Stuart Lee"
date: "<br> `r format(Sys.time(), '%B %d, %Y')`"
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# tourr <img src="man/figures/logo.png" align="right" width="150" />
The goal of tourr is to explore shapes of high-dimensional data. This code also allows new tour methods to be created that utilise geodesic interpolation and basis generation functions.
## Installation
You can install the released version of tourr from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("tourr")
```
You can install the development version of tourr from github with:
``` r
# install.packages("remotes")
remotes::install_github("ggobi/tourr")
```
## Example
To run a tour in R, use one of the animate functions. This code will show a 2D tour displayed as a scatterplot on a 6D data set with three labelled classes.
``` r
animate_xy(flea[,-7], col=flea$species)
```
## Resources
The best place to get started is the [Journal of Statistical Software paper](https://www.jstatsoft.org/article/view/v040i02).