Skip to content

1.0.0

Compare
Choose a tag to compare
@masurp masurp released this 20 Jan 15:34
· 27 commits to master since this release

This is version currently published on CRAN: https://​cloud.r-project.org/​package=specr.
With this version, we introduce a completely new analytic framework which breaks with earlier versions of specr. See this vignette for a comprehensive tutorial on how to use this new framework.

  • A new function called setup() is introduced and replaces the original setup_specs() to make the specification of analytical choices more intuitive and comprehensive. Most importantly, it allows to set up all specifications (now also including subset analyses, additions to the formula, etc.) a priori, i.e., before the estimation of all models.

    • Data, analytic choices, and even parameter extraction functions can be specified before the fitting process (solving github issue #23 and #26).
    • Excludes some non-meaningful specifications automatically (e.g., when control and independent or dependent variable are the same).
    • Allows to specify all combinations of control variables or to "simplify" and only include none, each individually and all together (github issue #11).
    • Resulting specification can be filtered using standard tidyverse functions such as e.g., filter(). This way, one can make sure a priori that only reasonable specifications are actually included.
    • Produces an object of class specr.setup, which can be investigated using e.g., summary() or plot().
    • The function run_specs() is replaced by specr(), which now only wraps around setup() to estimate all models. Most changes are related to increasing speed of the computations.
  • Most importantly, the estimation process can now be parallelized (based on furrr) to reduce fitting time (finally solving github issue #1).

    • Deals better and faster with subset analyses.
    • Produces an object of class specr.object, which can be investigated using generic function such as summary() and plot().
    • Plotting function have been updated and e.g. also allow to group specification according to specific choices (github issue #19)
    • For more information about these major changes and how to use the new version of specr, see this vignette.

Please note that the functions from earlier versions are still available, but deprecated. It is hence still possible to use the older framework as implemented in version 0.2.1, but we suggest to move to the new framework of version 0.3.0 due to its increased speed and flexibility.