Publications by Mark Raphael T. Flores
ARIMA
library(quantmod) ## Loading required package: xts ## Loading required package: zoo ## ## Attaching package: 'zoo' ## The following objects are masked from 'package:base': ## ## as.Date, as.Date.numeric ## Loading required package: TTR ## Registered S3 method overwritten by 'quantmod': ## method from ## as.zoo.data.frame...
53 sym R (4381 sym/39 pcs) 9 img
Bubble Animation
Get data: library(gapminder) Charge libraries: library(ggplot2) library(gganimate) Make a ggplot, but add frame=year: one image per year ggplot(gapminder, aes(gdpPercap, lifeExp, size = pop, color = continent)) + geom_point() + scale_x_log10() + theme_bw() + # gganimate specific bits: labs(title = 'Year: {frame_time}', x = 'GDP per ca...
221 sym R (945 sym/8 pcs) 2 img