File: ci_ml1.R

package info (click to toggle)
r-cran-parameters 0.24.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,852 kB
  • sloc: sh: 16; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 381 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#' @rdname p_value_ml1
#' @export
ci_ml1 <- function(model, ci = 0.95, ...) {
  df_ml1 <- dof_ml1(model)
  out <- lapply(ci, function(i) {
    .ci_dof(
      model = model,
      ci = i,
      effects = "fixed",
      component = "all",
      dof = df_ml1,
      method = "ml1",
      ...
    )
  })
  out <- do.call(rbind, out)
  row.names(out) <- NULL
  out
}