gravatar

huanfaChen

Huanfa Chen

Recently Published

Squash or Remove Part of Y-axis in ggplot2
This article shows how to squash/remove part of an y-axis in ggplot2. Squashing/removing part of an y-axis is useful when the y values are either very large or very small and therefore some ranges on the y-axis are not used.
Solving the routing problems in R: stplanr
An introduction to the stplanr package in R, for solving the routing problems.
Plotting maps from shapefiles with attributes using ggplot
A tutorial on how to plot maps from shapefiles with attributes using ggplot
Extracting the times using Regular Expression
Use regular expression to extract the times from irregular text.
Missing Values in R
Summary of several 'missing' values in R: NA, NaN, Inf, NULL