Data-sets often arrive to us in a form that is different from what we need for our modeling or visualization functions, which, in turn, don’t necessarily require the same format. Reshaping data.frames is a step that all analysts need, but many struggle with. Practicing this meta-skill will, in the long-run, result in more time to […]
data manipulation
Functional Programming With Purrr: Exercises (Part 2)
One of R`s cool features is functional programming. It makes development much easier and the code you write shorter and less prone to errors. There are a few tool kits for functional programming in R (with famous base`s apply functions family among them). In this set of exercises,you will familiarize yourself with basic functions from […]
Functional Programming With Purrr: Exercises (Part 1)
One of R`s cool features is functional programming. It makes development much easier and the code you write shorter and less prone to errors. There are few tool kits for functional programming in R (with famous apply functions family among them). In this set of exercises, you will familiarize yourself with basic functions from the purrr […]
Basic Time-Series Hydro-logical Data Analysis:Exercises (Part 1)
Time series dataset is a well-recognized data type for modeling and forecasting purposes. However, the application in R may vary depending on the research areas. In this exercise set, we will explore basic analysis for time series hydrological data in R . We will also introduce the hydroTSM package; a useful package in hydrology. Hydro TSM is […]
How To Tidy Up Your Dataset – Exercises
INTRODUCTION In general data analysis includes four parts: Data collection, Data manipulation, Data visualization and Data Conclusion or Analysis. The tidyr package is one of the most useful packages for the second category of data manipulation as tidy data is the number one factor for a succesfull analysis. Tidy data means that every column stands […]
How to tidy up your data set with tidyr
INTRODUCTION In general data analysis includes four parts: Data collection, Data manipulation, Data visualization and Data Insights. The tidyr package is one of the most useful packages for the second category of data manipulation as tidy data is the number one factor for a succesfull analysis. Tidy data means that every column stands for a […]
Dplyr Basic Functions – Exercises
INTRODUCTION The dplyr is an R-package that is used for transformation and summarization of tabular data with rows and columns. It includes a set of functions that filter rows, select specific columns, re-order rows, adds new columns and summarizes data. Moreover, dplyr contains a useful function to perform another common task, which is the “split-apply-combine” […]
Protected: Bonus: Basic Data Exploration in Base R Exercises
There is no excerpt because this is a protected post.
How to use basic dplyr functions
INTRODUCTION The dplyr is an R-package that is used for transformation and summarization of tabular data with rows and columns. It includes a set of functions that filter rows, select specific columns, re-order rows, adds new columns and summarizes data. Moreover, dplyr contains a useful function to perform another common task, which is the “split-apply-combine” […]
dplyr Non-Standard Evaluation Exercises
dplyr is a great package for interactive data wrangling and exploration. One of key aspects that makes it so great is that it uses non-standard evaluation so a user does not have to repeat data frame name and quote names all the time. On the other hand this feature makes programming with dplyr a non-trivial […]