UPDATE: THE BLOG/SITE HAS MOVED TO GITHUB. THE NEW LINK FOR THE BLOG/SITE IS patilv.github.io and THE LINK TO THIS POST IS: http://bit.ly/1jJ6f7v. PLEASE UPDATE ANY BOOKMARKS YOU MAY HAVE.
In this post, I use a simulated dataset (7 variables -3 factor and 4 numeric - and a sample size of 50) to create graphs/charts using base R, and replicate them using ggplot2, and rCharts. This is not an attempt to create an exhaustive database of graphs/charts of all possible combinations, but it is an exercise to generate some of the common ones (in my view). These include dot plots, histograms, box plots, bar charts, scatter plots, density curves, and line graphs and a few more. I am sure the code can be further optimized and it could use some finishing touches with many things like legends, axes labels, and color, but at the core, I think it does its job.
Pages of the 3 versions of graphs/charts were generated using slidify. Thanks to Ramnath Vaidyanathan for having answers to all questions and to the kind rCharts, ggplot2, and R community for the free knowledge base available on the Internet. Please click any of the following links to pull up the respective page. The code for these pages can be found on github.
In this post, I use a simulated dataset (7 variables -3 factor and 4 numeric - and a sample size of 50) to create graphs/charts using base R, and replicate them using ggplot2, and rCharts. This is not an attempt to create an exhaustive database of graphs/charts of all possible combinations, but it is an exercise to generate some of the common ones (in my view). These include dot plots, histograms, box plots, bar charts, scatter plots, density curves, and line graphs and a few more. I am sure the code can be further optimized and it could use some finishing touches with many things like legends, axes labels, and color, but at the core, I think it does its job.
Pages of the 3 versions of graphs/charts were generated using slidify. Thanks to Ramnath Vaidyanathan for having answers to all questions and to the kind rCharts, ggplot2, and R community for the free knowledge base available on the Internet. Please click any of the following links to pull up the respective page. The code for these pages can be found on github.
Base R | ggplot2 | rCharts |
---|
Thanks so much for compiling this excellent and thorough resource. Well done.
ReplyDeleteThanks very much. I think an organization of different types of charts possible using rCharts by chart would be helpful as well. That can supplement the organization by JS libraries. A new project?
ReplyDeleteThanks! It's a nice post!. Thank again!
ReplyDeleteGreat Article
ReplyDeleteData Mining Projects
Python Training in Chennai
Project Centers in Chennai
Python Training in Chennai
Mua vé máy bay tại Aivivu, tham khảo
ReplyDeletemua ve may bay di my
vé máy bay giá rẻ tết 2021
vé máy bay đi San Francisco bao nhiêu tiền
mua vé máy bay đi Pháp giá rẻ
bay từ việt nam sang Anh mất bao lâu
vé máy bay từ tpHCM đi Los Angeles
combo đà nẵng 4 ngày 3 đêm
combo nghỉ dưỡng nha trang
visa trung quốc cho người nước ngoài
cách ly khách sạn trọn gói