Introduction to


a Graphical User Interface for

 2012-10-29 @HSPH
Kazuki Yoshida, M.D.
  MPH-CLE student


                                 FREEDOM
                                 TO	
  KNOW
Group Website is at:
http://rpubs.com/kaz_yos/useR_at_HSPH


          google for user@hsph
Previously in this group
n   Introduction

n   Reading Data into R (1)

n   Reading Data into R (2)

n   Descriptive, continuous

n   Descriptive, categorical
Menu


n   Categorical data

n   How to summarize
Ingredients
         Statistics                 Programming
n   Summary statistics for   n   None
     continuous data

n   Summary statistics for
     categorical data
Learning
  a new
   L




language
 is hard
R Commander:                                                   EZR:
  http://socserv.mcmaster.ca/jfox/Misc/Rcmdr/   http://www.jichi.ac.jp/saitama-sct/SaitamaHP.files/statmedEN.html




                             Lack of
                            standard
                              GUI
     Deducer:
http://www.deducer.org/
RStudio editor




               http://rstudio.org




Fully functional                    Not GUI
EZR (modification of R Commander GUI)




   http://www.jichi.ac.jp/saitama-sct/SaitamaHP.files/
                    statmedEN.html




Focus on medical research     Still in early development
Deducer GUI




                http://www.deducer.org




Point & Click user interface.   Functions not extensive
Let’s install
Install
   Deducer
DeducerSurvival
Download JGR




                    JGR for Mac:
 http://rforge.net/JGR/web-files/JGR-1.6-SL.dmg

               JGR for Win (32bit):
   http://rforge.net/JGR/web-files/jgr-1_62.exe
Choose your folder
Package Manager to
choose packages to load
Turn on
   Deducer
DeducerSurvival
Mac only: Preferences again




Turn off. It’s buggy
Additional menus in place !
Load
 vcd
package
Data Viewer for
                                   overview of dataset


                                then




library(vcd) [then hit enter]
Frequencies for
categorical variables
Frequencies for categorical data
Summary for
continuous variables
Reading Excel data
Rosner’s   http://www.cengage.com/cgi-wadsworth/course_products_wp.pl?
dataset             fid=M20bI&product_isbn_issn=9780538733496
Convert a variable to factor (categorical)
Graphs
Add smooth
Grouping by zyg
Grouping by zyg
Introduction to Deducer
Introduction to Deducer

Introduction to Deducer