Learn R Programming

speccurvieR (version 1.0.0)

Easy, Fast, and Pretty Specification Curve Analysis

Description

Making specification curve analysis easy, fast, and pretty. It improves upon existing offerings with additional features and 'tidyverse' integration. Users can easily visualize and evaluate how their models behave under different specifications with a high degree of customization. For a description and applications of specification curve analysis see Simonsohn, Simmons, and Nelson (2020) .

Copy Link

Version

Install

install.packages('speccurvieR')

Monthly Downloads

280

Version

1.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Zayne Sember

Last Published

July 18th, 2026

Functions in speccurvieR (1.0.0)

plot_vars

Plots the variables in each model.
sca_variance

Decompose the variance of the specification curve by analytic choice
sca_test

Joint-inference test for a specification curve
sca_minp

Family-wise-error-rate-adjusted p-values for each specification
sca

Perform specification curve analysis
sca_tidiers

Tidy and glance methods for speccurvieR objects
se_boot

Estimates bootstrapped standard errors for regression models
se_compare

Compare different kinds of standard errors
print.sca_test

Print a specification curve joint-inference test
scp

Prepares the output of `sca()` for plotting.
theme_sca

A clean, consistent ggplot2 theme for speccurvieR plots.
sca_table

Render a specification curve result as a publication table
sca_report

Write a results paragraph for a specification curve analysis
speccurvieR-package

speccurvieR: Easy, Fast, and Pretty Specification Curve Analysis
un_as_is

Removes the `AsIs` class attribute from the input.
reexports

Objects exported from other packages
speccurvieR-deprecated

Deprecated functions in speccurvieR
duplicate_remover

Removes duplicate control variables
plot_curve

Plots a specification curve.
plot_control_distributions

Plots control variable distributions.
plot_coef_fit

Plots the independent variable's coefficient against model fit.
plot_deviance

Plots the deviance of residuals across model specifications.
plot_aic

Plots the AIC across model specifications.
plot_r2_adj

Plots the adj. R-squared across model specifications.
plot_sca_test

Plot the null distribution of a joint-inference test
plot_sca_test_specs

Plot the specification curve against its per-specification null band
plot_se

Plots standard error estimates across types.
plot_multi_se

Plots a specification curve under multiple standard error types.
plot_influence

Plots how each control influences the independent variable's coefficient.
plot_samplesizes

Plots the number of observations across model specifications.
plot_variance

Plot the variance decomposition of a specification curve
paste_factory

Paste together controls and independent variable
bottles

CalCOFI Bottle Data
plot_rmse

Plots RMSE across model specifications.
formula_builder

Builds models formulae with every combination of control variables possible.
control_extractor

Extracts the control variable names and coefficients from an lm model summary.