discretizeKPS: Discretize KPS according to expert opinion

Description Usage Arguments Details Value Examples

Description

KPS is categorized into UNCH, SigDECR, SigINCR, DECR, and INCR.

Usage

1

Arguments

kps

a dataframe of KPS scores, with columns:

  • startdate date of KPS evaluation)

  • agent_detail KPS

Details

KPS categories are

Value

A dataframe with original data kps plus discretized KPS categories in eventName column.

Examples

1
2
3
4
5
6
7
data("fake_data")

# get one person's set of KPS exams
kps_set <- fake_data$events[fake_data$events$agent=='KPS' & fake_data$events$iois=='2' , ]

# convert to categorical
kps_set_discretized <- discretizeKPS(kps_set)

novasmedley/gbmSpm documentation built on May 17, 2019, 10:39 a.m.