Upgrade to Pro — share decks privately, control downloads, hide ads and more …

TokyoR extra #1

dichika
April 18, 2014

TokyoR extra #1

Lightning talk

dichika

April 18, 2014
Tweet

More Decks by dichika

Other Decks in Programming

Transcript

  1. シリーズRで可視化#1   ggplot2と   googleVisと   hwriterで   レポートを作る  

             @dichika   This  is  the  evidence
  2. Me •  Daisuke  Ichikawa   •  First  year  of  the

     doctoral  course  of  University   of  Tokyo   •  Major  :  Social  medicine   •  Research  interest  :  Mo-va-on  for  health   •  daisukeichikawa.blogspot.com  
  3. But  analysis  is  a  silent  task •  R  doesn't  say

     any  words   •  Just  send  text  messages   •  You  get  rewards  from  just  reading  messages   from  your  R   Difficult  to  keep  our  mo-va-on  
  4. Solu-ons •  Take  a  nap   – Great,  but  can  you

     do  it?   •  Listen  to  music   – OK,  music  could  make  us  relaxed   – But  it  doesn't  pull  up  our  mo-va-on  for  analysis   directly   •  How  should  we  do?
  5. I  have  developed  two  packages •  yeah   •  pings

      – both  packages  are  based  on  pingr  package
  6. yeah  package •  You  can  hear  the  author's  voice  of

     packages   •  Includes    two  func-ons   – libraryy  :  load  package  and  sound   – yeah  :  just  sound  
  7. pings  package •  Counts  the  number  of  chain  operators  and

      make  a  sound   •  Chain  operators  are  included  in  some  libs   – dplyr  %.%   – magri_r  %>%   •  With  chain  operators,  you  don't  need  to  use   make  temporary  objects  for  acquiring  the  final   result  
  8. example library(yeah)   libraryy(pings)    #  My  voice   libraryy(dplyr)

       #  No  voice   pings(mtcars  %.%                          filter(am==1)  %.%                        group_by(gear)  %.%                          summarise(avg_wt  =  mean(wt))                          )
  9. Conclusion •  Difficult  to  keep  mo-va-on  during  analysis    

    •  yeah  and  pings  might  be  helpful   •  You  can  install  both  from  github   – h_ps://github.com/dichika/yeah