{"title":"Writing Loops and Functions in R","authors":"J. Touchon","doi":"10.1093/oso/9780198869979.003.0010","DOIUrl":"https://doi.org/10.1093/oso/9780198869979.003.0010","url":null,"abstract":"Learning how to write your own functions can seem like a daunting task, but Chapter 10 demystifies this process and teaches readers how to think about when and why this is an important thing to do. Beginning with simple functions and progressing to complex data simulations, writing functions is useful skill that will greatly expand the horizons of even relatively beginner R users.","PeriodicalId":114150,"journal":{"name":"Applied Statistics with R","volume":"108 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122046876","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Mixed Effects Models","authors":"J. Touchon","doi":"10.1093/oso/9780198869979.003.0008","DOIUrl":"https://doi.org/10.1093/oso/9780198869979.003.0008","url":null,"abstract":"Mixed effects models are powerful techniques for controlling for non-independence of data or repeated measures, and can be harnessed for both normal and non-normal data structures. Chapter 8 teaches readers how to code, assess, interpret, and troubleshoot both linear and generalized linear mixed models using the same RxP dataset which has been used throughout the book, although now it is viewed through a new lens. Readers are taught how to code likelihood ratio tests to calculate statistical significance and how to use multiple packages, such as lme4 and glmmTMB.","PeriodicalId":114150,"journal":{"name":"Applied Statistics with R","volume":"14 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132211429","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Basic Statistical Analyses using R","authors":"J. Touchon","doi":"10.1093/oso/9780198869979.003.0005","DOIUrl":"https://doi.org/10.1093/oso/9780198869979.003.0005","url":null,"abstract":"What are normal data? What are non-normal data? How do you tell them apart and how do you know what sort of data you have? Chapter 5 begins teaching statistical analysis with a focus on understanding the shape of one’s data and how to measure it. The RxP dataset is explored and the principal focus in this chapter is on normal data and on conducting an Analysis of Variance (ANOVA), although classic non-parametric statistics such as a Kruskal-Wallis test and Mann-Whitney U test are also introduced. Readers are taught how to test for data normality, assess model fit, interpret the summary output from the model, calculate summary statistics and p-values, and how to conduct post-hoc tests (Tukey’s HSD) to compare different levels of a single predictor.","PeriodicalId":114150,"journal":{"name":"Applied Statistics with R","volume":"416 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124171230","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Introduction to R","authors":"J. Touchon","doi":"10.1093/oso/9780198869979.003.0001","DOIUrl":"https://doi.org/10.1093/oso/9780198869979.003.0001","url":null,"abstract":"The Introductory chapter gets readers started in R, teaching them how to work in both a script window and the console, create objects, and execute basic functions. The chapter dives right in to learning the basic coding of R! In addition, we discuss important topics such as writing literate and well-annotated code and organizing your data in an appropriate manner before you even import it to R.","PeriodicalId":114150,"journal":{"name":"Applied Statistics with R","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121105565","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Exploratory Data Analysis and Data Summarization","authors":"J. Touchon","doi":"10.1093/oso/9780198869979.003.0003","DOIUrl":"https://doi.org/10.1093/oso/9780198869979.003.0003","url":null,"abstract":"The third chapter introduces the dataset that readers will work with for the remainder of the book: the RxP data. Students are taught how to import the data and how to use indexing and packages like dplyr to navigate this large, real, and somewhat messy set of ecological data. Basic plotting is introduced as a tool for exploratory data analysis. Lastly, students are taught how to summarize a dataset quickly and efficiently.","PeriodicalId":114150,"journal":{"name":"Applied Statistics with R","volume":"3 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129709503","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Before You Begin (aka Thoughts on Proper Data Analysis)","authors":"J. Touchon","doi":"10.1093/oso/9780198869979.003.0002","DOIUrl":"https://doi.org/10.1093/oso/9780198869979.003.0002","url":null,"abstract":"Chapter 2 is perhaps the most important in the whole book, in that it is a discussion of essential principles of experimental design and data analysis that are universal to every field in the life sciences. The merits of different experimental designs are discussed as well as best practices for data analysis.","PeriodicalId":114150,"journal":{"name":"Applied Statistics with R","volume":"4 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129998978","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Introduction to Plotting","authors":"J. Touchon","doi":"10.1093/oso/9780198869979.003.0004","DOIUrl":"https://doi.org/10.1093/oso/9780198869979.003.0004","url":null,"abstract":"R is one of the most powerful programs available for graphically representing your data, and chapter 4 begins the important process of teaching how this is done. Base graphics are introduced but the main focus is on teaching the package ggplot2, which has become the principal method of making figures in R. Various types of graphics are taught, including box-and-whisker plots, scatterplots, histograms, and density plots. In addition, the ways to customize these figures with colors, shapes, and faceting are also covered. The chapter ends by walking readers step-by-step through the process of creating a professional looking bar graph in both base graphics and ggplot2\u0000","PeriodicalId":114150,"journal":{"name":"Applied Statistics with R","volume":"93 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117077405","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Advanced Data Wrangling and Plotting","authors":"J. Touchon","doi":"10.1093/oso/9780198869979.003.0009","DOIUrl":"https://doi.org/10.1093/oso/9780198869979.003.0009","url":null,"abstract":"The advent of the packages in the tidyverse such as dplyr, tidyr, and ggplot2, has made the process of navigating, summarizing, transforming and plotting data increasing easy. Chapter 9 teaches readers the most important basics of data wrangling, such as how to summarize, spread, and gather your data, and how to use to the do() function to automate running functions. A detailed run through of plotting with ggplot2 is also undertaken, as is the connectivity of data wrangling and plotting.","PeriodicalId":114150,"journal":{"name":"Applied Statistics with R","volume":"45 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122542802","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"More Linear Models in R!","authors":"J. Touchon","doi":"10.1093/oso/9780198869979.003.0006","DOIUrl":"https://doi.org/10.1093/oso/9780198869979.003.0006","url":null,"abstract":"Chapter 6 continues exploring the world of statistics that are covered within the linear model, namely two-way and three-way ANOVA, linear regression and analysis of covariance (ANCOVA). In each type of model, a detailed description of how to interpret the summary output is undertaken, including understanding how to interpret and plot interactions. Conducting post-hoc analyses and using the predict() function are also covered. The chapter ends by reinforcing earlier plotting skills in ggplot2 by walking through an example of making a professional looking figure with multiple non-linear regression curves and confidence intervals.","PeriodicalId":114150,"journal":{"name":"Applied Statistics with R","volume":"20 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121786217","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Final Thoughts","authors":"J. Touchon","doi":"10.1093/oso/9780198869979.003.0011","DOIUrl":"https://doi.org/10.1093/oso/9780198869979.003.0011","url":null,"abstract":"The final chapter briefly summarizes the major teaching points of the book and re-emphasizes the most salient take home points.","PeriodicalId":114150,"journal":{"name":"Applied Statistics with R","volume":"202 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131800131","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}