survivor: Survivor

View source: R/survivor.R

survivorR Documentation

Survivor

Description

Survivor

Usage

survivor(
  DF,
  explicatives,
  time = "time",
  event = "event",
  names = explicatives,
  keep = 1,
  verbose = TRUE,
  round = 2
)

Arguments

DF

dataframe : data to be analysed

explicatives

vecor of character : columns of the dataframe to be analysed

time

character : name of the column representing time to event

event

character : name of the column representing the event

names

vector of character : name of the explicatives variables as it will be display on table

keep

vector of character : explicatives that should never be erased of thee model

Value

dataframe, excel file or html table depending on the exit parameter


TanguyPerennec/AutostatR documentation built on Oct. 31, 2022, 7:57 a.m.