Package: inferguidR 0.0.0.9000

Raban Heller

inferguidR: Guided Inference, Power Analysis and Diagnostic Accuracy

Plans and explains statistical analyses. Provides a registry of power-analysis procedures modelled on the test inventory of the 'G*Power' 3.1 program, immutable analysis specifications that are validated against each procedure's modes, inputs and options, and results that always carry a typed status (ok, infeasible, unsupported, invalid input, numerical failure or reference pending) together with provenance and a reproducible R call. Specifications, results, analysis envelopes, advisor recommendations and report snapshots are serialised as canonical JSON with SHA-256 hashes and versioned JSON Schemas, and are imported again without evaluating code. Power calculations, diagnostic-accuracy and classifier-cutoff tools, a guided method advisor and an interactive 'shiny' application are added in stages; a procedure without an implemented engine returns the status 'unsupported' instead of a number. Numerical agreement with 'G*Power' is not claimed until it has been shown against recorded reference cases.

Authors:Raban Heller [aut, cre, cph]

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

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

Bug tracker:https://github.com/cttir/inferguidr/issues

On CRAN:

Conda:

3.78 score 98 exports 2 dependencies

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

TargetResultTimeFilesSyslog
linux-develOK985
source / vignettesOK281
linux-releaseOK1008
macos-releaseOK942
macos-oldrelOK803
windows-develOK838
windows-releaseOK1419
windows-oldrelOK1436
wasm-releaseOK131

Exports:advisor_answeradvisor_backadvisor_clear_overrideadvisor_overrideadvisor_power_specadvisor_questionadvisor_r_codeadvisor_recommendationadvisor_replayadvisor_restoreadvisor_rulesadvisor_saveadvisor_sessionadvisor_set_languageadvisor_validate_rulesanalysis_envelopeanalysis_specattach_classification_databinormal_modelbinormal_ratesboschloo_compare_fisherboschloo_controlboschloo_plotdata_allocationboschloo_plotdata_latticeboschloo_plotdata_nuisanceboschloo_plotdata_power_effectboschloo_plotdata_power_nboschloo_powerboschloo_probabilitiesboschloo_regionboschloo_sample_sizeboschloo_testboschloo_variantscalculate_powercalculator_functionscalibration_summaryclassification_aucclassification_evaluated_specclassification_examplesclassification_metricsclassification_plot_dataclassification_specclassification_tableclassification_uncertaintyclassifier_modelcompare_classifierscompare_designscreate_report_snapshotcutoff_rulecutoff_sweepdistribution_calculatoreffect_sizeevaluate_cutoffexport_reportformat_metric_valuesig_configig_domain_choiceig_domain_integerig_domain_logicalig_domain_realig_from_jsonig_hashig_methodig_optionig_optionsig_paramig_param_alphaig_param_error_ratioig_param_n_totalig_param_powerig_paramsig_statusig_status_codesig_to_jsonis_ig_statuslaunch_applearning_lessonlist_methodsmetric_dictionarynet_benefitplot_classificationplot_design_sweepplot_powerpower_plot_datappv_gap_max_prevalencepr_summarypredictive_values_at_prevalenceprevalence_for_ppv_targetprevalence_scenarioprotocol_recordprotocol_textreport_pdf_capabilitiesselect_cutoffsolve_designsweep_designvalidation_statusworkbench_appxy_plot_data

Dependencies:digestjsonlite

Classification metrics and explicit operating points
Start with the four counts | State how scored observations are evaluated | Inspect probability diagnostics at explicit thresholds | Missingness and uncertainty | Keep the analysis record

Last update: 2026-10-28
Started: 2026-10-14

Guided analysis and reproducible power calculations
Describe the question | Make the assumptions explicit | Inspect the result before using it | Check an invalid request | Save a specification and verify its round trip | Continue

Last update: 2026-10-28
Started: 2026-10-14

Statistical glossary / Statistisches Glossar
Inference and study design / Inferenz und Studienplanung | Classifiers and validation / Klassifikatoren und Validierung | One set of counts, two languages / Ein Datensatz, zwei Sprachen

Last update: 2026-10-28
Started: 2026-10-26

Understanding validation status
Inspect the method before using a result | Inspect the actual outcome | Reproduce the public checks

Last update: 2026-10-28
Started: 2026-10-26

Readme and manuals

Help Manual

Help pageTopics
Answer, change or retract advisor questionsadvisor_answer advisor_back
Replace the recommended variant by a listed alternativeadvisor_clear_override advisor_override
Create a power specification for an explicitly mapped advisor variantadvisor_power_spec
Show an advisor questionadvisor_question
Export the selected advisor method as an executable R teaching exampleadvisor_r_code
Recommendation for an advisor sessionadvisor_recommendation
Replay an answer map (deep link)advisor_replay
Load an advisor rule setadvisor_rules
Save and restore an advisor sessionadvisor_restore advisor_save
Start a guided advisor walkthroughadvisor_session
Change the language of an advisor sessionadvisor_set_language
Validate an advisor rule setadvisor_validate_rules
Wrap a specification and its result in an analysis envelopeanalysis_envelope
Create an analysis specificationanalysis_spec
Reattach scored data to a classification specificationattach_classification_data
Binormal score modelbinormal_model
Analytic rates of the binormal model at given cutoffsbinormal_rates
Compare Boschloo's and Fisher's rejection regionsboschloo_compare_fisher
Numerical settings for Boschloo's testboschloo_control
Plot data: Boschloo power versus the allocation at a fixed totalboschloo_plotdata_allocation
Plot data: lattice of possible tables with the Boschloo rejection regionboschloo_plotdata_lattice
Plot data: nuisance envelopeboschloo_plotdata_nuisance
Plot data: Boschloo power versus the alternativeboschloo_plotdata_power_effect
Plot data: Boschloo power versus sample sizeboschloo_plotdata_power_n
Power of Boschloo's test for a fixed designboschloo_power
Event probabilities from a baseline and an effectboschloo_probabilities
Rejection region of Boschloo's test for a fixed designboschloo_region
Sample size for Boschloo's testboschloo_sample_size
Boschloo's unconditional exact test for two independent binomial samplesboschloo_test
Boschloo test variants and their evidence statusboschloo_variants
Calculate a power analysiscalculate_power
Functions of the distribution calculatorcalculator_functions
Calibration of predicted probabilitiescalibration_summary
ROC AUC and partial AUC of scored modelsclassification_auc
Specification behind a classification resultclassification_evaluated_spec
Deterministic example classification analysesclassification_examples
Classification metrics from 2x2 countsclassification_metrics
Plot-ready data for the linked classification panelsclassification_plot_data
Specify a binary classification or cutoff analysisclassification_spec
Tables of a classification resultclassification_table
Uncertainty settings of a classification analysisclassification_uncertainty
Model metadata for a classification specificationclassifier_model
Compare scored models on the same unitscompare_classifiers
Compare several designscompare_designs
Freeze a portable analysis reportcreate_report_snapshot
Operating rule of a classification analysiscutoff_rule
Sweep all distinct decision sets of a scored modelcutoff_sweep
Distribution calculatordistribution_calculator
Compute an effect size from raw inputseffect_size
Evaluate an operating rule (cutoff) of a classification specificationevaluate_cutoff
Export a frozen report as PDF, JSON or UTF-8 textexport_report
Format classification metric values for displayformat_metric_values
Current inferguidR configurationig_config
Parameter domainsig_domain ig_domain_choice ig_domain_integer ig_domain_logical ig_domain_real
Read inferguidR objects from JSON safelyig_from_json
Content hash of an inferguidR objectig_hash
Define a statistical methodig_method
Declare a result-affecting optionig_option
Collect method optionsig_options
Declare a method parameterig_param
Collect method parametersig_params
Standard error-rate and sample-size parametersig_param_alpha ig_param_error_ratio ig_param_n_total ig_param_power ig_standard_params
Create a typed statusig_status
Status codes used by inferguidRig_status_codes
Canonical JSON for inferguidR objectsig_to_json
Test for a status objectis_ig_status
Launch the inferguidR applicationlaunch_app
Find a bundled worked lessonlearning_lesson
List the registered statistical methodslist_methods
Metric dictionary for binary classificationmetric_dictionary
Decision-curve net benefitnet_benefit
Draw a classification panelplot_classification
Draw an evaluated design sweep without crossing missing resultsplot_design_sweep
Draw a power analysis panelplot_power
Plot-ready power distributions and conditional decision probabilitiespower_plot_data
Prevalence that maximises PPV minus prevalenceppv_gap_max_prevalence
Precision-recall summaries of scored modelspr_summary
Predictive values at a given prevalence (Bayes transform)predictive_values_at_prevalence
Prevalence needed to reach a PPV targetprevalence_for_ppv_target
Prevalence scenarios for a fixed operating pointprevalence_scenario
Protocol record of an analysisprotocol_record
Protocol of power analyses as textprotocol_text
Check the offline PDF report rendererreport_pdf_capabilities
Select a cutoff by an objective or constraintsselect_cutoff
Solve for a study designsolve_design
Sweep one input of a specificationsweep_design
Update a classification specificationupdate.classification_spec
Derive a new specification from an existing oneupdate.power_spec
Validation state of a methodvalidation_status
Create the interactive study workbenchworkbench_app
Data of an X-Y plot for a range of valuesxy_plot_data