Package: crossStatR 0.99.2

crossStatR: Scientific Statistics for Biological, Electrochemical, Optical and Physics Experiments

A unified scientific statistics framework for biological experiments, electrochemical measurements, optical and spectroscopic measurements, and experimental physics data. Combines established methods (descriptive statistics, hypothesis testing, regression, ANOVA, power analysis, mixed-effects variance decomposition, calibration, peak fitting) with diagnostic methods for experimental analysis (region-level signal difference testing, peak-evidence assessment, calibration-transfer risk, kinetic discrimination, experimental fragility, drift uncertainty attribution, analytical detection reliability, and stage-wise uncertainty-origin attribution). Every advanced method is documented with its mathematical formulation, assumptions, comparison with established alternatives, and known limitations. The package is intentionally conservative: it does not silently remove observations, does not select hypothesis tests solely on the basis of a normality-test p-value, and distinguishes technical from biological replicates in its variance models.

Authors:Rohan R [aut, cre, cph]

crossStatR_0.99.2.tar.gz
crossStatR_0.99.2.zip(r-4.7-any)crossStatR_0.99.2.zip(r-4.6-any)crossStatR_0.99.2.zip(r-4.5-any)
crossStatR_0.99.2.tgz(r-4.6-any)crossStatR_0.99.2.tgz(r-4.5-any)
crossStatR_0.99.2.tar.gz(r-4.7-any)crossStatR_0.99.2.tar.gz(r-4.6-any)
crossStatR_0.99.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
crossStatR/json (API)

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

Bug tracker:https://github.com/rotsl/crossstatr/issues

On CRAN:

Conda:

biologyexperiment-analysisopticsphysicsr-studiospectroscopic-datastatistical-analysis

3.48 score 33 exports 30 dependencies

Last updated from:dbe682764e. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK144
source / vignettesOK199
linux-releaseOK143
macos-releaseOK140
macos-oldrelOK125
windows-develOK93
windows-releaseOK80
windows-oldrelOK93
wasm-releaseOK104

Exports:adaptive_baselineadaptive_smoothingbatch_effect_quantifycalibration_comparecalibration_transfer_riskcurve_similaritydetection_reliabilitydrift_correct_statdrift_uncertaintyexperiment_fragilitykinetic_discriminationkinetic_model_comparenoise_characterizeparameter_uncertaintypeak_evidencereplicate_decomposerobust_lodsci_anovasci_bootstrapsci_comparesci_correlationsci_describesci_effect_sizesci_normalitysci_outlierssci_powersci_regressionsignal_difference_regionsspectral_change_testtidy.crossstatr_resulttimepoint_optimizeuncertainty_originweighted_peak_fit

Dependencies:bootclicpp11farverggplot2gluegtableisobandlabelinglatticelifecyclelme4MASSMatrixminqanlmenloptrR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangS7scalesvctrsviridisLitewithr

Advanced Uncertainty Attribution
Development validation | What Category C is for | The synthetic case | drift_uncertainty: how much variance is drift? | calibration_transfer_risk: what happens if the analyst skips recalibration? | detection_reliability: a curve, not a single number | experiment_fragility: how robust is the result? | uncertainty_origin: Allocation of additive variance | What these methods are not | References

Last update: 2026-11-16
Started: 2026-11-16

Biological Experiment Statistics
Development validation | The pseudo-replication problem | Simulating a dose-response experiment | Descriptive statistics at the right level | Plotting the data honestly | Two-group comparison | ANOVA across all doses | Effect size with confidence interval | When the design is more complex | What to take away | References

Last update: 2026-11-16
Started: 2026-11-16

crossStatR: An Introduction
Development validation | What crossStatR is for | Installation | A quick example | Function catalogue | Where to go next | References

Last update: 2026-11-16
Started: 2026-11-16

Electrochemical Measurement Statistics
Development validation | Scope of this vignette | Simulated cyclic voltammetry | Baseline estimation | Peak fitting on the baseline-corrected signal | Drift correction with uncertainty | Limits of detection | What to take away | Measured Caltech electrochemistry data | References

Last update: 2026-11-16
Started: 2026-11-16

Experimental Physics Statistics
Development validation | What is different about physics data | Simulated exponential decay | Weighted least squares with measurement uncertainties | Characterising the noise | Model comparison: first-order vs. biexponential | Parameter uncertainty: delta method vs. Monte Carlo vs. bootstrap | How smoothing biases downstream inference | What to take away | References

Last update: 2026-11-16
Started: 2026-11-16

Optical Spectroscopy Statistics
Development validation | Why optical spectroscopy needs its own statistics | Simulated UV-Vis-like spectra | Adaptive smoothing with peak preservation | Peak evidence: is the candidate peak real? | Simultaneous confidence bands for curve differences | What simultaneous bands provide that pointwise tests do not | When the method fails | What to take away | References

Last update: 2026-11-16
Started: 2026-11-16

Readme and manuals

Help Manual

Help pageTopics
Adaptive baseline estimationadaptive_baseline
Adaptive smoothing for noisy signalsadaptive_smoothing
Quantify batch effectsbatch_effect_quantify
Compare two calibration curves via ANCOVAcalibration_compare
Statistical framework for calibration transfer riskcalibration_transfer_risk
Curve similarity between two curves on possibly different x gridscurve_similarity
Reliability analysis for analytical detectiondetection_reliability
Drift correction with uncertainty quantificationdrift_correct_stat
Statistical attribution of uncertainty to instrument driftdrift_uncertainty
Quantitative experimental fragility assessmentexperiment_fragility
Discriminability of competing kinetic modelskinetic_discrimination
Compare candidate kinetic modelskinetic_model_compare
Characterize measurement noisenoise_characterize
Propagate parameter uncertainty to derived quantitiesparameter_uncertainty
Statistical evidence assessment for signal peakspeak_evidence
Variance component decomposition for nested and crossed replicatesreplicate_decompose
Limits of detection and quantificationrobust_lod
ANOVA and related analysessci_anova
Bootstrap resampling with multiple CI typessci_bootstrap
Group comparisons for experimental datasci_compare
Correlation analysis with confidence intervalssci_correlation
Descriptive statistics for scientific experimentssci_describe
Standardized effect sizes with confidence intervalssci_effect_size
Normality assessment for experimental datasci_normality
Outlier diagnostics for experimental datasci_outliers
Power and sample size for common designssci_power
Regression for scientific experimentssci_regression
Statistical identification of regions where experimental curves differsignal_difference_regions
Test for differences across complete spectraspectral_change_test
Generic: summary of crossStatR resultsummary.crossstatr_result
Generic: tidy a crossStatR resulttidy.crossstatr_result
Optimise sampling timepoints for an experimenttimepoint_optimize
Stage-wise uncertainty attribution frameworkuncertainty_origin
Weighted multi-peak fittingweighted_peak_fit