logrank function

compute the Logrank

compute the Logrank

logrank(t1, d1, t2, d2)

Arguments

  • t1: [vector(1)]

    A numeric vector.

  • d1: [vector(1)]

    Binary vector.

  • t2: [numeric(1)]

    A numeric vector.

  • d2: [vector(1)]

    A binary vector.

Returns

list of:

chi_sqchi-squared statistic at a significance level of 95 % and one degree of freedom,
chi_pchi-squared probality at a significance level of 95 % and one degree of freedom.
  • Maintainer: Cesaire J. K. Fouodo
  • License: GPL
  • Last published: 2025-04-04