NEWS.md
ml_replicate() for replicating the reference sample of a fitted problem (#38).ml_fit().verbose = TRUE are prepended with a time stamp.NA group ID found.iterations and tol members (#28).ml_fit() gains tol argument, which determines the success of a fitting operation.ml_fit objects have new members success, rel_residuals, and flat_weighted_values (#28).as.flat_ml_fit_problem() is used to coerce input for the ml_fit_ functions.format() and print() methods for classes fitting_problem, flat_ml_fit_problem and ml_fit.flatten_ml_fit_problem() gains new model_matrix_type argument that allows selecting an alternative model matrix building method where all cross-classifications are allocated to a column, regardless of overlaps. Flattened problems store the type of model matrix used, it is also shown with the format() and print() methods.individualsPerGroup special variable.NA values in controls.grake package again for calibration, because the alternatives are worse: sampling uses a too low tolerance, survey forcibly loads MASS, and laeken could work but is unrelated (which is the reason grake has been started in the first place).control_totals to target_values.toy_example() allows easier access to bundled examples, load with readRDS().data-raw directory.dplyr functions instead of aggregate().flatten_ml_fit_problem().compute_margins() and margins_to_df() for validationsurvey::grake() instead of grake::calibWeights().data.table (explicitly convert to data.frame)Matrix package if necessaryimportFrom instead of ::