R for Research
A Companion for Statistical Analysis with R for Reproducible Research
Preface
Why this book
Work in progress
Before you begin, I would like to point out that this book is being actively written. That means, the organization of the contents is not finalized. As such, bookmarks would not be stable at this point. I would advise not to bookmark any chapter or section. Instead, bookmark the website of the book which is http://r4res.eraheem.com.
Have questions?
Thank you for reading this book. I hope this will be beneficial for you. Take a look at the contents and browse through the book. If you feel anything important is missing or you would like me to cover additional topics, please feel free to let me know by submitting a feature request at the Issue queue located at https://github.com/raheems/r4res/issues
To submit a question to the github issue queue, you need an account at https://www.Github.com, which is absolutely free. if you are not familiar with github, it is used by millions of developers worldwide. That may sound scary to you. But I can assure you that no technical knowledge is needed to submit a request or raise a question or report an error using the Issue queue.
Just vist the Github website and sign up with your email if you do not have an account there. And submit your request. This way, I will be able to manage all the requests, and respond to your queries. This tools helps me to respond to you in an organized way.
This is also the fastest way to get a response from me if you have any question or suggestion about this book.
Features
There are many books on R in the market. Yet, this is another book that is being written. You wonder, why. Here’s what I think about this book.
This book is specifically about using R for research in medical and clinical fields. Therefore, the examples in this book will be mostly if not all from the medical field.
This book is straight to the point and very specific without too much going into the nitty gritty of the technicality.
This book focuses on data analysis and report generation. As such, this book is particularly suitable for researchers in all fields, particularly in medical field.
Tools used in this book are the most modern and up to date. The old-style programming (base R style of coding has a steep learning curve whereas the new
tidyverse
suite of libraries have made this much easier and provides flexible framework for quick data analysis and producing publication quality graphics and tables.
Benefits of coding
In this book, I will be teaching how to do research using R and particularly by writing R codes. There will be no point and click interface like you see in some statistical software packages such as the SPSS. We will be writing codes all along and I will show you how easy it is and how beneficial it is to write codes instead of using point and click interface.
You might be thinking how writing code can beneficial when point and click is so easy.
The biggest benefit of wiring code, which is also the greates limitation of point and click facility is that what you do is completely reproducible.
By writing codes, you can easily try different things as data analysis involves a lot of trial and error and explorations. With a point and click facility, you cannot go one step back of your process if you make a mistake. Instead, you have to start from the beginning.
Your results are shareable with potential collaborators and also with the journals where you would submit your manuscript for publiccation. These days many journals ask for computer program to ensure reproduciblity.
Lets dive in to the wonderful tool to power your research!