Skip to contents

Conduct specification curve analysis

Core functions of the package that allow to a) setup all specifications, b) fit models across all specifications, and c) conduct inference on the resulting specification curve

setup()
Specifying analytical decisions in a specification setup
specr()
Fit models across all specifications
infer_curve()
Inference on the specification curve

Summarize results

All functions above create S3 classes that can be investigated with the generic summary function and transformed to data frames.

summary(<specr.setup>)
Summarizing the Specifications Setup
summary(<specr.object>)
Summarizing the Specification Curve Analysis
summary(<specr.infer>)
Summarizing inference on the specification curve

Visualizations

After running setup(), specr(), or infer_curve(), the resulting S3 class objects can be passed to the generic plot function to create visualizations.

plot(<specr.setup>)
Plot visualization of the specification setup
plot(<specr.object>)
Plot specification curve and analytic choices
plot(<specr.infer>)
Plot specification curve against curves under the null

Data set(s)

example_data
Example data set

Deprecated

The following functions still exist and can be used, but are deprecated from version 1.0.0 on.

setup_specs() deprecated
Set up specifications
run_specs() deprecated
Estimate all specifications
plot_specs() deprecated
Plot specification curve and analytical choices
plot_curve() deprecated
Plot ranked specification curve
plot_choices() deprecated
Plot how analytical choices affect results
plot_summary() deprecated
Create box plots for given analytical choices
plot_samplesizes() deprecated
Plot sample sizes
plot_variance() deprecated
Plot variance decomposition
plot_decisiontree() deprecated
Plot decision tree
summarise_specs() deprecated
Summarise specifications
icc_specs() deprecated
Compute intraclass correlation coefficient