rwe_get_surv_int: Get Intercept for Survival Outcome Simulation

Description Usage

View source: R/rwe_simu.R

Description

Get intercept such that the mean survival time at the given time point is the given survival probability

Usage

1
2
3
4
5
6
7
8
rwe_get_surv_int(
  covx,
  beta,
  xbeta = NULL,
  prob_surv = 0.5,
  t0 = 1,
  pred_tps = NULL
)

olssol/rwetools documentation built on April 18, 2021, 11:42 a.m.