万本电子书0元读

万本电子书0元读

顶部广告

R Graph Essentials电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:David Alexander Lillis

出  版  社:Packt Publishing

出版时间:2014-09-22

字       数:31.4万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This book is targeted at R programmers who want to learn the graphing capabilities of R. This book will presume that you have working knowledge of R.
目录展开

R Graph Essentials

Table of Contents

R Graph Essentials

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

1. Base Graphics in R – One Step at a Time

Learning basic graphics techniques

Creating and joining points

Creating scatterplots and line plots

Colors in R

Passing parameter values to titles and labels

Including a regression line

Graphing mathematical functions

R provides many options

Creating graphs with several curves

Customizing your axes

Creating axis labels

Creating multiple graphs on the same page

Saving your graphs

Including mathematical expressions on your plots

Summary

2. Advanced Functions in Base Graphics

Reading datasets into R

Including a regression line and residuals

A medical dataset to create graphs

Creating complex multiple axes

Superposing graphs

Creating point labels

Including a grid on your graph

Shading and coloring your graph

Using polygon() to shade under a normal curve

Creating bar charts

Including a legend

Creating histograms

Creating boxplots

Creating pie charts

Creating dotcharts

R's color palettes

Using smoothers on your graph

Creating scatterplot matrices

Writing functions to create graphs

Including error bars on your graph

Summary

3. Mastering the qplot Function

About qplot

The qplot syntax

Producing scatterplots using qplot

Subsetting your data before graphing

Mapping aesthetics to categorical variables

Controlling colors on your graph

Setting up graphs as objects

Creating facet plots

Creating line graphs using qplot

Creating multiple curves simultaneously

Including smoothed curves

Creating histograms with qplot

Creating facet plots for histograms

Creating kernel density plots

Creating bar charts

Creating boxplots

Creating graphs with dates

Summary

4. Creating Graphs with ggplot

Getting started with ggplot

Mapping color, shape, and size to a variable

Modifying the plotting background

Controlling the legend name and legend labels

Modifying the x and y axes

Creating attractive color schemes

Creating curves for each factor level

Creating histograms

Creating bar charts

Creating a stacked bar chart

Creating a grouped bar chart

Creating a faceted bar chart

Creating boxplots

Labeling points with text

Mapping color to text

Including regression lines

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部