Path to this page:
Subject: CVS commit: pkgsrc/math/R-insight
From: Makoto Fujiwara
Date: 2025-02-15 01:12:08
Message id: 20250215001208.23337FBE0@cvs.NetBSD.org
Log Message:
(math/R-insight) Updated 0.20.5 to 1.0.2
# insight 1.02
## Changes
* `get_datagrid()` gives a more informative error message when a variable
specified in `by` was not found in the data.
* The `by` argument in `get_datagrid()` gets a new token-option, `"[sample \
<number>]"`,
to draw a random sample of values.
## Bug fixes
* Option `"terciles"` and `"terciles2"` in `get_datagrid()` \
were swapped, i.e.
`"terciles"` was doing what was documented for \
`"terciles2"` and vice versa.
This has been fixed.
* `include_random` in `get_datagrid()` now works for nested random effects, i.e.
for more than one group level factor in the random effects.
* Fixed issue in `get_varcov()` for models of class `brmsfit` that included
monotonic effects.
# insight 1.01
## General
* Support for models of class `oohbchoice` (package *DCchoice*).
* `format_table()` gets a `stars_only` argument, to format p-value columns to
contain only significance stars.
* `get_predicted()` for brms-models with categorical family now includes the
data of the data grid in the returned predictions, for better orientation.
## Bug fixes
* Fixed issues due to latest *mice* updates.
* Fixed typo in `get_parameters.glmmadmb()`, which was erroneously renamed into
`get_parameters.glmmTMBadmb()`.
* Fixed issues in `find_predictors()` and `has_intercept()` for *brms* models
with `0 + Intercept` formula notation.
* Fixed issues in `get_statistic()` for models of class `fixest` from
negative-binomial families.
* Fixed issue with `as.numeric()` method for `get_sigma()`.
* `get_datagrid()` now only returns valid levels when `include_random = TRUE`
and group-level factor in random effects is numeric.
# insight 1.0.0
## Breaking changes
* All deprecated arguments have been removed.
* The `table_width` argument in `export_table()` now defaults to `"auto"`.
## General
* `get_transformation()` can now deal with any power-transformation, and also
returns results for divisions (scaled response) and Box-Cox transformations.
* `find_transformation()` and `get_transformation()` now also detects use of
divisions, like `x/3` or Box-Cox transformations (like `(x^lambda - 1) / lambda`).
* `find_transformation()` and `get_transformation()` get a `include_all` argument,
to check all model terms for transformations.
* `get_dispersion()` is now an exported function.
* Updated `get_varcov()` (and related documentation) to support new covariance
matrix estimation methods from the **sandwich** package.
* New function `validate_argument()` as a replacement for `match.arg()` with
more informative error message.
* The function to calculate the corrections for likelihood-values when the
response-variable is transformed is now exported as `get_likelihood_adjustment()`.
* `export_table()` can now split tables into more than three tables when
`table_width` is used (formerly, the maximum number of split tables was three).
* Changed (improved) formatting for parameter tables in `export_table()`, when
`format = "html"`. Rows are indented, and group headers are emphasized in
italic.
* `formula_ok()` now also checks for syntactically invalid variable names.
Furthermore, argument `checks` now allows to specify for which possibly
problematic formula notation should be checked.
* `format_value()` gains a `decimal_point` argument, to change the decimal point
in output conversion.
* `format_bf()` with `stars = TRUE` uses the `°` symbol for inferiority
(evidence *against* the comparison).
* Added support for `coxph.panel` models.
* Added support for models of class `asym` (package *panelr*).
* Overhaul of documentation for the package-functions.
## Bug fix
* `clean_parameters()` now uses the correct labels for the random effects
variances (`"SD/Cor"` has changed to `"Var/Cov"`).
* When `get_data()` could not properly evaluate the subset of a data set, it
now returns an informative warning and no longer errors.
* Fixed inaccuracy in `get_sigma()` for models of class *brmsfit*.
* Fixed issues in `get_variance()` for models of class *brmsfit* when the
sigma-parameter was directly modeled.
* Fixed issue in `compact_character()` and `compact_list()` for date-variables.
* Fixed edge case in `find_transformation()` for simple log-transformation of
the response variable.
* Fixed issue for `model_info.averaging()`.
Files: