1.

Record Nr.

UNINA9910808010203321

Autore

De Vries Andrie

Titolo

R for dummies / / by Andrie de Vries and Joris Meys

Pubbl/distr/stampa

Hoboken, NJ : , : John Wiley & Sons, Inc., , [2015]

�2015

ISBN

1-119-05585-7

1-119-05583-0

Edizione

[Second edition.]

Descrizione fisica

1 online resource (xii, 418 pages) : illustrations (chiefly color)

Collana

For Dummies

Disciplina

519.502855133

Soggetti

R (Computer program language)

Mathematical statistics - Data processing

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Title Page; Copyright Page; Table of Contents; Introduction; About This Book; Changes in the Second Edition; Conventions Used in This Book; What You're Not to Read; Foolish Assumptions; How This Book Is Organized; Part I: Getting Started with R Programming; Part II: Getting Down to Work in R; Part III: Coding in R; Part IV: Making the Data Talk; Part V: Working with Graphics; Part VI: The Part of Tens; Icons Used in This Book; Beyond the Book; Where to Go from Here; Part I Getting Started with R Programming; Chapter 1 Introducing R: The Big Picture; Recognizing the Benefits of Using R

Navigating the Environment Manipulating the content of the environment; Saving your work; Retrieving your work; Chapter 3 The Fundamentals of R; Using the Full Power of Functions; Vectorizing your functions; Putting the argument in a function; Making history; Keeping Your Code Readable; Following naming conventions; Structuring your code; Adding comments; Getting from Base R to More; Finding packages; Installing packages; Loading and unloading packages; Part II Getting Down to Work in R; Chapter 4 Getting Started with Arithmetic; Working with Numbers, Infinity, and Missing Values

Doing basic arithmetic Using mathematical functions; Calculating whole vectors; To infinity and beyond; Organizing Data in Vectors; Discovering the properties of vectors; Creating vectors; Combining



vectors; Repeating vectors; Getting Values in and out of Vectors; Understanding indexing in R; Extracting values from a vector; Changing values in a vector; Working with Logical Vectors; Comparing values; Using logical vectors as indices; Combining logical statements; Summarizing logical vectors; Powering Up Your Math; Using arithmetic vector operations; Recycling arguments

Chapter 5 Getting Started with Reading and Writin Using Character Vectors for Text Data; Assigning a value to a character vector; Creating a character vector with more than one element; Extracting a subset of a vector; Naming the values in your vectors; Manipulating Text; String theory: Combining and splitting strings; Sorting text; Finding text inside text; Substituting text; Revving up with regular expressions; Factoring in Factors; Creating a factor; Converting a factor; Looking at levels; Distinguishing data types; Working with ordered factors; Chapter 6 Going on a Date with R

Working with Dates

Sommario/riassunto

Mastering R has never been easier   Picking up R can be tough, even for seasoned statisticians and data analysts. R For Dummies, 2nd Edition provides a quick and painless way to master all the R you'll ever need. Requiring no prior programming experience and packed with tons of practical examples, step-by-step exercises, and sample code, this friendly and accessible guide shows you how to know your way around lists, data frames, and other R data structures, while learning to interact with other programs, such as Microsoft Excel. You'll learn how to reshape and manipulate data, merge data sets,