Skip to content

Commit

Permalink
p_values only fo conditional component
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Mar 6, 2023
1 parent 86ee222 commit b2b09b0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ S3method(p_value,glmm)
S3method(p_value,glmx)
S3method(p_value,gls)
S3method(p_value,gmnl)
S3method(p_value,hglm)
S3method(p_value,htest)
S3method(p_value,hurdle)
S3method(p_value,ivFixed)
Expand Down
17 changes: 17 additions & 0 deletions R/methods_hglm.R
Original file line number Diff line number Diff line change
Expand Up @@ -212,3 +212,20 @@ ci.hglm <- function(model,
}
out
}


#' @export
p_value.hglm <- function(model,
dof = NULL,
method = NULL,
verbose = TRUE,
...) {
p_value.default(
model,
dof = dof,
method = method,
component = "conditional",
verbose = verbose,
...
)
}

0 comments on commit b2b09b0

Please sign in to comment.