Advanced Object-Oriented Programming in R: Statistical Programming for Data Science, Analysis and Finance

Thomas Mailund

  • 出版商: Apress
  • 出版日期: 2017-06-24
  • 售價: $1,030
  • 貴賓價: 9.5$979
  • 語言: 英文
  • 頁數: 128
  • 裝訂: Paperback
  • ISBN: 1484229185
  • ISBN-13: 9781484229187
  • 相關分類: R 語言Object-orientedData Science
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Learn how to write object-oriented programs in R and how to construct classes and class hierarchies in the three object-oriented systems available in R. This book gives an introduction to object-oriented programming in the R programming language and shows you how to use and apply R in an object-oriented manner. You will then be able to use this powerful programming style in your own statistical programming projects to write flexible and extendable software.
 
After reading Advanced Object-Oriented Programming in R, you'll come away with a practical project that you can reuse in your own analytics coding endeavors. You’ll then be able to visualize your data as objects that have state and then manipulate those objects with polymorphic or generic methods. Your projects will benefit from the high degree of flexibility provided by polymorphism, where the choice of concrete method to execute depends on the type of data being manipulated. 
 
 
What You'll Learn
  • Define and use classes and generic functions using R 
  • Work with the R class hierarchies
  • Benefit from implementation reuse
  • Handle operator overloading
  • Apply the S4 and R6 classes 
 
Who This Book Is For
 
Experienced programmers and for those with at least some prior experience with R programming language.
 
 

商品描述(中文翻譯)

學習如何在 R 中撰寫物件導向程式,以及如何在 R 中建立類別和類別層次結構的三種物件導向系統。本書介紹了 R 程式語言中的物件導向程式設計,並展示了如何以物件導向方式使用和應用 R。您將能夠在自己的統計程式設計專案中使用這種強大的程式設計風格,撰寫靈活且可擴展的軟體。

閱讀完《Advanced Object-Oriented Programming in R》後,您將獲得一個實用的專案,可在自己的分析編碼工作中重複使用。您將能夠將資料視為具有狀態的物件,並使用多型或通用方法來操作這些物件。多型提供了高度靈活性,根據被操作的資料類型選擇具體的方法,這將使您的專案受益匪淺。

您將學到以下內容:
- 使用 R 定義和使用類別和通用函數
- 操作 R 的類別層次結構
- 利用實作重複使用
- 處理運算子重載
- 應用 S4 和 R6 類別

本書適合有經驗的程式設計師,以及至少具備一些 R 程式語言經驗的讀者。