Udemy offers huge course discounts once again. Until this Monday, you can sign up for any course for just $10.99. This is a huge discount given that the average Udemy R course is priced at $60. Prices normally vary from $20 to $200 (besides some free courses). For a full overview of all Udemy R […]

## Advanced Raster Data: Exercises

Geospatial data is becoming increasingly used to solve numerous ‘real-life’ problems (check out some examples here.) In turn, R is becoming a powerful open-source solution to handle this type of data, currently providing an exceptional range of functions and tools for GIS and Remote Sensing data analysis. In particular, raster data provides support for representing […]

## R FOR HYDROLOGISTS – Correlation and Information Theory Measurements: Part 3: Exercises

R FOR HYDROLOGISTS CORRELATION AND INFORMATION THEORY MEASUREMENTS – PART 3 Before we begin, if you don’t have the data, first get it from the first tutorial here. You will also need to Install and load the ggplot2 and reshape2 packages. if(!require(ggplot2)){install.packages(ggplot2, dep=T)} if(!require(reshape2)){install.packages(reshape2, dep=T)} Answers to these exercises are available here. The mutual information quantifies […]

## How to Visualize Data With Highcharter

INTRODUCTION Highcharter is a R wrapper for Highcharts javascript libray and its modules. Highcharts is very mature and flexible javascript charting library and it has a great and powerful API1. The main features of this package are: Various chart type with the same style: scatters, bubble, line, time series, heatmaps, treemap, bar charts, networks. Chart […]

## Tensorflow – Neural Network Training: Exercises

Deep learning is under active development. Papers with new approaches are being published every day. In this set of exercises we will go through some of the newer methods that boost the neural network’s performance. By the end of this post, you will be able to train neural networks with adaptive learning rates and apply […]

## Advanced Techniques With Raster Data – Part 3: Exercises

Background In this post, the ninth of the geospatial processing series with raster data, I will focus on interpolating and modeling air surface temperature data recorded at weather stations. For this purpose I will explore regression-kriging (RK), a spatial prediction technique commonly used in geostatistics that combines a regression of the dependent variable (air temperature […]

## Loops in R – Exercises

Using loops is generally discouraged in R when it is possible to avoid them using vectorized alternatives. Vectorized solution are be both faster to write, read and execute – except sometimes they aren’t and the definition of vectorization isn’t always straightforward. In any event, solutions using loops can be: The fastest to prototype The easiest […]

## Parsing Dates and Time – Part 1: Exercises

In the exercises below we will work with anytime and lubridate package to see how to manipulate date and time Answers to the exercises are available here. If you obtained a different (correct) answer than those listed on the solutions page, please feel free to post your answer as a comment on that page. Exercise […]

## R FOR HYDROLOGISTS: Correlation and Information Theory Measurements – Part 2: Exercises

R FOR HYDROLOGISTS CORRELATION AND INFORMATION THEORY MEASUREMENTS (Part 2) Proposed back in the 40’s by Shannon Information theory provide a framework for the analysis of randomness in time-series, and information gain when comparing statistical models of inference. Information theory is based on probability theory and statistics. It often concerns itself with measures of information […]

## How to Start Plotting Interactive Maps With Leaflet: Exercises

INTRODUCTION Leaflet is one of the most popular open-source JavaScript libraries for interactive maps. It provides features like Interactive panning/zooming, Map tiles, Markers, Polygons, Lines, Popups, GeoJSON, creating maps right from the R console or RStudio, embedding maps in knitr/R Markdown documents and Shiny apps. It also allows you to render spatial objects from the […]