R Object-Oriented Programming
暫譯: R 物件導向程式設計
Kelly Black
- 出版商: Packt Publishing
- 出版日期: 2014-10-28
- 售價: $2,000
- 貴賓價: 9.5 折 $1,900
- 語言: 英文
- 頁數: 190
- 裝訂: Paperback
- ISBN: 1783986689
- ISBN-13: 9781783986682
-
相關分類:
R 語言、Object-oriented
海外代購書籍(需單獨結帳)
相關主題
商品描述
About This Book
- Learn and understand the programming techniques necessary to solve specific problems and speed up development processes for statistical models and applications
- Explore the fundamentals of building objects and how they program individual aspects of larger data designs
- Step-by-step guide to understand how OOP can be applied to application and data models within R
Who This Book Is For
This book is designed for people with some experience in basic programming practices. It is also assumed that they have some basic experience using R and are familiar using the command line in an R environment. Our primary goal is to raise a beginner to a more advanced level to make him/her more comfortable creating programs and extending R to solve common problems.
What You Will Learn
- Understand the fundamental data types and data structures in R
- Explore the basic commands and tools to aid in addressing common tasks
- Use the primary control structures in R to implement algorithms
- Use and develop S3 and S4 classes
- Discover the differences between S3 and S4 classes
- Bring different ideas together to solve common problems
- Understand the fundamental design and approach to object-oriented programming in R
In Detail
R is best suited to produce data and visual analytics through customizable scripts and commands, instead of typical statistical tools that provide tick boxes and drop-down menus for users. The book is divided into three parts to help you perform these steps. It starts by providing you with an overview of the basic data types, data structures, and tools available in R that are used to solve common tasks. It then moves on to offer insights and examples on object-oriented programming with R; this includes an introduction to the basic control structures available in R with examples. It also includes details on how to implement S3 and S4 classes. Finally, the book provides three detailed examples that demonstrate how to bring all of these ideas together.
商品描述(中文翻譯)
一本實用指南,幫助您學習和理解利用 R 的全部功能所需的程式設計技術
關於本書
- 學習和理解解決特定問題所需的程式設計技術,並加速統計模型和應用的開發過程
- 探索建立物件的基本原理,以及它們如何編程大型資料設計的各個方面
- 逐步指南,了解如何將物件導向程式設計(OOP)應用於 R 中的應用程式和資料模型
本書適合誰閱讀
本書是為具有基本程式設計經驗的人設計的。假設讀者對 R 有一些基本經驗,並熟悉在 R 環境中使用命令列。我們的主要目標是將初學者提升到更高的水平,使他們在創建程式和擴展 R 以解決常見問題時更加自信。
您將學到什麼
- 理解 R 中的基本資料類型和資料結構
- 探索基本命令和工具,以幫助解決常見任務
- 使用 R 中的主要控制結構來實現演算法
- 使用和開發 S3 和 S4 類別
- 發現 S3 和 S4 類別之間的差異
- 將不同的想法結合起來以解決常見問題
- 理解 R 中物件導向程式設計的基本設計和方法
詳細內容
R 最適合通過可自訂的腳本和命令生成資料和視覺分析,而不是提供勾選框和下拉選單的典型統計工具。本書分為三個部分,幫助您執行這些步驟。首先,提供 R 中可用的基本資料類型、資料結構和工具的概述,這些工具用於解決常見任務。接著,提供有關 R 中物件導向程式設計的見解和範例;這包括對 R 中可用的基本控制結構的介紹及範例。還包括如何實現 S3 和 S4 類別的詳細資訊。最後,本書提供三個詳細範例,展示如何將所有這些想法結合在一起。