Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daranzolin/pinpoint
Interactively explore points within a distribution :pushpin:
https://github.com/daranzolin/pinpoint
data-visualization htmlwidgets rstats
Last synced: about 2 months ago
JSON representation
Interactively explore points within a distribution :pushpin:
- Host: GitHub
- URL: https://github.com/daranzolin/pinpoint
- Owner: daranzolin
- License: other
- Created: 2019-08-14T21:50:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-29T03:45:07.000Z (over 5 years ago)
- Last Synced: 2024-07-29T19:26:15.658Z (6 months ago)
- Topics: data-visualization, htmlwidgets, rstats
- Language: JavaScript
- Homepage:
- Size: 3.85 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - daranzolin/pinpoint - Interactively explore points within a distribution :pushpin: (JavaScript)
README
---
output: github_document
---```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```[![Travis build status](https://travis-ci.org/daranzolin/pinpoint.svg?branch=master)](https://travis-ci.org/daranzolin/pinpoint)
![CRAN log](http://www.r-pkg.org/badges/version/pinpoint)## pinpoint
The goal of pinpoint is to help users explore their smallish data across a single axis. There are many ways to study a distribution--histograms, box plots, density plots, etc.--but `pinpoint` lets you see the proverbial trees from the forest.
### Installation
You can install the released version of pinpoint from GitHub with:
``` r
library(remotes)
install_github("daranzolin/pinpoint")
```### Example
[A comprehensive introduction to the package can be viewed here.](http://rpubs.com/daranzolin/pinpoint_intro)
```{r eval=FALSE}
library(pinpoint)
library(magrittr)
mtcars$name <- rownames(mtcars)
mtcars %>%
pinpoint(x = mpg,
fill = cyl,
tooltip = name,
compare_to = "diff_from_mean",
title = "MPG by Cylinder") %>%
pp_style(jitter_width = 60,
number_format = ".2")
```![](inst/example1.gif)
### Future work
* Compare z-scores
* Multiple levels?
* Additional styling