Hands-On Programming with R. Write Your Own Functions and Simulations (e-book) - Opis i dane produktu
-
Zgłoś
Learn how to program by diving into the R language, and then use your newfound skills to solve practical data science problems. With this book, you...ll learn how to load data, assemble and disassemble data objects, navigate R...s environment system, write your own functions, and use all of R...s programming tools.RStudio Master Instructor Garrett Grolemund not only teaches you how to program, but also shows you how to get more from R than just visualizing and modeling data. You...ll gain valuable programming skills and support your work as a data scientist at the same time.Work hands-on with three practical data analysis projects based on casino gamesStore, retrieve, and change data values in your computer...s memoryWrite programs and simulations that outperform those written by typical R usersUse R programming tools such as if else statements, for loops, and S3 classesLearn how to write lightning-fast vectorized R codeTake advantage of R...s package system and debugging toolsPractice and apply R programming concepts as you learn them Spis treści:
Hands-On Programming with R
Foreword
Preface
Conventions Used in This Book
Safari Books Online
How to Contact Us
Acknowledgments
I. Project 1: Weighted Dice
1. The Very Basics
The R User Interface
Objects
Functions
Sample with Replacement
Writing Your Own Functions
The Function Constructor
Arguments
Scripts
Summary
2. Packages and Help Pages
Packages
install.packages
library
Getting Help with Help Pages
Parts of a Help Page
Getting More Help
Summary
Project 1 Wrap-up
II. Project 2: Playing Cards
3. R Objects
Atomic Vectors
Doubles
Integers
Characters
Logicals
Complex and Raw
Attributes
Names
Dim
Matrices
Arrays
Class
Dates and Times
Factors
Coercion
Lists
Data Frames
Loading Data
Saving Data
Summary
4. R Notation
Selecting Values
Positive Integers
Negative Integers
Zero
Blank Spaces
Logical Values
Names
Deal a Card
Shuffle the Deck
Dollar Signs and Double Brackets
Summary
5. Modifying Values
Changing Values in Place
Logical Subsetting
Logical Tests
Boolean Operators
Missing Information
na.rm
is.na
Summary
6. Environments
Environments
Working with Environments
The Active Environment
Scoping Rules
Assignment
Evaluation
Closures
Summary
Project 2 Wrap-up
III. Project 3: Slot Machine
7. Programs
Strategy
Sequential Steps
Parallel Cases
if Statements
else Statements
Lookup Tables
Code Comments
Summary
8. S3
The S3 System
Attributes
Generic Functions
Methods
Method Dispatch
Classes
S3 and Debugging
S4 and R5
Summary
9. Loops
Expected Values
expand.grid
for Loops
while Loops
repeat Loops
Summary
10. Speed
Vectorized Code
How to Write Vectorized Code
How to Write Fast for Loops in R
Vectorized Code in Practice
Loops Versus Vectorized Code
Summary
Project 3 Wrap-up
A. Installing R and RStudio
How to Download and Install R
Windows
Mac
Linux
Using R
RStudio
Opening R
B. R Packages
Installing Packages
Loading Packages
C. Updating R and Its Packages
R Packages
D. Loading and Saving Data in R
Data Sets in Base R
Working Directory
Plain-text Files
read.table
sep
header
na.strings
skip and nrow
stringsAsFactors
The read Family
read.fwf
HTML Links
Saving Plain-Text Files
Compressing Files
R Files
Saving R Files
Excel Spreadsheets
Export from Excel
Copy and Paste
XLConnect
Reading Spreadsheets
Writing Spreadsheets
Loading Files from Other Programs
Connecting to Databases
E. Debugging R Code
traceback
browser
Break Points
debug
trace
recover
Index
Colophon
Copyright O autorze: Garrett Grolemund jest statystykiem, nauczycielem i programistą R. Napisał powszechnie znany pakiet lubridate. Grolemund jest popularnym instruktorem języka R i analizy danych — w tym zakresie pomagał takim firmom, jak Google, eBay, Roche i inne.
Hands-On Programming with R
Foreword
Preface
Conventions Used in This Book
Safari Books Online
How to Contact Us
Acknowledgments
I. Project 1: Weighted Dice
1. The Very Basics
The R User Interface
Objects
Functions
Sample with Replacement
Writing Your Own Functions
The Function Constructor
Arguments
Scripts
Summary
2. Packages and Help Pages
Packages
install.packages
library
Getting Help with Help Pages
Parts of a Help Page
Getting More Help
Summary
Project 1 Wrap-up
II. Project 2: Playing Cards
3. R Objects
Atomic Vectors
Doubles
Integers
Characters
Logicals
Complex and Raw
Attributes
Names
Dim
Matrices
Arrays
Class
Dates and Times
Factors
Coercion
Lists
Data Frames
Loading Data
Saving Data
Summary
4. R Notation
Selecting Values
Positive Integers
Negative Integers
Zero
Blank Spaces
Logical Values
Names
Deal a Card
Shuffle the Deck
Dollar Signs and Double Brackets
Summary
5. Modifying Values
Changing Values in Place
Logical Subsetting
Logical Tests
Boolean Operators
Missing Information
na.rm
is.na
Summary
6. Environments
Environments
Working with Environments
The Active Environment
Scoping Rules
Assignment
Evaluation
Closures
Summary
Project 2 Wrap-up
III. Project 3: Slot Machine
7. Programs
Strategy
Sequential Steps
Parallel Cases
if Statements
else Statements
Lookup Tables
Code Comments
Summary
8. S3
The S3 System
Attributes
Generic Functions
Methods
Method Dispatch
Classes
S3 and Debugging
S4 and R5
Summary
9. Loops
Expected Values
expand.grid
for Loops
while Loops
repeat Loops
Summary
10. Speed
Vectorized Code
How to Write Vectorized Code
How to Write Fast for Loops in R
Vectorized Code in Practice
Loops Versus Vectorized Code
Summary
Project 3 Wrap-up
A. Installing R and RStudio
How to Download and Install R
Windows
Mac
Linux
Using R
RStudio
Opening R
B. R Packages
Installing Packages
Loading Packages
C. Updating R and Its Packages
R Packages
D. Loading and Saving Data in R
Data Sets in Base R
Working Directory
Plain-text Files
read.table
sep
header
na.strings
skip and nrow
stringsAsFactors
The read Family
read.fwf
HTML Links
Saving Plain-Text Files
Compressing Files
R Files
Saving R Files
Excel Spreadsheets
Export from Excel
Copy and Paste
XLConnect
Reading Spreadsheets
Writing Spreadsheets
Loading Files from Other Programs
Connecting to Databases
E. Debugging R Code
traceback
browser
Break Points
debug
trace
recover
Index
Colophon
Copyright O autorze: Garrett Grolemund jest statystykiem, nauczycielem i programistą R. Napisał powszechnie znany pakiet lubridate. Grolemund jest popularnym instruktorem języka R i analizy danych — w tym zakresie pomagał takim firmom, jak Google, eBay, Roche i inne.
Podstawowe informacje |
|
---|---|
Autor | Garrett Grolemund |
Rok wydania ?Rok, w którym książka została opublikowana i dostępna dla czytelników. Pomaga określić, jak dawno została wydana. | 2014 |
Techniczne |
|
Ilość stron ?Ilość stron to liczba kartek z tekstem wewnątrz książki, która określa jej długość i objętość treści. | 250 |
Dodatkowe informacje |
|
Wybrane wydawnictwa ?Wybrane wydawnictwa to renomowane firmy, które publikują książki, znane z wysokiej jakości, różnorodności tytułów i często specjalizujące się w konkretnych gatunkach literatury. | O'Reilly Media |
Produkty rekomendowane
Hands-On Programming with R. Write Your Own Functions and Simulations (e-book) - Pytania i odpowiedzi
Zastanawiasz się jak poprawnie użytkować zakupiony produkt? Porady na forum naszych ekspertów w mig rozwieją Twoje wątpliwości! Pytania i Odpowiedzi pomogą użytkownikom serwisu w poprawnym korzystaniu i cieszeniu się z nowo zakupionych produktów.
Produkty rekomendowane
Wybrane oferty
-
- Dane i opinie o Helion
- Zobacz ofertę
- O ofercie
-
Zgłoś uwagi
Warianty tego produktu
-
109,65złHands-On Programming with R (ebook)
Hands-On Programming with R. Write Your Own Functions and Simulations (e-book) - Pozostałe oferty
-
- Dane i opinie o ebookpoint.pl
- Zobacz ofertę
- O ofercie
-
Zgłoś uwagi
Warianty tego produktu
-
109,65złHands-On Programming with R (ebook)
-
Historia cen - trend cenowy
Aktualnie najniższa cena: 109,65zł
Często kupowane razem
Produkty rekomendowane
Wybrane oferty
?
Hands-On Programming with R. Write Your Own Functions and Simulations (e-book) - Opinie
Klienci, którzy kupili Hands-On Programming with R. Write Your Own Functions and Simulations (e-book), mogą podzielić się swoją opinią poprzez ankietę Zaufanych Opinii. Prezentujemy wszystkie oceny (zarówno pozytywne jak i negatywne), a Zaufane Opinie oznaczone są zieloną tarczą.
Produkty rekomendowane