Season’s Greetings
Hi, dear R-bloggers and its readers. Here in Japan it’s very cold now.
The end of one year is coming soon.
How was your year 2011 ?
As for me, I started to learn R on september this year, and found it very enjoyable.
So I posted a few blog on R-bloggers, e.g. “Japan Quake Map“.
By the way, I made a “cRazydays 2012″ with ggplot2,
as another version of “CalendaR 2012“.
With best wishes for next year.
![]()
![]()
Appendix
Sample script of “cRazydays 2012″ is as follows:
library(ggplot2)
# setting parameter
year <- 2012
d <- seq.Date(as.Date(paste(year, "-01-01", sep = "")), as.Date(paste(year, "-12-31", sep = "")), by="days")
z <- data.frame(Y = format(d, "%Y"), M = as.numeric(format(d, "%m")), D = as.numeric(format(d, "%d")), W = format(d, "%w"))
textangle <- sample(360, nrow(z), replace=TRUE)# creating image with ggplot.
c <- ggplot(z, aes(D, M))
c + geom_text(aes(label=z$D, colour=factor(W), size = 20, angle =textangle)) +
scale_colour_manual(values = c("magenta", rep("black", 5),"darkturquoise"))+
scale_y_continuous(trans = "reverse", breaks = 1:12) +
labs(x="", y="") +
opts(
title = paste("cRazydays", year, "\n", sep = " "),
plot.title = theme_text(colour = "black"),
legend.position = "none"
)
R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series,ecdf, trading) and more...

Zero Inflated Models and Generalized Linear Mixed Models with R.
Zuur, Saveliev, Ieno (2012).