Skip to contents

curveR Ecosystem Entry Points

The recommended API for users coming from curveRfreq or curveRbayes. as_weight_data() converts a calibration_result(_multiplate) into the standardised input frame. fit_precision_weights() estimates phi and beta1. predict_weights() applies fitted weights to new data. join_weights() attaches weights back onto a sample data frame.

as_weight_data()
Build precision-weight input from a curveR calibration result
fit_precision_weights()
Estimate precision weights from a curveR calibration result
predict_weights()
Apply fitted precision weights to new observations
join_weights()
Join estimated weights back onto a data frame

Precision Index Preparation

Functions that compute and diagnose the precision index used as the scale predictor. prepare_cv() builds yi, cv_i, and log_cv from concentration and precision columns. diagnose_cv() checks whether the precision index has enough variation to identify beta1. interpret_beta1() classifies the estimated exponent into human-readable regimes.

prepare_cv()
Prepare the Precision Index from Calibration Curve Output
diagnose_cv()
Diagnose Precision Index Variation for Scale Estimation
interpret_beta1()
Interpret the Estimated Beta1 Value

Weight Computation

Deterministic weight computation from estimated scale parameters and summary diagnostics for the resulting weight distribution.

compute_saturated_weights()
Compute Precision Weights from Estimated Scale Parameters
weight_diagnostics()
Compute Summary Diagnostics for Precision Weights

Core Fitting Engine

Lower-level functions that fit the joint Bayesian location-scale model via brms. fit_saturated_weight() fits one group; fit_saturated_weight_batch() loops over multiple groups. apply_saturated_weights() applies a saved scale_table to new data without refitting.

fit_saturated_weight()
Fit a Bayesian Location-Scale Model with Saturated Location and Shared Scale
fit_saturated_weight_batch()
Fit Saturated Weight Models Across Multiple Groups
apply_saturated_weights()
Apply Previously Estimated Scale Parameters to New Data

Example Dataset

Anonymised Luminex multiplex immunoassay data for testing and documentation.

example_assay
Example Luminex Multiplex Immunoassay Data