Visualizing data in R 4 : graphics using the base, graphics, stats, and ggplot2 packages /
Master the syntax for working with R plotting functions in graphics and stats in this easy reference to formatting plots. The approach in Visualizing Data in R 4 toward the application of formatting in ggplot() will follow the structure of the formatting used by the plotting functions in graphics an...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Berkeley, CA :
Apress,
2021.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Intro
- Table of Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Part I: An Overview of plot()
- Chapter 1: Introduction: plot(), qplot(), and ggplot(), Plus Some
- 1.1 plot(), par(), layout(), and split.screen()
- 1.2 qplot() and ggplot()
- 1.3 The Appendixes
- 1.4 Software Versions and Hardware Used in This Book
- 1.5 Graphics Devices
- Chapter 2: The plot() Function
- 2.1 Arguments and Default Values
- 2.2 Ancillary Functions
- 2.3 Methods
- 2.4 The Graphics Devices and the Functions par(), layout(), and split.screen()
- 2.5 An Example
- Chapter 3: The Arguments of plot()
- 3.1 The Dataset
- 3.2 Changing the Overall Appearance in plot()
- 3.2.1 Labels and Axis Limits
- 3.2.2 Box Type, Aspect Ratio, Annotation, and Expanded Plotting
- 3.3 Points and Lines
- 3.3.1 Types of Plots
- 3.3.2 The Arguments pch and lty
- 3.4 Details
- 3.4.1 Colors
- 3.4.1.1 Assigning Colors with Character Strings
- 3.4.1.2 Assigning Colors with Integers
- 3.4.1.3 Assigning Colors with Functions
- 3.4.2 Fonts and Font Families
- 3.4.2.1 Font Families and Assigning the Font Family in plot()
- 3.4.2.2 Font Weights in plot()
- 3.4.3 Character Size in plot()
- 3.4.4 Line Details: lwd, lend, ljoin, and lmitre
- 3.4.5 Making Changes to the Axes
- 3.4.6 Working with Log Scales
- Chapter 4: Ancillary Functions for plot()
- 4.1 Functions That Affect Overall Appearance
- 4.1.1 The title() Function
- 4.1.2 The axis() and axTicks() Functions
- 4.1.2.1 The axis() Function
- 4.1.2.2 The axTicks() Function
- 4.1.3 The box(), grid(), clip(), and rug() Functions
- 4.1.3.1 The box() Function
- 4.1.3.2 The grid() Function
- 4.1.3.3 The clip() Function
- 4.1.3.4 The rug() Function
- 4.2 Functions Defined at Points
- 4.2.1 The points() Function
- 4.2.2 The text() Function
- 4.2.3 The symbols() Function
- 4.2.4 The image() and rasterImage() Functions
- 4.2.4.1 The image() Function
- 4.2.4.2 The rasterImage() Function
- 4.3 Functions That Use Lines
- 4.3.1 The lines() and abline() Functions
- 4.3.2 The curve() Function
- 4.3.3 The segments() and arrows() Functions
- 4.3.3.1 The segments() Function
- 4.3.3.2 The arrows() Function
- 4.3.3.3 An Example of Using segments() and arrows()
- 4.3.4 Functions That Plot Lines That Close on Themselves: rect(), polygon(), and polypath()
- 4.3.4.1 The rect() Function
- 4.3.4.2 The polygon() Function
- 4.3.4.3 The polypath() Function
- 4.3.4.4 An Example of rect(), polygon(), and polypath()
- 4.3.5 The contour() Function
- 4.4 Functions to Provide Information About or to Interact with a Plot
- 4.4.1 The legend() and mtext() Functions
- 4.4.1.1 The legend() Function
- 4.4.1.2 The mtext() Function
- 4.4.2 The Interactive Functions: identify() and locator()
- 4.4.2.1 The identify() Function
- 4.4.2.2 The locator() Function