directadjusting::directly_adjusted_estimates now includes the
identifier _da for directly adjusted estimate and variance columns
when the weights are unnamed. E.g.
my_stat and weight_eu_2000 still results in my_stat_eu_2000 but
my_stat and weight now results in my_stat_da instead of my_stat.
This makes it more convenient to include non-adjusted estimates in the
same table as e.g. my_stat.
directadjusting::directly_adjusted_estimates argument adjust_col_nms is
now automatically
determined based on weights if weights is a data.frame /
data.table.
directadjusting::directly_adjusted_estimates can now handle weights
data.table with more than one column containing weights, e.g.
weight_europe, weight_world.
directadjusting::directly_adjusted_estimates now handles var_col_nms
more intelligently when multiple weights were provided. The function now
ensures that the suffix _var in any var_col_nms will be also the
suffix in the weighted variance columns, e.g.
r_world_1966_var and r_world_2000_var instead of
r_var_world_1966 and r_var_world_2000.
DESCRIPTION and documentation fixes.
First CRAN release.
directadjusting::delta_method_confidence_intervals made a lot more
flexible. It now accepts via conf_method a string, a call, and a list
of calls that produce the desired confidence intervals.
directadjusting::direct_adjusted_estimates option conf_methods = "boot"
removed. Only delta method confidence intervals now possible. Making use of
the delta method is now more flexible and accepts e.g.
list("log", list(g = quote(qnorm(theta)), g_inv = quote(pnorm(g)))).
directadjusting::direct_adjusted_estimates now allows for the sake of
convenience to be called with no adjust_col_nms defined. This results
in no adjusting.
directadjusting::direct_adjusted_estimates now correctly uses
the same conf_lvls and conf_methods for all statistics when their
length is one.
Remove deprecated directadjusting::direct_adjusted_estimates. Use
directadjusting::directly_adjusted_estimates.