论文标题

inter6:R6面向对象的概率分布接口

distr6: R6 Object-Oriented Probability Distributions Interface in R

论文作者

Sonabend, Raphael, Kiraly, Franz

论文摘要

ext6是一个面向对象的(OO)概率分布接口,利用R6的可扩展性和可扩展性以及RCPP的速度和效率。当前,该包中有50多种概率分布,其中包括“核心”方法,包括密度,分布和生成功能,以及更多的“外来”函数,包括危害和分布功能抗衍生物。除了简单的分布外,ISTR6还支持诸如截断,混合物和产品分布之类的组成。本文介绍了包装的核心功能,并演示了关键用例的示例。此外,本文对R中的面向对象的编程范例进行了批判性审查,并描述了该设计模式和核心对象的功能的一些新颖实现,该功能由包装介绍,用于支持ISTRIST 6组件。

distr6 is an object-oriented (OO) probability distributions interface leveraging the extensibility and scalability of R6, and the speed and efficiency of Rcpp. Over 50 probability distributions are currently implemented in the package with `core' methods including density, distribution, and generating functions, and more `exotic' ones including hazards and distribution function anti-derivatives. In addition to simple distributions, distr6 supports compositions such as truncation, mixtures, and product distributions. This paper presents the core functionality of the package and demonstrates examples for key use-cases. In addition this paper provides a critical review of the object-oriented programming paradigms in R and describes some novel implementations for design patterns and core object-oriented features introduced by the package for supporting distr6 components.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源