1.

Record Nr.

UNINA9910338006103321

Autore

Tollefson Margot

Titolo

R Quick Syntax Reference [[electronic resource] ] : A Pocket Guide to the Language, APIs and Library / / by Margot Tollefson

Pubbl/distr/stampa

Berkeley, CA : , : Apress : , : Imprint : Apress, , 2019

ISBN

1-4842-4405-2

Edizione

[2nd ed. 2019.]

Descrizione fisica

1 online resource (369 pages)

Disciplina

519.502855133

Soggetti

Programming languages (Electronic computers)

Artificial intelligence

Mathematical statistics

Big data

Computer programming

R (Computer program language)

Programming Languages, Compilers, Interpreters

Artificial Intelligence

Probability and Statistics in Computer Science

Big Data

Programming Techniques

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

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.

Sommario/riassunto

This handy reference book detailing the intricacies of R updates the



popular first edition by adding R version 3.4 and 3.5 features. 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 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. You will: 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.