Skip to content

betafunctions

Functions for Working with Two- And Four-Parameter Beta Probability Distributions and Psychometric Analysis of Classifications

v1.9.0 · Mar 6, 2024 · CC0

Description

Package providing a number of functions for working with Two- and Four-parameter Beta and closely related distributions (i.e., the Gamma- Binomial-, and Beta-Binomial distributions). Includes, among other things: - d/p/q/r functions for Four-Parameter Beta distributions and Generalized "Binomial" (continuous) distributions, and d/p/r- functions for Beta- Binomial distributions. - d/p/q/r functions for Two- and Four-Parameter Beta distributions parameterized in terms of their means and variances rather than their shape-parameters. - Moment generating functions for Binomial distributions, Beta-Binomial distributions, and observed value distributions. - Functions for estimating classification accuracy and consistency, making use of the Classical Test-Theory based 'Livingston and Lewis' (L&L) and 'Hanson and Brennan' approaches. A shiny app is available, providing a GUI for the L&L approach when used for binary classifications. For url to the app, see documentation for the LL.CA() function. Livingston and Lewis (1995) <doi:10.1111/j.1745-3984.1995.tb00462.x>. Lord (1965) <doi:10.1007/BF02289490>. Hanson (1991) <https://files.eric.ed.gov/fulltext/ED344945.pdf>.

Downloads

CRAN

508

Last 30 days

7853rd

1.7K

Last 90 days

6.5K

Last year

Trend: +7.6% (30d vs prior 30d)

r2u CRAN

2

Last 30 days

30

Last 90 days

179

Last year

Trend: -80% (30d vs prior 30d)

autoCRAN

14

Last 7 days

26

Last 30 days

3

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Haakon Eidem Haakstad <h.e.haakstad@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = c("Haakon", "Eidem"),
                    family = "Haakstad",
                    role = c("aut", "cre"),
                    email = "h.e.haakstad@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Haakon Eidem Haakstad <h.e.haakstad@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = c("Haakon", "Eidem"),
                    family = "Haakstad",
                    role = c("aut", "cre"),
                    email = "h.e.haakstad@gmail.com")
as necessary.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Haakon Eidem Haakstad <h.e.haakstad@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = c("Haakon", "Eidem"),
                    family = "Haakstad",
                    role = c("aut", "cre"),
                    email = "h.e.haakstad@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Haakon Eidem Haakstad <h.e.haakstad@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = c("Haakon", "Eidem"),
                    family = "Haakstad",
                    role = c("aut", "cre"),
                    email = "h.e.haakstad@gmail.com")
as necessary.

Line coverage

Expression

Tests / Examples

Functions

65 64 exported

Complexity

5.6 avg / 46 max

Call network

65 nodes / 78 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

6,164

Files

72

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,306 (53.6%)Docs 2,858 (46.4%)

API

Exported functions

64

Internal functions

1

Recent export changes

v1.8.0+11 HB.CA, HB.CA.MC, HB.ROC +8 more
v1.7.0+7 MC.out.tabular, R.ETL, betabinomialmoments +4 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

71.9%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

66.7%

Unsafe pattern score

0

Dep constraint coverage

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

CC0

License flags

SPDX valid, not OSI

History

Versions

17

First release

2020-05-02

Latest release

2024-03-06

Avg cadence

50 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0.2: 1,679 LOCv1.1.0: 1,775 LOCv1.2.0: 2,104 LOCv1.2.1: 2,170 LOCv1.2.2: 2,161 LOCv1.3.0: 2,258 LOCv1.4.0: 2,847 LOCv1.4.2: 2,900 LOCv1.4.3: 3,155 LOCv1.4.4: 3,151 LOCv1.5.0: 3,786 LOCv1.6.0: 4,126 LOCv1.6.1: 4,261 LOCv1.7.0: 4,842 LOCv1.8.0: 6,213 LOCv1.8.1: 6,302 LOCv1.9.0: 6,164 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies IRTest betafunctions

Version History

18 tracked
new 1.9.0 Mar 10, 2026
updated 1.9.0 ← 1.8.1 diff Mar 5, 2024
updated 1.8.1 ← 1.8.0 diff Dec 3, 2022
updated 1.8.0 ← 1.7.0 diff Oct 12, 2022
updated 1.7.0 ← 1.6.1 diff Apr 11, 2022
updated 1.6.1 ← 1.6.0 diff Sep 19, 2021
updated 1.6.0 ← 1.5.0 diff Aug 18, 2021
updated 1.5.0 ← 1.4.4 diff Apr 29, 2021
updated 1.4.4 ← 1.4.3 diff Feb 5, 2021
updated 1.4.3 ← 1.4.2 diff Jan 30, 2021
updated 1.4.2 ← 1.4.0 diff Dec 3, 2020
updated 1.4.0 ← 1.3.0 diff Oct 17, 2020
updated 1.3.0 ← 1.2.2 diff Oct 3, 2020
updated 1.2.2 ← 1.2.1 diff Sep 15, 2020
updated 1.2.1 ← 1.2.0 diff Sep 1, 2020