The length of this book is around 200 pages; you may not complete reading this book in 8 hours!
About This Book "R Programming in 8 Hours" is a textbook for high school and college students; it covers all essential R language knowledge. You can learn complete primary skills of R programming fast and easily. The textbook includes a lot of practical examples for beginners and includes exercises for the college final exam, the engineer certification exam, and the job interview exam. "R Programming in 8 Hours" is a useful textbook for beginners. The straightforward definitions, the plain examples, the elaborate explanations and the neat layout feature this helpful and educative book. You will be impressed by its distinctive and tidy writing style. Reading this book is a great enjoyment!
Note This book is only suitable for R programming beginners, high school students and college students; it is not for the experienced R programmers.
Table of Contents
Chapter 1 R Introduction R Installation RGui Run Code in R Console Run Code in R Editor Comment Simple Example Summary
Chapter 2 Data Type Variables Variable Assignment C( ) function Vector Assignment Print Value of Variable Search Variables Match Variables Remove Variables Summary
Chapter 3 Operators Addition Subtraction Multiplication Division Remainder Modulus Exponentiation Greater Than Less Than Equal To Greater Than or Equal To Less Than or Equal To Not Equal To AND OR NOT Logical AND Logical OR Left Assignment Right Assignment Colon operator Member Operator Summary
Chapter 4 If Statement If…else Statement Switch Statement Loop Repeat Loop While Loop For Loop Function Function without Argument Function with default arguments Built-in Functions String & Substring Convert to String Connect Strings Count Character Numbers Convert to Upper Case Convert to Lower Case Character Replacement Summary
Chapter 5 Vector sep( ) function Access the Vector (1) Access the Vector (2) Delete Vector Element Vector Addition Vector Subtraction Vector Multiplication Vector Division Vector of Different Length Sorting Vector List Access the Elements of List Add an Element to List Remove the Last Element Update an Element Merge Two Lists Convert List to Vector Summary
Chapter 6 Matrix Access the Matrix Creating Matrices Matrix Addition Matrix Subtraction Matrix Multiplication Matrix Division Name Rows & Columns Array Name the Array Access Array (1) Access Array (2) Access Array (3) Array Calculation Summary
Chapter 7 Factor Set Level Sequence Generate Level Data Frames Data Frame Structure Summary of Data Frames Show Column Data Summary