README.md

thinkR

the peep function allow you to "have a look" inside a dplyr workflow

library(thinkr)
library(dplyr)
data(iris)
iris %>% peep(head,summary) %>% plot
iris %>% peep_("head","summary") %>% plot
iris %>% peep(funs(head(.,n=2),summary(.,maxsum=2))) %>% plot
iris %>% peep(funs(summary(.,maxsum=2))) %>% plot

clean_names allow to cean dirty names

library(thinkr)
library(dplyr)
data(iris)

iris %>% head
iris %>% clean_names() %>% head
iris %>% clean_names() %>% head

Installation

# install.packages("devtools")
devtools::install_github("ThinkRstat/ThinkR")


ThinkR-open/ThinkR documentation built on July 4, 2018, 12:17 p.m.