Skip to content
Interactively explore points within a distribution 📌
JavaScript R CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
inst
man
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
LICENSE
LICENSE.md
NAMESPACE
README.Rmd
README.md
pinpoint.Rproj

README.md

Travis build status CRAN log

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:

library(remotes)
install_github("daranzolin/pinpoint")

Example

A comprehensive introduction to the package can be viewed here.

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")

Future work

  • Compare z-scores
  • Multiple levels?
  • Additional styling
You can’t perform that action at this time.