processSurvival: Check if survival analyses successfully completed or returned...

Description Usage Arguments Value

View source: R/analysis.R

Description

Check if survival analyses successfully completed or returned errors

Usage

1
processSurvival(session, ...)

Arguments

session

Shiny session

...

Arguments passed on to processSurvTerms

censoring

Character: censor using left, right, interval or interval2

scale

Character: rescale the survival time to days, weeks, months or years

formulaStr

Character: formula to use

coxph

Boolean: fit a Cox proportional hazards regression model?

survTime

survTime object: times to follow up, time start, time stop and event (optional)

clinical

Data frame: clinical data

event

Character: name of column containing time of the event of interest

timeStart

Character: name of column containing starting time of the interval or follow up time

timeStop

Character: name of column containing ending time of the interval (only relevant for interval censoring)

group

Character: group relative to each subject

followup

Character: name of column containing follow up time

Value

List with survival analysis results


psichomics documentation built on Nov. 8, 2020, 5:44 p.m.