O. Petchey, A. Beckerman, Natalie Cooper, D. Childs
{"title":"Getting acquainted","authors":"O. Petchey, A. Beckerman, Natalie Cooper, D. Childs","doi":"10.1093/oso/9780198849810.003.0002","DOIUrl":"https://doi.org/10.1093/oso/9780198849810.003.0002","url":null,"abstract":"Before working through a real example of getting insights from data, we need to become acquainted with some tools we will use. Learning a bit about the tools first can help us feel more confident and comfortable when we then come to use them for real. Hence this chapter takes some time to introduce you to R and RStudio, including writing some simple commands, writing scripts, what to do when things seem to go wrong (as they often do!), what are functions, what are add-on packages, how to get help, and some common pitfalls to avoid.","PeriodicalId":396940,"journal":{"name":"Insights from Data with R","volume":"9 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126507781","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}
O. Petchey, A. Beckerman, Natalie Cooper, D. Childs
{"title":"Getting to grips with ggplot2","authors":"O. Petchey, A. Beckerman, Natalie Cooper, D. Childs","doi":"10.1093/oso/9780198849810.003.0007","DOIUrl":"https://doi.org/10.1093/oso/9780198849810.003.0007","url":null,"abstract":"We have made quite a few graphs already but only briefly explained how we did so, specifically using ggplot. We need a deeper understanding… hence this chapter. We focus on making graphs with ggplot2. The ggplot2 package can help us to produce quite complex visualizations, with elements such as graphical keys, without the need to write lines and lines of R code. It is, nevertheless, still flexible enough for us to tweak the appearance of a figure so that it meets our specific needs. This chapter describes the underlying principles of the grammar used in ggplot2, and then demonstrates various kinds of plots and modifications to plots that ggplot2 can implement.","PeriodicalId":396940,"journal":{"name":"Insights from Data with R","volume":"61 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116646262","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}
O. Petchey, A. Beckerman, Natalie Cooper, D. Childs
{"title":"Looking back and looking forward","authors":"O. Petchey, A. Beckerman, Natalie Cooper, D. Childs","doi":"10.1093/OSO/9780198849810.003.0010","DOIUrl":"https://doi.org/10.1093/OSO/9780198849810.003.0010","url":null,"abstract":"After reading this book, what comes next? There is a lot that we decided to leave out of the book that we would have loved to put in. This chapter includes some pointers about what we left out, and what you could now start exploring. We also include a section on reproducibility, which covers the basics of what reproducibility is, why we might care about making our work reproducible, and what practical moves we can make towards achieving this.","PeriodicalId":396940,"journal":{"name":"Insights from Data with R","volume":"12 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123903230","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}
O. Petchey, A. Beckerman, Natalie Cooper, D. Childs
{"title":"Dealing with data 1","authors":"O. Petchey, A. Beckerman, Natalie Cooper, D. Childs","doi":"10.1093/oso/9780198849810.003.0005","DOIUrl":"https://doi.org/10.1093/oso/9780198849810.003.0005","url":null,"abstract":"In the previous two chapters we experienced/demonstrated a data analysis workflow about variation in the diets of bats. In this and the next few chapters we will take a deeper dive into the details of R and of concepts. In this chapter, you will become much better acquainted with the wonderful world of the dplyr package. We look more carefully at the some of the core dplyr functions: ‘select’ (get some columns), ‘mutate’ (make a new column), ‘filter’ (get some rows), ‘arrange’ (order the rows), ‘group_by’ (add grouping information), and ‘summarise’ (calculate summary information about groups).","PeriodicalId":396940,"journal":{"name":"Insights from Data with R","volume":"11 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117257776","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}
O. Petchey, A. Beckerman, Natalie Cooper, D. Childs
{"title":"Workflow Demonstration part 1","authors":"O. Petchey, A. Beckerman, Natalie Cooper, D. Childs","doi":"10.1093/oso/9780198849810.003.0003","DOIUrl":"https://doi.org/10.1093/oso/9780198849810.003.0003","url":null,"abstract":"This and the next chapter involve us working through the process of getting insights from data. We have chosen a research subject that should have some interest to us all: food. More specifically, what bats eat. In this chapter you will experience a clearly specified set of research questions, learn how the study was performed and why it was done that way, and learn how to prepare your computer, R, and RStudio for the project, and how to read the dataset into R. The chapter also covers how you can clean, tidy, and manipulate the data in R. These are the solid foundations from which robust and reliable insights can grow.","PeriodicalId":396940,"journal":{"name":"Insights from Data with R","volume":"206 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115731846","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}