Package: beezdemand 0.3.0

beezdemand: Behavioral Economic Easy Demand

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.

Authors:Brent Kaplan [aut, cre, cph], Shawn Gilroy [ctb]

beezdemand_0.3.0.tar.gz
beezdemand_0.3.0.zip(r-4.7)beezdemand_0.3.0.zip(r-4.6)beezdemand_0.3.0.zip(r-4.5)
beezdemand_0.3.0.tgz(r-4.6-x86_64)beezdemand_0.3.0.tgz(r-4.6-arm64)beezdemand_0.3.0.tgz(r-4.5-x86_64)beezdemand_0.3.0.tgz(r-4.5-arm64)
beezdemand_0.3.0.tar.gz(r-4.7-arm64)beezdemand_0.3.0.tar.gz(r-4.7-x86_64)beezdemand_0.3.0.tar.gz(r-4.6-arm64)beezdemand_0.3.0.tar.gz(r-4.6-x86_64)
beezdemand_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
beezdemand/json (API)

# Install 'beezdemand' in R:
install.packages('beezdemand', repos = c('https://brentkaplan.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/brentkaplan/beezdemand/issues

Pkgdown/docs site:https://brentkaplan.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • apt - Example alcohol purchase task data
  • apt_full - Full alcohol purchase task dataset
  • cannabisCigarettes - Cannabis/cigarette cross-price responses
  • cp - Example cross‐price dataset
  • etm - Example Experimental Tobacco Marketplace data
  • ko - Example nonhuman demand data with drug and dose
  • lowNicClean - Low-nicotine cigarette purchase task
  • ongoingETM - Experimental Tobacco Marketplace (ETM) data

On CRAN:

Conda:

cpp

8.84 score 17 stars 1 packages 57 scripts 366 downloads 2 mentions 81 exports 63 dependencies

Last updated from:ee8e8a7296 (on develop). Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK328
linux-devel-x86_64OK370
source / vignettesOK525
linux-release-arm64OK326
linux-release-x86_64OK400
macos-release-arm64OK305
macos-release-x86_64OK552
macos-oldrel-arm64OK235
macos-oldrel-x86_64OK570
windows-develOK405
windows-releaseOK367
windows-oldrelOK347
wasm-releaseOK214

Exports:augmentbeezdemand_calc_pmax_omaxbeezdemand_calc_pmax_omax_vecboot_demandcalc_group_metricscalc_observed_pmax_omaxcalc_omax_pmaxcalculate_amplitude_persistenceChangeDatacheck_demand_modelcheck_systematic_cpcheck_systematic_demandcheck_unsystematic_cpCheckColsCheckUnsystematiccompare_hurdle_modelscompare_modelscp_posthoc_interceptscp_posthoc_slopesextract_coefficientsExtraFfit_cp_linearfit_cp_linear.defaultfit_cp_linear.mixedfit_cp_nlsfit_demand_fixedfit_demand_hurdlefit_demand_mixedfit_demand_tmbFitCurvesFitMeanCurvesget_demand_comparisonsget_demand_param_emmsget_demand_param_trendsget_descriptive_summaryget_empirical_measuresget_hurdle_param_summaryget_individual_coefficientsget_kget_observed_demand_param_emmsget_subject_parsGetAnalyticPmaxGetAnalyticPmaxFallbackGetDescriptivesGetEmpiricalGetKGetSharedKGetValsForSimglancelambertWll4ll4_invpalette_beezdemandpivot_demand_dataplot_alpha_distributionplot_demand_overlayplot_elasticityplot_expenditureplot_loss_profileplot_loss_surfaceplot_model_comparisonplot_qqplot_re_diagnosticsplot_residualsplot_subjectPlotCurvePlotCurvesprint_mc_summarypseudo_ll4_transRecodeOutliersReplaceZerosrun_hurdle_monte_carloscale_color_beezdemandscale_fill_beezdemandscale_ll4simulate_hurdle_dataSimulateDemandtheme_apatheme_beezdemandtidyVarCorr

Dependencies:backportsbayestestRbootbroomclicpp11datawizarddigestdplyremmeansestimabilityfarvergenericsggplot2gluegtableinsightisobandlabelinglatticelhslifecyclelme4magrittrMASSMatrixminpack.lmminqamvtnormnlmenloptrnls.multstartnls2nlsrnlstoolsnumDerivoptimxperformancepillarpkgconfigpracmaprotopurrrR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangS7scalesstringistringrtibbletidyrtidyselectTMButf8vctrsviridisLitewithr

TMB Advanced Random-Effects Structures
Overview | 1. Decision tree: which RE structure? | 2. Factor-expanded REs | 3. Multi-block pdBlocked | 4. Reading subject-level results | Plot and amplitude/persistence guards | 5. Group metrics with conditioning | Marginalization order | 6. Diagnostics | Variance components per block | Multi-start | Convergence troubleshooting | 7. End-to-end workflow | 8. Continuous within-subject random slopes (dose-response) | Cross-references

Last update: 2026-06-21
Started: 2026-05-05

Understanding Convergence in Demand Models
Introduction | What Is Convergence? | Optimization in Nonlinear Models | TMB Convergence Codes (nlminb) | L-BFGS-B Convergence Codes | NLME Convergence Warnings | Understanding Severity | The apVar Issue | NLS Convergence (Fixed-Effect Models) | The Key Insight | Diagnostic Checklist | 1. Parameter Plausibility | TMB Models | NLME Models | Hurdle Models | 2. Standard Errors and Variance Estimates | 3. Gradient Norm (TMB-Specific) | 4. Hessian / apVar Status | 5. Comparison with Nested Converged Models | 6. Stability Across Starting Values | Decision Framework | TMB Decision Table | NLME Decision Table | Remedies by Model Tier | NLME Remedies | Increasing Iterations | Loosening Tolerance for False Convergence | Switching Covariance Structure | Simplifying Random Effects | TMB Remedies | Adjusting TMB Control | Switching Optimizer | Using Warm Starts | Hurdle Model Remedies | Fixed-Effect NLS Remedies | Using check_demand_model() | TMB Example | NLME Example | Live Example with Fixed-Effect Model | Accessing Fit Warnings Directly | Summary | Cross-References | References

Last update: 2026-06-12
Started: 2026-04-21

Hurdle Demand Models
Introduction | When to Use Hurdle Models vs. Standard Models | Model Specification | Part I: Binary Model (Probability of Zero Consumption) | Part II: Continuous Model (Consumption Given Positive) | Random Effects Structure | Getting Started | Data Requirements | Basic Model Fitting | Interpreting Output | Diagnostics | Understanding Results | Fixed Effects | Subject-Specific Parameters | Model Selection: 2-RE vs 3-RE | When to Use Each | Likelihood Ratio Test | Predicting and Scoring | Visualization | Simulation and Validation | Simulating Data | Monte Carlo Simulation Studies | Interpreting Monte Carlo Results | Integration with beezdemand Workflow | Combining with Other Analyses | Exporting Results | Technical Details | TMB Backend | Control Parameters | Custom Starting Values | References | See Also

Last update: 2026-06-12
Started: 2026-01-10

Choosing the Right Demand Model
Introduction | When to Use Demand Analysis | Quick Decision Guide | Data Quality First | Grouped Checks with by | Tier 1: Fixed-Effects NLS | When to Use | Complete Example | Tier 2: Mixed-Effects Models | The LL4 Transformation | Post-Hoc Analysis with emmeans | Tier 2b: TMB Mixed-Effects Models | Advantages Over NLME | Group Comparisons with TMB | Tier 3: Hurdle Models | Understanding the Two-Part Structure | Comparing Hurdle Models | Choosing an Equation | Choosing Parameters | The k Parameter | Interpreting Key Parameters | Troubleshooting FAQ | Model Convergence Issues | Zero Handling | Parameter Comparison Across Models | Summary | Next Steps | References

Last update: 2026-06-03
Started: 2026-01-23

TMB Mixed-Effects Demand Models
Introduction | Quick Start | Choosing an Equation | Mathematical Specifications | Random Effects Structure | Estimating vs. Fixing k | Examining Results | Summary and Coefficients | Subject-Specific Parameters | Amplitude–Persistence Decomposition | Confidence Intervals | Variance-Covariance and the Delta Method | Predictions | Population Metrics | Visualization | Diagnostics | Advanced Visualization | Expenditure and Elasticity | Loss Surface and Profile | Subject Heterogeneity | Multi-Model Comparison | Group Comparisons | Joint Tests | Estimated Marginal Means | Pairwise Comparisons | Model Comparison | Building Nested Models with update() | Convergence Tips | tmb_control Options | Choosing Between fit_demand_tmb() and fit_demand_mixed() | References | See Also

Last update: 2026-06-03
Started: 2026-04-21

Using beezdemand
Rationale Behind beezdemand | Note About Use | Installing beezdemand | CRAN Release (recommended method) | GitHub Release | GitHub Development Version | Using the Package | Example Dataset | Converting from Wide to Long and Vice Versa | Quick conversion with pivot_demand_data() | Obtain Descriptive Data | Change Data | Identify Unsystematic Responses | Analyze Demand Data | Obtaining Empirical Measures | Obtaining Derived Measures | Normalized Alpha ($\alpha^*$) | Share k Globally; Fit Other Parameters Locally | Learn More About Functions | Next Steps | Free beezdemand Alternative with Graphical User Interface | Acknowledgments | Recommended Readings

Last update: 2026-06-03
Started: 2016-10-18

Advanced Mixed-Effects Demand Modeling
Introduction | Model with Two Factors (Additive) | Model with Two Factors and Interaction | Using Different equation_form and y_var | Collapsing Factor Levels | Example: Same collapsing for both parameters | Example: Different collapsing for Q0 and alpha | EMMs and Comparisons with Collapsed Factors | Visualizing Multi-Factor Models | Plotting a Two-Factor Model with Faceting | Plotting a Model Fit with equation_form = "simplified" | Analyzing Estimated Marginal Means (get_demand_param_emms) | Performing Pairwise Comparisons (get_demand_comparisons) | Advanced Topics | More Complex Random Effects Structures | Continuous Covariates and fixed_rhs | A) Additive continuous covariate via continuous_covariates | B) fixed_rhs with a factor (drug) and a continuous covariate (dose) | Trends with emtrends | Model Comparison and Overlay | Comparing Nested Models | Overlaying Demand Curves | See Also

Last update: 2026-05-28
Started: 2026-02-14

Fixed-Effect Demand Modeling with beezdemand
Introduction | Fitting with Different Equations | Hursh & Silberberg ("hs") | Koffarnus ("koff") | Simplified ("simplified") | The k Parameter | Inspecting Fits | tidy(): Per-Subject Parameter Estimates | glance(): Model-Level Summary | augment(): Fitted Values and Residuals | confint(): Confidence Intervals | summary(): Formatted Summary | Normalized Alpha ($\alpha^*$) | Plotting | Basic Demand Curves | Faceted by Subject | Axis Transformations | Diagnostics | Model Checks | Residual Plots | Predictions | Default Predictions | Custom Price Grid | Aggregated Models | Mean Aggregation | Pooled Aggregation | Grouped Analysis with by | Fitting by Group | Grouped Plotting | Grouped Systematicity and Descriptive Checks | Conclusion | See Also

Last update: 2026-04-21
Started: 2026-02-17

Mixed-Effects Demand Modeling with beezdemand
Introduction | Data Preparation | Fitting Demand Models with fit_demand_mixed() | APT Fit and Plot | LL4 transformation with ZBEn | Simplified Exponential | Koffarnus (Exponentiated) Equation Form | Inspecting Fits (tidy / glance / augment) | Diagnostics | Loss Surface and Profile | Basic Model (No Factors) | Model with One Factor | Inspecting Model Fits | Making Predictions (predict()) | Visualizing Model Fits with plot() | Example 1: Plotting a Single-Factor Model | Example 2: Plotting Subject-Specific Lines | Example 3: Customizing Axes (e.g., Log Scale) | Conclusion | See Also

Last update: 2026-04-21
Started: 2026-01-10

Group Comparisons with Extra Sum-of-Squares F-Test
Introduction | Setting Up Groups | Running the Extra Sum-of-Squares F-Test | Visualizing Group Comparisons | See Also

Last update: 2026-02-27
Started: 2026-02-14

How to Use Cross-Price Demand Model Functions
Introduction | Data Structure | Complete Cross-Price Analysis Workflow | Loading the cp Dataset | Step 1: Fit Target Demand (Alone Condition) | Step 2: Fit Target Demand (Own Condition) | Step 3: Fit Cross-Price Model (Alt Condition) | Comparing Results Across Conditions | Combined Visualization | Checking Unsystematic Data | Demonstration from Rzeszutek et al. (2025) | Low Nicotine Study (Kaplan et al., 2018) | Unpublished Cannabis and Cigarette Data | In Progress Experimental Tobacco Marketplace Data | Nonlinear Model Fitting | Two Stage | Fit to Group (pooled by group) | Fit to Group (mean) | Linear Model Fitting | Linear Mixed-Effects Model | Extracting Model Coefficients | Post-hoc Estimated Marginal Means and Comparisons | See Also

Last update: 2026-02-27
Started: 2025-04-27

Migration Guide: FitCurves to fit_demand_fixed
Overview | Why Migrate? | Quick Migration Reference | Basic Migration | Before (FitCurves) | After (fit_demand_fixed) | Extracting Results | Getting Parameter Estimates | Getting Model-Level Statistics | Working with Predictions | Plotting | New in 0.2.0: Diagnostics + Residual Workflows | New in 0.2.0: Unified Systematicity Wrappers | Advanced Features | Aggregated Data (Mean/Pooled) | Parameter Space | Feature Comparison | Suppressing Deprecation Warnings | Need Help? | See Also | Session Information

Last update: 2026-02-27
Started: 2026-01-23

Readme and manuals

Help Manual

Help pageTopics
AIC for Hurdle Demand ModelAIC.beezdemand_hurdle
annotation_logticks2annotation_logticks2
ANOVA Method for Hurdle Demand Modelsanova.beezdemand_hurdle
ANOVA Method for NLME Demand Modelsanova.beezdemand_nlme
Joint Wald and likelihood-ratio tests for a TMB demand fitanova.beezdemand_tmb
Example alcohol purchase task dataapt
Full alcohol purchase task datasetapt_full
Augment a beezdemand_fixed Model with Fitted Values and Residualsaugment.beezdemand_fixed
Augment a beezdemand_hurdle Model with Fitted Values and Residualsaugment.beezdemand_hurdle
Augment a beezdemand_nlme Model with Fitted Values and Residualsaugment.beezdemand_nlme
Augment a beezdemand_tmb Modelaugment.beezdemand_tmb
Augment a Cross-Price Demand Model (Linear)augment.cp_model_lm
Augment a Cross-Price Demand Model (Mixed-Effects)augment.cp_model_lmer
Augment a Cross-Price Demand Model (Nonlinear)augment.cp_model_nls
S3 Methods for beezdemand_descriptive Objectsbeezdemand_descriptive_methods plot.beezdemand_descriptive print.beezdemand_descriptive summary.beezdemand_descriptive
S3 Methods for beezdemand_empirical Objectsbeezdemand_empirical_methods plot.beezdemand_empirical print.beezdemand_empirical summary.beezdemand_empirical
BIC for Hurdle Demand ModelBIC.beezdemand_hurdle
Bootstrap Confidence Intervals for Derived Demand Metricsboot_demand
Calculate Group-Level Demand Metricscalc_group_metrics
Calculate Population-Level Demand Metrics for TMB Modelcalc_group_metrics.beezdemand_tmb
Calculate Observed Pmax/Omax Grouped by IDcalc_observed_pmax_omax
Calculate Omax and Pmax for Demand Curvescalc_omax_pmax
Calculate Amplitude and Persistencecalculate_amplitude_persistence
Cannabis/cigarette cross-price responsescannabisCigarettes
ChangeDataChangeData
Check Demand Model Diagnosticscheck_demand_model check_demand_model.beezdemand_fixed check_demand_model.beezdemand_hurdle check_demand_model.beezdemand_nlme check_demand_model.beezdemand_tmb
Check Cross-Price Data for Unsystematic Respondingcheck_systematic_cp
Check Demand Data for Unsystematic Respondingcheck_systematic_demand
Check for Unsystematic Patterns in Cross-Price Datacheck_unsystematic_cp
Check Column NamesCheckCols
Systematic Purchase Task Data CheckerCheckUnsystematic
Extract Coefficients from Cross-Price Demand Modelscoef-methods coef.cp_model_lm coef.cp_model_lmer coef.cp_model_nls
Extract Coefficients from Fixed-Effect Demand Fitcoef.beezdemand_fixed
Extract Coefficients from Grouped Fixed-Effect Demand Fitcoef.beezdemand_fixed_grouped
Extract Coefficients from Hurdle Demand Modelcoef.beezdemand_hurdle
Extract Coefficients from a beezdemand_nlme Modelcoef.beezdemand_nlme
Extract Coefficients from TMB Modelcoef.beezdemand_tmb
Compare Nested Hurdle Demand Modelscompare_hurdle_models
Compare Demand Modelscompare_models
Confidence Intervals for Fixed-Effect Demand Model Parametersconfint.beezdemand_fixed
Confidence Intervals for Hurdle Demand Model Parametersconfint.beezdemand_hurdle
Confidence Intervals for Mixed-Effects Demand Model Parametersconfint.beezdemand_nlme
Confidence Intervals for TMB Model Parametersconfint.beezdemand_tmb
Confidence Intervals for a Cross-Price Demand Model (Linear)confint.cp_model_lm
Confidence Intervals for a Cross-Price Demand Model (Mixed-Effects)confint.cp_model_lmer
Confidence Intervals for Cross-Price NLS Model Parametersconfint.cp_model_nls
Example cross‐price datasetcp
Run pairwise intercept comparisons for cross-price demand modelcp_posthoc_intercepts
Run pairwise slope comparisons for cross-price demand modelcp_posthoc_slopes
Example Experimental Tobacco Marketplace dataetm
Extract All Coefficient Types from Cross-Price Demand Modelsextract_coefficients
ExtraFExtraF
Fit a Linear Cross-Price Demand Modelfit_cp_linear fit_cp_linear.default fit_cp_linear.mixed
Fit cross-price demand with NLS (+ robust fallbacks)fit_cp_nls
Fit Fixed-Effect Demand Curvesfit_demand_fixed
Fit Two-Part Mixed Effects Hurdle Demand Modelfit_demand_hurdle
Fit Nonlinear Mixed-Effects Demand Modelfit_demand_mixed
Fit Mixed-Effects Demand Models via TMBfit_demand_tmb
FitCurvesFitCurves
Fit Pooled/Mean CurvesFitMeanCurves
Fitted values for a beezdemand_hurdle fitfitted.beezdemand_hurdle
Fitted values for a beezdemand_tmb fitfitted.beezdemand_tmb
Fixed-Effect Demand Curve Fittingfixed-demand
Extract Fixed Effects from a beezdemand_nlme Modelfixef.beezdemand_nlme
Extract Fixed Effects from TMB Modelfixef.beezdemand_tmb
Extract Fixed Effects from Mixed-Effects Cross-Price Modelfixef.cp_model_lmer
Formula for a beezdemand_hurdle fitformula.beezdemand_hurdle
Formula for a beezdemand_tmb fitformula.beezdemand_tmb
Get Pairwise Comparisons for Demand Parametersget_demand_comparisons get_demand_comparisons.beezdemand_nlme get_demand_comparisons.default
Get Demand Parameter Comparisons for TMB Modelget_demand_comparisons.beezdemand_tmb
Get Estimated Marginal Means for Demand Parametersget_demand_param_emms get_demand_param_emms.beezdemand_nlme get_demand_param_emms.default
Get Demand Parameter Estimated Marginal Means for TMB Modelget_demand_param_emms.beezdemand_tmb
Get Trends (Slopes) of Demand Parameters with respect to Continuous Covariatesget_demand_param_trends
Calculate Descriptive Statistics by Priceget_descriptive_summary
Calculate Empirical Demand Measuresget_empirical_measures
Get Hurdle Model Parameter Summaryget_hurdle_param_summary
Calculate Individual-Level Predicted Coefficients from beezdemand_nlme Modelget_individual_coefficients
Calculate K Scaling Parameter for Demand Curve Fittingget_k
Get Estimated Marginal Means for Observed Factor Combinationsget_observed_demand_param_emms
Get Subject-Specific Parametersget_subject_pars
Get Subject-Specific Parameters from an NLME Demand Modelget_subject_pars.beezdemand_nlme
Get Subject-Specific Parameters from TMB Modelget_subject_pars.beezdemand_tmb
Get pmaxGetAnalyticPmax
Analytic Pmax FallbackGetAnalyticPmaxFallback
Get Purchase Task Descriptive SummaryGetDescriptives
GetEmpiricalGetEmpirical
Get KGetK
Get Shared KGetSharedK
Get Values for SimulateDemandGetValsForSim
Glance Method for beezdemand_fixedglance.beezdemand_fixed
Glance Method for beezdemand_fixed_groupedglance.beezdemand_fixed_grouped
Glance at a beezdemand_hurdle Modelglance.beezdemand_hurdle
Glance method for beezdemand_nlmeglance.beezdemand_nlme
Glance Method for beezdemand_systematicityglance.beezdemand_systematicity
Glance at a beezdemand_tmb Modelglance.beezdemand_tmb
Get model summaries from a linear cross-price modelglance.cp_model_lm
Get model summaries from a mixed-effects cross-price modelglance.cp_model_lmer
Get model summaries from a cross-price modelglance.cp_model_nls
Example nonhuman demand data with drug and doseko
Lambert WlambertW
Log-Logistic Transformation (LL4-like)ll4
Inverse Log-Logistic Transformation (Inverse LL4-like)ll4_inv
Extract Log-Likelihood from Hurdle Demand ModellogLik.beezdemand_hurdle
Low-nicotine cigarette purchase tasklowNicClean
Design matrices for a beezdemand_hurdle fitmodel.matrix.beezdemand_hurdle
Design matrices for a beezdemand_tmb fitmodel.matrix.beezdemand_tmb
Sample size for a beezdemand_hurdle fitnobs.beezdemand_hurdle
Number of Observations in a Cross-Price Demand Model (Linear)nobs.cp_model_lm
Number of Observations in a Cross-Price Demand Model (Mixed-Effects)nobs.cp_model_lmer
Number of Observations in a Cross-Price Demand Model (Nonlinear)nobs.cp_model_nls
Experimental Tobacco Marketplace (ETM) dataongoingETM
beezdemand Color Palettepalette_beezdemand
Reshape Demand Data Between Wide and Long Formatspivot_demand_data
Plot Distribution of Subject-Level Alpha Estimatesplot_alpha_distribution plot_alpha_distribution.beezdemand_hurdle plot_alpha_distribution.beezdemand_tmb
Overlay Demand Curves from Multiple Modelsplot_demand_overlay
Plot Own-Price Elasticity Curveplot_elasticity plot_elasticity.beezdemand_hurdle plot_elasticity.beezdemand_tmb
Plot Expenditure Curvesplot_expenditure plot_expenditure.beezdemand_hurdle plot_expenditure.beezdemand_tmb
Plot Loss Profile for a Single Parameterplot_loss_profile plot_loss_profile.beezdemand_hurdle plot_loss_profile.beezdemand_nlme plot_loss_profile.beezdemand_tmb
Plot Loss Surface for Demand Model Parametersplot_loss_surface plot_loss_surface.beezdemand_hurdle plot_loss_surface.beezdemand_nlme plot_loss_surface.beezdemand_tmb
Compare Parameter Estimates Across Modelsplot_model_comparison
Plot Random Effects Q-Qplot_qq plot_qq.beezdemand_hurdle plot_qq.beezdemand_nlme plot_qq.beezdemand_tmb
Diagnostic Plots for Random Effectsplot_re_diagnostics plot_re_diagnostics.beezdemand_hurdle plot_re_diagnostics.beezdemand_tmb
Plot Residual Diagnosticsplot_residuals
Plot Demand Curve for a Single Subjectplot_subject
beezdemand Plot Theme and Color Paletteplot-theme
Plot Method for beezdemand_fixedplot.beezdemand_fixed
Plot Method for beezdemand_fixed_groupedplot.beezdemand_fixed_grouped
Plot Demand Curves from Hurdle Demand Modelplot.beezdemand_hurdle
Plot Method for beezdemand_nlme Objectsplot.beezdemand_nlme
Plot TMB Mixed-Effects Demand Modelplot.beezdemand_tmb
Plot Method for Linear Cross-Price Demand Modelsplot.cp_model_lm
Plot Method for Mixed-Effects Cross-Price Demand Modelsplot.cp_model_lmer
Plot a Cross-Price Demand Model (Nonlinear)plot.cp_model_nls
Plot CurvePlotCurve
Plot CurvesPlotCurves
Predict Method for beezdemand_fixedpredict.beezdemand_fixed
Predict Method for Hurdle Demand Modelspredict.beezdemand_hurdle
Predict Method for beezdemand_nlme Objectspredict.beezdemand_nlme
Predict from TMB Mixed-Effects Demand Modelpredict.beezdemand_tmb
Predict method for cp_model_lm objects.predict.cp_model_lm
Predict from a Mixed-Effects Cross-Price Demand Modelpredict.cp_model_lmer
Predict from a Cross-Price Demand Model (Nonlinear)predict.cp_model_nls
Print Monte Carlo Simulation Resultsprint_mc_summary
Print Method for ANOVA Comparisonsprint.anova.beezdemand_hurdle
Print method for beezdemand_comparison objectsprint.beezdemand_comparison
Print Method for Diagnostic Plotsprint.beezdemand_diagnostic_plots
Print Method for Model Diagnosticsprint.beezdemand_diagnostics
Print Method for beezdemand_fixedprint.beezdemand_fixed
Print Method for beezdemand_fixed_groupedprint.beezdemand_fixed_grouped
Print Method for Hurdle Demand Modelprint.beezdemand_hurdle
Print Method for Model Comparisonprint.beezdemand_model_comparison
Print Method for beezdemand_nlme Objectsprint.beezdemand_nlme
Print Method for beezdemand Summary Objectsprint.beezdemand_summary
Print Method for beezdemand_systematicityprint.beezdemand_systematicity
Print Method for TMB Mixed-Effects Demand Modelprint.beezdemand_tmb
Print a Cross-Price Demand Model (Linear)print.cp_model_lm
Print a Cross-Price Demand Model (Mixed-Effects)print.cp_model_lmer
Print a Cross-Price Demand Model (Nonlinear)print.cp_model_nls
Print method for cp_posthoc objectsprint.cp_posthoc
Print Method for summary.beezdemand_fixedprint.summary.beezdemand_fixed
Print Summary of Hurdle Demand Modelprint.summary.beezdemand_hurdle
Print method for summary.beezdemand_nlmeprint.summary.beezdemand_nlme
Print Method for summary.beezdemand_systematicityprint.summary.beezdemand_systematicity
Print Method for TMB Model Summaryprint.summary.beezdemand_tmb
Print method for summary.cp_model_lm objects.print.summary.cp_model_lm
Print method for summary.cp_model_lmer objects.print.summary.cp_model_lmer
Print method for summary.cp_model_nls objectsprint.summary.cp_model_nls
Print Method for Cross-Price Unsystematic Summaryprint.summary.cp_unsystematic
Create a Pseudo-Log LL4 Transformation Object for ggplot2pseudo_ll4_trans
Extract Random Effects from a beezdemand_nlme Modelranef.beezdemand_nlme
Extract Random Effects from TMB Modelranef.beezdemand_tmb
Extract Random Effects from Mixed-Effects Cross-Price Modelranef.cp_model_lmer
Recode OutliersRecodeOutliers
Replace ZerosReplaceZeros
Residuals for a beezdemand_hurdle fitresiduals.beezdemand_hurdle
Residuals for a beezdemand_tmb fitresiduals.beezdemand_tmb
Run Monte Carlo Simulation Study for Hurdle Demand Modelrun_hurdle_monte_carlo
beezdemand Color Scale (Discrete)scale_color_beezdemand
beezdemand Fill Scale (Discrete)scale_fill_beezdemand
Create an LL4-like Scale for ggplot2 Axesscale_ll4
Simulate Data from Two-Part Mixed Effects Hurdle Demand Modelsimulate_hurdle_data
Simulate Demand DataSimulateDemand
Summary Method for beezdemand_fixedsummary.beezdemand_fixed
Summary Method for beezdemand_fixed_groupedsummary.beezdemand_fixed_grouped
Summarize a Hurdle Demand Model Fitsummary.beezdemand_hurdle
Summary method for beezdemand_nlmesummary.beezdemand_nlme
Summary Method for beezdemand_systematicitysummary.beezdemand_systematicity
Summarize a TMB Mixed-Effects Demand Model Fitsummary.beezdemand_tmb
Summary method for cp_model_lm objects.summary.cp_model_lm
Summary method for cp_model_lmer objects.summary.cp_model_lmer
Summarize a Cross-Price Demand Model (Nonlinear)summary.cp_model_nls
Summarize Cross-Price Unsystematic Data Check Resultssummary.cp_unsystematic
Systematicity Check Wrapperssystematic-wrappers
APA Themetheme_apa
beezdemand Plot Themetheme_beezdemand
Tidy a demand-parameter comparison into a flat contrasts frametidy.beezdemand_comparison
Tidy Method for beezdemand_fixedtidy.beezdemand_fixed
Tidy Method for beezdemand_fixed_groupedtidy.beezdemand_fixed_grouped
Tidy a beezdemand_hurdle Modeltidy.beezdemand_hurdle
Tidy method for beezdemand_nlmetidy.beezdemand_nlme
Tidy Method for beezdemand_systematicitytidy.beezdemand_systematicity
Tidy a beezdemand_tmb Modeltidy.beezdemand_tmb
Extract coefficients from a linear cross-price model in tidy formattidy.cp_model_lm
Extract coefficients from a mixed-effects cross-price model in tidy formattidy.cp_model_lmer
Convert a cross-price model to a tidy data frame of coefficientstidy.cp_model_nls
Update a beezdemand_tmb fitupdate.beezdemand_tmb
Random-Effect Variance Components for a TMB Demand ModelVarCorr.beezdemand_tmb
Variance-covariance matrix for a beezdemand_hurdle fitvcov.beezdemand_hurdle
Variance-covariance matrix for a beezdemand_tmb fitvcov.beezdemand_tmb