当前位置: X-MOL 学术arXiv.cs.MS › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
distr6: R6 Object-Oriented Probability Distributions Interface in R
arXiv - CS - Mathematical Software Pub Date : 2020-09-07 , DOI: arxiv-2009.02993
Raphael Sonabend and Franz Kiraly

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.

中文翻译:

distr6:R 中的 R6 面向对象概率分布接口

distr6 是一个面向对象 (OO) 概率分布接口,利用了 R6 的可扩展性和可伸缩性,以及 Rcpp 的速度和效率。包中目前实现了 50 多种概率分布,其中包含“核心”方法,包括密度、分布和生成函数,以及更多“奇异”方法,包括危害和分布函数反导数。除了简单的分布之外,distr6 还支持截断、混合和乘积分布等组合。本文介绍了该包的核心功能并演示了关键用例的示例。
更新日期:2020-09-08
down
wechat
bug