Preface

This book is currently a first draft of materials for learning how to wrangle data for more efficient further analyses and visualizations. I have worked hard to only provide information that you need to know to work on the module exercises. I have also tried to make it easy to read and pvoide visuals and explanations for all concepts. However, there are likely still errors or descriptions that don’t make sense. Please ask questions or post errors on the appropriate channel of the course MS Team.

The book highlights definitions and tips in special boxes.

Definition: This is a definition.

This is a tip.

R Code and results are also shown in special boxes. R code is shown in a slight orange shade with the output in gray. Code in the R box can be copied from the box with the icon that appears when you hover over the upper right corner of the code box.

dat <- c(3,4,5,2,8)
mean(dat)
#R>  [1] 4.4

Error results are shown in a reddish box.

3*x
#R>  Error in eval(expr, envir, enclos): object 'x' not found

Results with a warning are shown in a goldish box.

c(2,2)*c(3,3,3)
#R>  Warning in c(2, 2) * c(3, 3, 3): longer object length is not a multiple of
#R>  shorter object length
#R>  [1] 6 6 6

The material presented in this book can be challenging to master. Please don’t hesitate to ask me questions as you have them!