Description
R 4 Quick Syntax Reference (3rd Ed., 3rd ed.)
A Pocket Guide to the Language, API's and Library
Author: Tollefson Margot
Language: EnglishSubjects for R 4 Quick Syntax Reference:
Publication date: 03-2022
596 p. · 15.5x23.5 cm · Paperback
596 p. · 15.5x23.5 cm · Paperback
Description
/li>Contents
/li>Biography
/li>Comment
/li>
This handy reference book detailing the intricacies of R covers version 4.x features, including numerous and significant changes to syntax, strings, reference counting, grid units, and more.
Starting with the basic structure of R, the book takes you on a journey through the terminology used in R and the syntax required to make R work. You will find looking up the correct form for an expression quick and easy. Some of the new material includes information on RStudio, S4 syntax, working with character strings, and an example using the Twitter API.
With a copy of the R 4 Quick Syntax Reference in hand, you will find that you are able to use the multitude of functions available in R and are even able to write your own functions to explore and analyze data.
What You Will Learn
- Discover the modes and classes of R objects and how to use them
- Use both packaged and user-created functions in R
- Import/export data and create new data objects in R
- Create descriptive functions and manipulate objects in R
- Take advantage of flow control and conditional statements
- Work with packages such as base, stats, and graphics
Who This Book Is For
Part 1: R Basics
1. Downloading R and Setting Up a File System
2. The R Prompt
3. Assignments and Operators
Part 2: Kinds of Objects
4. Modes of Objects
5. Classes of Objects
Part 3: Functions
6. Packaged Functions
7. User Created Functions
8. How to Use a Function
Part 4: I/O and Manipulating Objects
9. Importing/Creating Data
10. Exporting from R
11. Descriptive Functions and Manipulating Objects
Part 5: Flow control
12. Flow Control
13. Examples of Flow Control
14. The Functions ifelse() and switch()
Part 6: Some Common Functions, Packages and Techniques
15. Some Common Functions
16. The Packages base, stats and graphics
17. The Tricks of the Trade
Margot Tollefson is a self-employed consulting statistician residing in the tiny town of Stratford in the corn and soybean fields of north-central Iowa. She started using the S-Plus language in the early 1990s and was happy to switch to R about ten years ago. Margot enjoys writing her own functions in R - to do plots and simulations, as well as to implement custom modeling and use published statistical methods. She earned her graduate degrees in statistics from Iowa State University in Ames, Iowa.
Updated to cover latest R 4.x features
Learn R to write your own functions and analyze data
Source code can be downloaded from https://github.com/Apress/r4-quick-syntax-reference
© 2024 LAVOISIER S.A.S.
These books may interest you
R MarkdownThe Definitive Guide 40.18 €
R MarkdownThe Definitive Guide 96.92 €