#---------------------------------------------------------------# # R in Action (2nd ed): Chapter 6 # # Basic graphs # # requires packages vcd, plotrix, sm, vioplot to be installed # # install.packages(c("vcd", "plotrix", "sm"…
#---------------------------------------------------------------# # R in Action (2nd ed): Chapter 6 # # Basic graphs # # requires packages vcd, plotrix, sm, vioplot to be installed # # install.packages(c("vcd", "plotrix", "sm"…
#-----------------------------------# # R in Action (2nd ed): Chapter 5 # # Advanced data management # # requires that the reshape2 # # package has been installed # # install.packages("reshape2") # #-----------------------------------# # Class R…
#---------------------------------------------------------# # R in Action (2nd ed): Chapter 4 # # Basic data management # # requires that the reshape2 and sqldf packages have # # been installed # # install.packages(c('reshape2', 'sqldf')) # #--------…
#----------------------------------------------# # R in Action (2nd ed): Chapter 13 # # Generalized linear models # # requires packages AER, robust, gcc # # install.packages(c("AER", "robust", "gcc")) # #---------------------…
#------------------------------------------------------------------------------------# # R in Action (2nd ed): Chapter 11 # # Intermediate graphs # # requires packages car, scatterplot3d, gclus, hexbin, IDPmisc, Hmisc, # # corrgram, vcd, rlg to be in…
#------------------------------------------------------------------------------------# # R in Action (2nd ed): Chapter 11 # # Intermediate graphs # # requires packages car, scatterplot3d, gclus, hexbin, IDPmisc, Hmisc, # # corrgram, vcd, rlg to be in…
#----------------------------------------# # R in Action (2nd ed): Chapter 10 # # Power analysis # # requires packages pwr to be installed # # install.packages("pwr") # #----------------------------------------# par(ask=TRUE) library(pwr) # t te…
#---------------------------------------------------------------------# # R in Action (2nd ed): Chapter 7 # # Basic statistics # # requires packages npmc, ggm, gmodels, vcd, Hmisc, # # pastecs, psych, doBy to be installed # # install.packages(c("ggm&…
#---------------------------------------------------------------# # R in Action (2nd ed): Chapter 6 # # Basic graphs # # requires packages vcd, plotrix, sm, vioplot to be installed # # install.packages(c("vcd", "plotrix", "sm"…