survrec-deprecated: Deprecated functions in survrec

survrec-deprecatedR Documentation

Deprecated functions in survrec

Description

The dot-separated names of survrec 1.x were renamed to snake_case in version 2.0.0. The old names still work but emit a deprecation warning and will be removed in a future release.

Usage

psh.fit(x, tvals)

wc.fit(x, tvals)

mlefrailty.fit(
  x,
  tvals,
  lambda = NULL,
  alpha = NULL,
  alpha.min,
  alpha.max,
  tol = 1e-07,
  maxiter = 500,
  alpha.console = TRUE
)

surv.search(tvals, time, surv)

q.search(f, q = 0.5)

Arguments

x, tvals, lambda, alpha, alpha.min, alpha.max, tol, maxiter, alpha.console

see the replacement functions.

time, surv, f, q

see the replacement functions.

Details

psh.fit()

use psh_fit() instead.

wc.fit()

use wc_fit() instead.

mlefrailty.fit()

use mlefrailty_fit() instead.

surv.search()

use surv_search() instead.

q.search()

use q_search() instead.

Value

Each deprecated function emits a deprecation warning and then returns exactly what its replacement returns: psh.fit(), wc.fit() and mlefrailty.fit() return a survfitr object, surv.search() returns the interpolated survival probabilities as a numeric vector, and q.search() returns the estimated quantile as a single number. See the replacement functions for the full description of the value.


survrec documentation built on Sept. 22, 2026, 9:07 a.m.