Skip to content

Commit

Permalink
add p_significance.get_predicted
Browse files Browse the repository at this point in the history
  • Loading branch information
DominiqueMakowski committed Oct 1, 2023
1 parent b894715 commit fde822c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/p_significance.R
Original file line number Diff line number Diff line change
Expand Up @@ -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", ...) {
Expand Down

0 comments on commit fde822c

Please sign in to comment.