From fde822c8d93c7455898f768f7fc00c7380ae8288 Mon Sep 17 00:00:00 2001 From: Dominique Makowski Date: Sun, 1 Oct 2023 12:18:46 +0100 Subject: [PATCH] add p_significance.get_predicted --- R/p_significance.R | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/R/p_significance.R b/R/p_significance.R index c022ddf3e..93c21c31e 100644 --- a/R/p_significance.R +++ b/R/p_significance.R @@ -65,6 +65,11 @@ p_significance.numeric <- function(x, threshold = "default", ...) { out } +#' @export +p_significance.get_predicted <- function(x, threshold = "default", ...) { + p_significance(as.numeric(x), threshold=threshold, ...) +} + #' @export p_significance.data.frame <- function(x, threshold = "default", ...) {