Skip to content

Commit

Permalink
add NA p.values to make legacy code run
Browse files Browse the repository at this point in the history
  • Loading branch information
qmarcou committed May 29, 2024
1 parent 921b71c commit 1a55920
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions R/renewnetTPreg.R
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,13 @@ renewnetTPreg <- function(s = 0,
UPL = extract_stat_matrix("ci.ub"),
n.failed.boot = NULL
)
# FIXME Add non informative p.value field to conform with legacy code
CO[["p.value"]] <- matrix(NA,
nrow = length(vec.t),
ncol = ncol(CO$SD),
dimnames = dimnames(CO$SD)
)

if (length(transitions) > 1) {
co[[glue::glue("co{trans}")]] <- CO
} else {
Expand Down

0 comments on commit 1a55920

Please sign in to comment.