surv_c30 {QoLMiss} | R Documentation |
Dataset contains survival outcomes and quality of life for cancer patients
Description
Creates a dataset containing the domain-based relative hazard ratio (95 the arm-wise data from QLQ-C30
Usage
surv_c30(x)
Arguments
x |
A data frame with ID, time, event, arm, Q1,Q2,...,Q30 columns along with other columns if data is available. |
Details
Calculates the domain-wise relative hazard ratio (95
surv_c30 function inputs either a dataset containing missing information, represented as, 9 or 99 or NA or a data not containing any missing information. It passes the data to the qol() function, which in turn gives the domain-wise scale scores. These domain-wise scale scores are used for calculating the relative hazard ratio (95 the data arm-wise.
The surv_c30 function includes the qol() function which will consider the arm-wise data and calculate the domain-wise scale scores. Hence, two set of domain-wise scale scores will be obtained, one for each arm.
Each of the domain-wise scales, 'QL','PF','RF','EF','CF','SF','FA','NV','PA','DY','SL','AP','CO','DI','FI', are considered as the covariates. Using these columns, Cox-Proportional model will be used for univariate analysis for each of the covariates. The hazard ratio (95
Thus, the output will contain three columns, Hazard Ratio(HR), Lower 95
surv_c30(x)
1) Subject ID column should be named as 'ID'.
2) Each question column should be named as 'Q1' for data from question 1,'Q2' for data from question 2, and so on until 'Q30' for data from question 30.
3) Data must contain columns for 'time', 'event' and 'arm'.
4) Data may contain more variables, such as, Age, Gender, etc.
x - A data frame with ID, time, event, arm, Q1,Q2,...,Q30 columns along with other columns if data is available.
Value
A data frame containing the Hazard Ratio(HR), Lower 95
Author(s)
Atanu Bhattacharjee and Ankita Pal
References
QoLMiss: Package for Repeatedly measured Quality of Life of Cancer Patients Data
See Also
https://github.com/apstat/QoLMiss-Package
Examples
##
data(c30_df)
surv_c30(c30_df)
##