R tips: Use R to draw figures like Exel drew
Although Excel is easy to use to generate charts, R is better suited to the task of data analysis. You can load any data into R. You can load CSV files, read JSON, ececute SQL queries, or scrape a website. You can even handle big data in R through Hadoop.
I like the default colors that Excel used for chart. So how to generate Excel-like charts in R in terms of color? Here is an example:
The figure below gives the default RGB color table.
Comments
Post a Comment