Skip to content

beezdemand

0.2.0

Behavioral Economic Easy Demand

1packages depend
3.7Kdownloads / year
63.4%test coverage
13/13checks pass

Overview

About
Maintained by Brent KaplanFirst published 2018-07-313 releasesCRAN page ↗GitHub ↗

Facilitates many of the analyses performed in studies of behavioral economic demand. The package supports commonly-used options for modeling operant demand including (1) data screening proposed by Stein, Koffarnus, Snider, Quisenberry, & Bickel (2015; doi:10.1037/pha0000020), (2) fitting models of demand such as linear (Hursh, Raslear, Bauman, & Black, 1989, doi:10.1007/978-94-009-2470-3_22), exponential (Hursh & Silberberg, 2008, doi:10.1037/0033-295X.115.1.186) and modified exponential (Koffarnus, Franck, Stein, & Bickel, 2015, doi:10.1037/pha0000045), and (3) calculating numerous measures relevant to applied behavioral economists (Intensity, Pmax, Omax). Also supports plotting and comparing data.

Install

Health

CRAN checks
13OK
Slowest check: 13.5 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.44
63.4%
Coverage · measured lines
100%
Documentation · exports
21
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 4,593 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
34%
Documented parameters
99%
Return-value docs
98%
References docs
1%

Downloads

3.7K
CRAN downloads in the past year
Rank #11,451 · ~10/day · ~308/mo
Daily download trend is not available in this view yet.
29430 days
93290 days
3.7K1 year
Compare downloads with other packages →
Also on359 r2u71 autocran

Repository

Repository
17Stars
6Forks
3Open issues
0Open PRs
3Releases
409Commits
3Contributors
409 commits · Last activity 2026-06-30 · 0% stars, 30d

Stars over time

2025-03-29 · 162026-07-07 · 17

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/brentkaplan/beezdemand on 2026-07-19.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (2)
renvdata-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Reverse dependencies
1direct
0indirect

Code & Tests

Code Composition
R 34,020 (73%)Rd 7,822 (17%)Vignettes 4,084 (9%)C 826 (2%)C++ 33 (0%)
Code characteristics
Object systems
S391
Cyclomatic complexity
5.0 median / 98 max
Test cases
513 / 0.44 per code line
System requirements
1 external

Test coverage

Line coverage

63%

Expression

63.1%

Tests / Examples

63.4% / 9% ex

Functions

250 67 exported

Complexity

9.7 avg / 98 max

Call network

250 nodes / 186 edges

Loading call graph…

Lowest coverage

250 functions
FunctionCycloCoverage
ExtraF exp470%
GetSharedK exp210%
GetValsForSim exp40%
PlotCurves exp110%
SimulateDemand exp40%
cp_posthoc_intercepts exp60%

Datasets

Bundled datasets · 7
NameClassRows × ColsAlso ships in
aptdata.frame160 × 3
apt_fulltbl_df/tbl/data.frame18,700 × 8
cannabisCigarettesdata.frame4,950 × 10
etmtbl_df/tbl/data.frame240 × 5
kotbl_df/tbl/data.frame135 × 6
lowNicCleandata.frame5,856 × 5
ongoingETMdata.frame302 × 6

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Contributors (1)
Contributor
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0Latest
    2026-03-03 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.2
    2023-08-26 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.0
    2018-07-31
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-07-31
Total releases
3 / 8 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.1.0
Bundled data
46 KB / 8 files
Download size
5.6 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →