surv_hn35 {QoLMiss} | R Documentation |
Dataset contains survival outcomes and quality of life for head and neck cancer patients
Description
Creates a dataset containing the domain-based relative hazard ratio (95 the arm-wise data from QLQ-HN35
Usage
surv_hn35(x)
Arguments
x |
A data frame with ID, time, event, arm, HN_Q31,HN_Q32,...,HN_Q65 columns along with other columns if data is available. |
Details
Calculates the domain-wise relative hazard ratio (95
surv_hn35 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 hnc_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_hn35 function includes the hnc_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 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_hn35(x)
1) Subject ID column should be named as 'ID'.
2) Each question column should be named as 'HN_Q31' for data from question 31, HN_Q32' for data from question 32, and so on until 'HN_Q65' for data from question 65.
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, HN_Q31,HN_Q32,...,HN_Q65 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(hnc_df)
surv_hn35(hnc_df)
##