NEWS.md
curve_analytic() computes consonance intervals directly from closed-form quantile functions (z, t, Fisher-z correlation, chi-squared variance, Wilson-score proportion) instead of numerically inverting confint() thousands of times, and is typically orders of magnitude faster.curve_region() computes the confidence-distribution probability that a parameter lies in an arbitrary region, from any concurve intervals data frame, along with the counternull value for a supplied null.construct_likelihood() builds likelihood, log-likelihood, score, information, and profile-likelihood functions directly from lm()/glm() objects (or from scratch), with coef(), vcov(), logLik(), confint(), summary(), and plot() methods.as_curve_lik(), curve_lik_glm(), and curve_lik_exact() construct native likelihood functions – from any grid of parameter values and log-likelihood, by direct profiling of a model coefficient, or exactly for common designs (proportions, odds ratios, rate ratios, means, variances, correlations) – with no dependency beyond base R and stats.curve_support() computes likelihood/support intervals at arbitrary relative-likelihood cutoffs.ggplot_likelihood(), plotly_likelihood(), plot_all_parameters(), plot_ci_levels(), and plot_profile_vs_wald() add ggplot2 and interactive plotly output, multi-parameter panels, and profile-vs-Wald comparison plots for construct_likelihood() objects.curve_wrap() is a generic wrapper that constructs consonance functions from any function that produces confidence intervals.curve_from_ratio() and curve_from_se() construct consonance functions from a published ratio estimate, or from a point estimate and its standard error.curve_overlap() quantifies the area of overlap between two consonance functions.curve_summary() summarizes a consonance function at a set of confidence levels.plot_multi() overlays consonance or surprisal functions from several analyses on one plot.pbmcapply dependency, replaced with base R.curve_gen() was only ever defined when installed on Windows or macOS, due to a check of the installing machine’s OS; on Linux the function did not exist at all and the package could not be installed. It is now a single function that dispatches at call time instead.plot_compare() was missing its @export tag and so was not actually callable after a normal installation, despite being documented and used in several articles.boot, dplyr, tibble, lme4, metafor, flextable, ggplot2, and scales without namespace-qualifying them; depending on which packages happened to already be loaded in a session, these could fail with “could not find function” after a clean install. All such calls are now namespace-qualified.rlang and numDeriv were used internally but not declared as dependencies; plotly is now declared as a Suggested package.log option added to curve_gen() to exponentiate the coefficients.
title fully added to ggcurve()
curve_gen() now includes options to adjust CIs and P-values for multiple comparisons.curve_gen() can now accept inputs from the rms package’s ols() function.
lm option that is typically used.curve_rev() for continuous variables due to instability.lme4.curve_table() to produce outputs from the functions.curve_rev() was fixed where for the default measure, the computations were calculated as if measure was set to ratio.
curve_rev() can now take summary statistics such as the point estimate and it’s standard error to back calculate the function.
curve_boot() now takes an option allowing users to specify the number of cores to be used.ggcurve() and plot_compare() now have the options to customize the second y-axis and also change the color of the outline of the functions.
yaxis has been replaced by yaxis1 and yaxis2.plot_compare() color has been replaced by color1 and color2
curve_meta() can now handle complex data structures from metafor with clustered data.curve_gen() can now handle ANOVAs and robust linear regressions from the MASS package.concurve is now intergrated with the cowplot package for easier graphing.tibble::tibble() integration due to breakage in code.expand_scale() has been replaced with expansion() within the inner workings of ggcurve() and plot_compare() due to the former function (expand_scale()) being deprecated.curve_lmer() for mixed-effects modelscurve_meta() could not utilize rma.mh() or rma.peto() from metafor.curve_boot() can utilize parametric Bca bootstrap methods to compute functions.curve_boot() tables was incorrect.curve_meta() tables was incorrect.R to 3.5.0.install.packages("concurve", dep = TRUE) as solution to installation problems for some individuals.MASS, compiler, and Rlang from DESCRIPTION IMPORTS, since these weren’t used.ggcurve() theme has been changed from theme_bw() to theme_minimal().ggconcurve() is now ggcurve().ggcurve() plots confidence (consonance) distributions, densities, likelihood, and deviance functions.plot_curve() is now deprecated. Please use ggcurve() instead.curve_compare() compares two functions and calculates the area between the curve.plot_compare()allows two separate functions to be plotted and compared simultaneously.curve_table() produces publication-ready tables of relevant statistics.curve_boot() uses bootstrapping to approximate the consonance functions via the boot and bcaboot packages.curve_lik() produces likelihood functions by transforming the objects from the ProfileLikelihood package.ggconcurve() now plots both the P-values and CI level using both y-axes when the type = “consonance”. Previously, this was only possible via plot_concurve() (which uses base R graphics) because ggplot2 had a bug in its last few versions, which inhibited proper transformations in the y-axis.plot_concurve() now has “measure” as an item which allows for ratio measures to be logarithmically scaled on the x axis. There are two options, “default”, which is set as the default option and is for mean differences, and “ratio”, which will result in the axis being logarithmically scaled.plot_concurve() also now has a “fill” option which will allow users to choose the color of the plot.plotpint() function which plotted consonance functions has been repackaged into ggconcurve().plotsint() function which plotted surprisal functions has been repackaged into ggconcurve().plot_concurve() function.ggconcurve().ggconcurve() function to show how much of the interval surrounds it.mclapply() function from the parallel package.corrintervals() function.rev_eng() function.plotpint() or plotsint() function now able to take custom titles, subtitles, x-axis titles, and captions.Stata.