R Graphics Cookbook: Practical Recipes for Visualizing Data"O'Reilly Media, Inc.", 06/12/2012 - 416 من الصفحات This practical guide provides more than 150 recipes to help you generate high-quality graphs quickly, without having to comb through all the details of R’s graphing systems. Each recipe tackles a specific problem with a solution you can apply to your own project, and includes a discussion of how and why the recipe works. Most of the recipes use the ggplot2 package, a powerful and flexible way to make graphs in R. If you have a basic understanding of the R language, you’re ready to get started.
|
المحتوى
1 | |
7 | |
19 | |
Chapter 4 Line Graphs | 49 |
Chapter 5 Scatter Plots | 73 |
Chapter 6 Summarized Data Distributions | 117 |
Chapter 7 Annotations | 147 |
Chapter 8 Axes | 167 |
Chapter 11 Facets | 243 |
Chapter 12 Using Colors in Plots | 251 |
Chapter 13 Miscellaneous Graphs | 267 |
Chapter 14 Output for Presentation | 323 |
Chapter 15 Getting Your Data into Shape | 335 |
Appendix A Introduction to ggplot2 | 373 |
385 | |
About the Author | 397 |
طبعات أخرى - عرض جميع المقتطفات
عبارات ومصطلحات مألوفة
aes(x=ageYear aes(x=Date aes(x=group aes(x=wt aes(x=Year aesthetic ageYear annotate annotate("text axes axis labels bar graph base graphics base plot box plot categorical variable change the appearance character vector color colour="black colour=sex column confidence interval continuous variable convert create ctrl Cultivar data frame data set ddply default density curve discrete Discussion dot plot element_blank element_text error bars example factor levels fill fill=Cultivar font function geom_bar(stat="identity geom_boxplot geom_line geom_point geoms ggplot(cabbage_exp ggplot(faithful ggplot(heightweight ggplot(PlantGrowth ggplot2 grid lines grouping variable HeadWt heightIn heightweight histogram horizontal Ifyou Left library(gcookbook library(plyr line graph manually names ofthe OJ OJ OJ output overplotting package palette points Problem You want range Recipe Safari Books Online scale scatter plot shape shown in Figure Solution specify subset theme theme_bw there’s tick labels tick marks trt1 trt2 values variable mapped VC VC VC vertical visual we’ll width Winston Chang x-axis y-axis y=heightIn y=weight