Snippets
Check if an object is of type POSIXct or POSIXlt - Snippet #101
Discover how to check if an object is of type POSIXct or POSIXlt with R
Snippets
Discover how to check if an object is of type POSIXct or POSIXlt with R
Snippets
Discover how to check if an object is of type date with R
Snippets
Discover how to replace missing numeric values with true NAs in a column of a data frame with R
Snippets
Discover how to store a modified column in a new column in a data frame with R
Snippets
Discover how to get rows that have the minimum or maximum values in a column with R
Snippets
Discover how to get first and last rows of a data frame with R
Snippets
Discover how to get a random sample of rows from a data frame with R
Snippets
Discover how to change the background color of a ggplot2 plot with R
Tutorials
geom_function() and as_function() offer an elegant and powerful solution to plot mathematical functions with ggplot2
Snippets
Discover how to rename legend items in a ggplot2 plot with R
Snippets
Discover how to draw a second geom_ from a different data frame in a ggplot2 plot with R
Snippets
Discover how to reorder manually a discrete axis in a ggplot2 plot with R