R/KMinference.ident.R

KMinference.ident <-
function (y)
  ciKM <- function (z, obs) {
    k <- sum (z$t <= obs)
    k <- c(z$S[k], z$lower[k], z$upper[k])
    names(k) <- c("Surv Prob", "Lower CI", "Upper CI")
    k
  }

Try the uwIntroStats package in your browser

Any scripts or data that you put into this service are public.

uwIntroStats documentation built on May 2, 2019, 4:34 a.m.