dropNotCensored,CohortList-method {PDATK} | R Documentation

## Remove Censored Patients from Each `SurvivalExperiemnt` in a `CohortList`

### Description

Remove Censored Patients from Each `SurvivalExperiemnt` in a `CohortList`

### Usage

    ## S4 method for signature 'CohortList'
    dropNotCensored(object, minDaysSurvived = 365)

### Arguments

`object` | A `CohortList` for which to drop patients who died before each `SurvivalExperiment` item a specified date.
`minDaysSurvived` | An `integer` specifying the minimum number of days a patient needs to have survived to be included in the cohort.

### Value

The `CohortList` with censored samples removed.

### Examples

    data(sampleCohortList)
    valCohortList <- dropNotCensored(sampleCohortList)

[Package PDATK version 1.0.2 Index]