beezdemand
0.2.0Behavioral Economic Easy Demand
Overview
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
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-03-1011 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 34%
- Documented parameters
- 99%
- Return-value docs
- 98%
- References docs
- 1%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
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.
Show all practices
Dependencies
Code & Tests
- 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
Call graph
Open call graph →Lowest coverage
250 functions| Function | Cyclo | Coverage |
|---|---|---|
| ExtraF exp | 47 | 0% |
| GetSharedK exp | 21 | 0% |
| GetValsForSim exp | 4 | 0% |
| PlotCurves exp | 11 | 0% |
| SimulateDemand exp | 4 | 0% |
| cp_posthoc_intercepts exp | 6 | 0% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| apt | data.frame | 160 × 3 | – |
| apt_full | tbl_df/tbl/data.frame | 18,700 × 8 | – |
| cannabisCigarettes | data.frame | 4,950 × 10 | – |
| etm | tbl_df/tbl/data.frame | 240 × 5 | – |
| ko | tbl_df/tbl/data.frame | 135 × 6 | – |
| lowNicClean | data.frame | 5,856 × 5 | – |
| ongoingETM | data.frame | 302 × 6 | – |
People & History
3 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.2.0Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.1.22023-08-26 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.1.02018-07-31
- RR 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