From d7aa8ca0f8856ce5b05905f1f740012f78ba07a7 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 31 Aug 2024 11:56:59 +0200 Subject: [PATCH] news --- NEWS.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/NEWS.md b/NEWS.md index cc0dec100..982e56dc8 100644 --- a/NEWS.md +++ b/NEWS.md @@ -15,6 +15,16 @@ - The `data.frame` method for `p_direction()` gets an `rvar_col` argument, to specify the column that contains the `rvar` objects. + - Besides the existing `as.numeric()` method, `p_direction()` now also has an + `as.vector()` method. + +* `p_to_pd()` now also works with data frames returned by `p_direction()`. If + a data frame contains a `pd`, `p_direction` or `PD` column name, this is assumed + to be the pd-values, which are then converted to p-values. + +* `p_to_pd()` for data frame inputs gets a `as.numeric()` and `as.vector()` + method. + ## Bug fixes * Fixed warning in CRAN check results.