{"id":239,"date":"2014-02-18T01:45:21","date_gmt":"2014-02-18T01:45:21","guid":{"rendered":"http:\/\/kktg.net\/sgr\/?page_id=239"},"modified":"2014-04-28T20:03:37","modified_gmt":"2014-04-29T01:03:37","slug":"full-contents","status":"publish","type":"page","link":"https:\/\/kktg.net\/sgr\/sgr-about\/full-contents\/","title":{"rendered":"Full Table of Contents"},"content":{"rendered":"<h1>A Survivor&#8217;s Guide to R<\/h1>\n<p style=\"padding-left: 30px;\">The Author<\/p>\n<p style=\"padding-left: 30px;\">Preface<\/p>\n<p style=\"padding-left: 30px;\">Acknowledgements<\/p>\n<p style=\"padding-left: 30px;\">Summary Table of Contents<\/p>\n<p style=\"padding-left: 30px;\">Full Table of Contents<\/p>\n<p style=\"padding-left: 30px;\">Tables<\/p>\n<p style=\"padding-left: 30px;\">Figures<\/p>\n<h2>Chapter 1 Getting started<\/h2>\n<p style=\"padding-left: 30px;\">1.1 Things your statistics class probably won&#8217;t teach you<br \/>\n1.2 Why R?<br \/>\n1.3 Statistical modeling<br \/>\n1.4 A few R basics<br \/>\n1.4a Running R and inputting commands<br \/>\n1.4b Comments<br \/>\n1.4c Command conventions<br \/>\n1.4d Parentheses ( ), brackets [ ], braces { }<br \/>\n1.4e Comparison operators<br \/>\n1.5 Saving your work<br \/>\n1.6 R packages<br \/>\n1.7 Help with R help<br \/>\n1.7a Help with R packages<br \/>\n1.7b Error messages<br \/>\n1.7c Help from the R community<br \/>\n1.8 Organization of this book<\/p>\n<h2>Chapter 2 A sample session<\/h2>\n<p style=\"padding-left: 30px;\">2.1 Reviewing your data<br \/>\n2.2 Data visualization<br \/>\n2.3 Hypothesis testing<br \/>\n2.4 A regression model<br \/>\n2.5 A nonlinear model<\/p>\n<h2>Chapter 3 Object types in R<\/h2>\n<p style=\"padding-left: 30px;\">3.1 R objects and their names<br \/>\n3.2 How to think about data objects in R<br \/>\n3.3 R object storage modes<br \/>\n3.3a The character storage mode<br \/>\n3.3b The numeric storage modes<br \/>\n3.3c The logical storage mode<br \/>\n3.4 R data object types<br \/>\n3.5 The basic data objects: Vectors<br \/>\n3.5a Vector indices<br \/>\n3.5b Vector operations<br \/>\n3.6 The basic data objects: Matrices and their indices<br \/>\n3.7 The basic data objects: Data frames<br \/>\n3.7a Referencing data frame elements<br \/>\n3.7b Displaying the contents of a data frame<br \/>\n3.8 The basic data objects: Lists<br \/>\n3.9 A few things about working with objects<br \/>\n3.10 Object attributes<br \/>\n3.11 Objects and environments<br \/>\n3.12 R object classes<br \/>\n3.13 The pseudo storage modes<br \/>\n3.14 Date and time as a storage modes<br \/>\n3.15 Factors<br \/>\n3.16 Coercing storage modes<br \/>\n3.17 The curse of number-character-factor confusion<br \/>\n3.18 Conclusions<\/p>\n<h2>Chapter 4 Getting your data into R<\/h2>\n<p style=\"padding-left: 30px;\">4.1 Entering data<br \/>\n4.1a Entering data with the concatenate functions<br \/>\n4.1b Joining vectors intro matrices and data frames<br \/>\n4.1c Entering data with the R spreadsheet<br \/>\n4.2 Creating data<br \/>\n4.2a Simple sequences and repetitions<br \/>\n4.2b Generating factors<br \/>\n4.2c Random numbers and statistical distributions<br \/>\n4.3 Importing data<br \/>\n4.3a Working with the working directory<br \/>\n4.4 The read command: Overview<br \/>\n4.5 The read command: Reading from the clipboard<br \/>\n4.6 The read command: Blank delimited tables<br \/>\n4.7 The read command: Comma separated values<br \/>\n4.8 The read command: Tab separated data<br \/>\n4.9 The read command: Fixed-width data<br \/>\n4.10 Importing foreign file types<br \/>\n4.10a Exporting data in foreign formats<br \/>\n4.11 Integrating SQL with R<br \/>\n4.12 Extracting data from complex data sources<br \/>\n4.13 Web scraping<br \/>\n4.14 Dealing with multi-dimensional data<br \/>\n4.15 Importing problematic characters<br \/>\n4.16 More resources<\/p>\n<h2>Chapter 5 Reviewing and summarizing data<\/h2>\n<p style=\"padding-left: 30px;\">5.1 Summary functions<br \/>\n5.2 Checking a sample of your data<br \/>\n5.3 Reviewing data by categories<br \/>\n5.4 Displaying data with a histogram<br \/>\n5.5 Displaying data with a scatter plot<br \/>\n5.6 Scatter plot matrices<\/p>\n<h2>Chapter 5 Appendix In case of exasperation, read this!<\/h2>\n<p style=\"padding-left: 30px;\">A .1 The big things<br \/>\nA .2 The little things<\/p>\n<h2>Chapter 6 Sorting and selecting data<\/h2>\n<p style=\"padding-left: 30px;\">6.1 Using index values to select data<br \/>\n6.2 Using conditional values for selecting<br \/>\n6.3 Using subset( ) with variable or row names to select data<br \/>\n6.4 Splitting a dataset into groups<br \/>\n6.5 Splitting up continuous numeric data<br \/>\n6.6 Sorting and ordering data<br \/>\n6.6a Sorting a variable<br \/>\n6.6b Ordering a data frame<\/p>\n<h2>Chapter 7 Transforming data<\/h2>\n<p style=\"padding-left: 30px;\">7.1 Creating new variables<br \/>\n7.2 Editing data<br \/>\n7.3 Basic math with R<br \/>\n7.4 R functions<br \/>\n7.5 Math and logical functions in R<br \/>\n7.6 Truncation and rounding functions<br \/>\n7.7 The apply( ) family of functions<br \/>\n7.8 Changing variable values conditionally<br \/>\n7.9 Creating new functions<br \/>\n7.10 Additional R programming<br \/>\n7.10a Loops<br \/>\n7.10b If( ){ } else{ }<br \/>\n7.11 Character strings as program elements and program elements as character strings<br \/>\n7.11a Dynamic object names<br \/>\n7.11b Dynamic R code<\/p>\n<h2>Chapter 8 Text operations<\/h2>\n<p style=\"padding-left: 30px;\">8.1 Some useful text functions<br \/>\n8.2 Finding things<br \/>\n8.3 Regular expressions<br \/>\n8.3a Location operators<br \/>\n8.3b The repetition operators<br \/>\n8.3c Other pattern operators<br \/>\n8.3d A wisdom of Perl<br \/>\n8.4 Processing raw text data<br \/>\n8.5 Scraping the web for fun and profit<\/p>\n<h2>Chapter 9 Working with date and time data<\/h2>\n<p style=\"padding-left: 30px;\">9.1 Dates in R<br \/>\n9.2 Formatting dates for R<br \/>\n9.3 Working with POSIX dates<br \/>\n9.4 Special date operations<br \/>\n9.5 Formatting dates for output<br \/>\n9.6 Time series data<br \/>\n9.7 Creating moving averages in time-series data<br \/>\n9.8 Lagged variables in time-series data<br \/>\n9.9 Differencing variables in time-series data<br \/>\n9.10 The limitations of ts data<\/p>\n<h2>Chapter 10 Data merging and aggregation<\/h2>\n<p style=\"padding-left: 30px;\">10.1 Dataset concatenation<br \/>\n10.1a Adding new variables: Column concatenation<br \/>\n10.1b Adding new observations: Row concatenation<br \/>\n10.2 Match merging<br \/>\n10.3 Keyed table look-up merging<br \/>\n10.4 Aggregating data<br \/>\n10.5 Transposing and rotating datasets<\/p>\n<h2>Chapter 11 Dealing with missing data<\/h2>\n<p style=\"padding-left: 30px;\">11.1 Reading data with missing values<br \/>\n11.2 Summarizing missing values<br \/>\n11.3 The missing values functions<br \/>\n11.4 Recoding missing values<br \/>\n11.5 Missing values and regression modeling<br \/>\n11.6 Visualizing missing data<\/p>\n<h2>Chapter 12 R graphics I: The built-in plots<\/h2>\n<p style=\"padding-left: 30px;\">12.1 Scatter plots<br \/>\n12.2 Pairs plots<br \/>\n12.3 Line plots<br \/>\n12.4 Box plots<br \/>\n12.5 Histograms, density plots, and bar charts<br \/>\n12.6 Dot charts<br \/>\n12.7 Pie charts<br \/>\n12.8 Mosaic plots<br \/>\n12.9 Conclusions<\/p>\n<h2>Chapter 13 R graphics II: The boring stuff<\/h2>\n<p style=\"padding-left: 30px;\">13.1 The graphics device<br \/>\n13.1a Screen-based devices<br \/>\n13.1b Raster\/bitmap devices<br \/>\n13.1c Vector-based devices<br \/>\n13.2 Graphics parameters<br \/>\n13.3 The plot layout<br \/>\n13.4 Graphic coordinates in R<br \/>\n13.5 Overlaying plots<br \/>\n13.6 Multiple plots<br \/>\n13.7 Conclusions<\/p>\n<h2>Chapter 14 R graphics III: The fun stuff&#8211;Text<\/h2>\n<p style=\"padding-left: 30px;\">14.1 Adding text<br \/>\n14.2 Setting up a font<br \/>\n14.2a The built-in fonts<br \/>\n14.2b The font-mapping approach<br \/>\n14.2c The Rdevga approach to font mapping<br \/>\n14.2d Font size and rotation<br \/>\n14.3 Titles and subtitles<br \/>\n14.4 Creating a legend<br \/>\n14.5 Simple axes and axis labels<br \/>\n14.6 Building more complex axes<br \/>\n14.6a Tick marks<br \/>\n14.6b Axes with dates or times<br \/>\n14.7 Ad-hoc text<\/p>\n<h2>Chapter 15 R graphics III: The fun stuff&#8211;Shapes<\/h2>\n<p style=\"padding-left: 30px;\">15.1 Doing colors<br \/>\n15.1a Specifying colors<br \/>\n15.1b Colors and transparency<br \/>\n15.2 Custom points<br \/>\n15.2a Connecting the dots<br \/>\n15.2b Plotting with symbols()<br \/>\n15.3 Adding lines<br \/>\n15.3a Basic lines<br \/>\n15.3b Line segments<br \/>\n15.3c Arrows<br \/>\n15.3d Grid lines<br \/>\n15.4 Shapes<br \/>\n15.5 Incorporating images into plots<br \/>\n15.6 A final word about aesthetics<\/p>\n<h2>Chapter 16 From here to where?<\/h2>\n<h2>Appendix I Installing R and related programs<\/h2>\n<p style=\"padding-left: 30px;\">AI.1 Installing R plain and simple<br \/>\nAI.2 R extras<br \/>\nAI.3 Startup configuration for R<br \/>\nAI.4 R packages<br \/>\nAI.5 Updating R<br \/>\nAI.6 Running R and RStudio from a USB key<\/p>\n<h2>Appendix II Statistical commands<\/h2>\n<p style=\"padding-left: 30px;\">AII.1 Univariate descriptive statistics<br \/>\nAII.2 Univariate data visualization<br \/>\nAII.3 Bivariate descriptives: Measures of association<br \/>\nAII.4 Hypothesis testing<br \/>\nAII.5 Cross tabulation<br \/>\nAII.6 ANOVA<br \/>\nAII.7 Linear regression<\/p>\n<h2>Appendix III R packages<\/h2>\n<p style=\"padding-left: 30px;\">AIII.1 Data management packages<br \/>\nAIII.2 Graphics packages<br \/>\nAIII.3 Miscellaneous packages<\/p>\n<h2>Appendix IV Some style guidelines<\/h2>\n<p style=\"padding-left: 30px;\">AIV.1 Modularity and program structure<br \/>\nAIV.2 Argument identification<br \/>\nAIV.3 Comments<br \/>\nAIV.4 White space: Blank lines and indentation<br \/>\nAIV.5 Placement of parentheses and braces<br \/>\nAIV.6 Naming conventions<br \/>\nAIV.7 The bottom line: Clarity and replicability<\/p>\n<p>References<\/p>\n<p>Data Sources<\/p>\n<p>Subjext Index<\/p>\n<p>Index of R Commands<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Survivor&#8217;s Guide to R The Author Preface Acknowledgements Summary Table of Contents Full Table of Contents Tables Figures Chapter 1 Getting started 1.1 Things your statistics class probably won&#8217;t teach you 1.2 Why R? 1.3 Statistical modeling 1.4 A few R basics 1.4a Running R and inputting commands 1.4b Comments 1.4c Command conventions 1.4d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":244,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-239","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/kktg.net\/sgr\/wp-json\/wp\/v2\/pages\/239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kktg.net\/sgr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kktg.net\/sgr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kktg.net\/sgr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kktg.net\/sgr\/wp-json\/wp\/v2\/comments?post=239"}],"version-history":[{"count":11,"href":"https:\/\/kktg.net\/sgr\/wp-json\/wp\/v2\/pages\/239\/revisions"}],"predecessor-version":[{"id":559,"href":"https:\/\/kktg.net\/sgr\/wp-json\/wp\/v2\/pages\/239\/revisions\/559"}],"up":[{"embeddable":true,"href":"https:\/\/kktg.net\/sgr\/wp-json\/wp\/v2\/pages\/244"}],"wp:attachment":[{"href":"https:\/\/kktg.net\/sgr\/wp-json\/wp\/v2\/media?parent=239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}