About This Book Total length of this book is 328 pages, it includes two parts: 1. R Programming for Beginners 2. R Real World Code & Explanations. Part 1: "R Programming" 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 . Part 2: "R Real World Code" includes a lot of R practical examples & explanations for beginners . Through these useful examples & explanations, you can study R programming skills in depth, master skillfully the R coding knowledge, and become an expert of R programming . These examples & explanations cover various types of R programming skills, such as operators, statement, array, string, function, class, object, file processing, exception ...... , which can be applied to the real R programming work . Table of Contents Part One: Proramming for Beginners Chapter 1 R Introduction R Installation ...... Chapter 2 Data Type Variables ...... Chapter 3 Operators Addition ...... Chapter 4 If Statement If...else Statement ...... Chapter 5 Vector sep( ) function ...... Chapter 6 Matrix Access the Matrix ...... Chapter 7 Factor Set Level Sequence ...... Chapter 8 Add Columns to Data Frame Add Rows to Data Frame ...... Appendix Q & A Questions Answers Part Two: Real World Code & Explanations 01. Connect two strings and get length 02. Generate some random numbers 03. Square root & cube root 04. Calculate a triangle area 05. Convert between Celsius and Fahrenheit 06. Get some reversed numbers 07. ASCII code and character 08. The volume of a sphere 09. Check even, odd, decimal number 10. Print a square pattern 11. Largest, middle, smallest number 12. Check prime number 13. Miles and kilometers 14. Find the greatest common divisor 15. Get the greatest common divisor 16. Print a triangle pattern 17. Current year, month, date, time 18. Get the sum or product 19. Count the characters and spaces 20. Sort numbers in descending or ascending order 21. Swap values of two variable 22. Arithmetical calculation 23. A number devided by zero 24. Score and rating 25. Sort words alphabetically 26. Calculate the factorial of a number 27. Write a file on the C drive 28. Read the file on the C drive. 29. Print a diamond pattern 30. Using placeholders 31. The 9x9 multiplication table 32. Get the sum of the ''1! + 2! ... + 10!'' 33. Flowers and rose 34. Polymorphism of dog and cat 35. Check email address validity 36. Reverse a string 37. Uppercase and lowercase 38. Find out special characters 39. Decimal number and binary number 40. Check if a word exists in a sentence 41. Generate lottery numbers 42. Print a pyramid pattern 43. Find index of a character 44. Drop a column of a dataframe 45. Add dollar symbol to price 46. Merge two dataframes 47. Convert a list to a dataframe 48. Compare two strings 49. Format decimal places 50. The highest number of occurrences 51. Remove the whitespaces 52. Replace some characters in a string 53. Create a list by dataframes 54. Calculate mean and standard deviation 55. Calculate median and standard deviation 56. Statistics data in a string
ThriftBooks sells millions of used books at the lowest everyday prices. We personally assess every book's quality and offer rare, out-of-print treasures. We deliver the joy of reading in recyclable packaging with free standard shipping on US orders over $15. ThriftBooks.com. Read more. Spend less.