Title: | Scales Score Calculation from Quality of Life Data |
---|---|
Description: | There are three functions: qol, miss_qol and miss_patient takes input of the data set containing the answers of QOL questionnaire. It will compute the three types of domain based scale scores: Global, Functional, and Symptoms. In case of missing data, the miss_qol and miss_patient functions will make the required changes and then calculate the domain-wise scale scores. Finally, provide an output replacing the question columns with the domain-based scale scores in the original data set. |
Authors: | Atanu Bhattacharjee [aut, cre, ctb], Ankita Pal [aut, ctb] |
Maintainer: | Atanu Bhattacharjee <[email protected]> |
License: | GPL-3 |
Version: | 0.1.0 |
Built: | 2024-11-12 03:09:54 UTC |
Source: | https://github.com/cran/QoLMiss |
A simulated data for Breast cancer Quality of Life.
brc_df
brc_df
A data frame with 60 rows and 2 variables:
Participant's identification
Time Variable
status as Variable
Therapeutic Arm
Breast Cancer Quality of Q31 Question
Breast Cancer Quality of Q32 Question
Breast Cancer Quality of Q33 Question
Breast Cancer Quality of Q34 Question
Breast Cancer Quality of Q35 Question
Breast Cancer Quality of Q36 Question
Breast Cancer Quality of Q37 Question
Breast Cancer Quality of Q38 Question
Breast Cancer Quality of Q39 Question
Breast Cancer Quality of Q40 Question
Breast Cancer Quality of Q41 Question
Breast Cancer Quality of Q42 Question
Breast Cancer Quality of Q43 Question
Breast Cancer Quality of Q44 Question
Breast Cancer Quality of Q45 Question
Breast Cancer Quality of Q46 Question
Breast Cancer Quality of Q47 Question
Breast Cancer Quality of Q48 Question
Breast Cancer Quality of Q49 Question
Breast Cancer Quality of Q50 Question
Breast Cancer Quality of Q51 Question
Cancer Quality of Q52 Question
Breast Cancer Quality of Q53 Question
#' @source <https://github.com/apstat/QoLMiss-Package>
A simulated data for Breast cancer Quality of Life.
brc_df_miss
brc_df_miss
A data frame with 60 rows and 2 variables:
Participant's identification
Time Variable
status as Variable
Therapeutic Arm
Breast Cancer Quality of Q31 Question
Breast Cancer Quality of Q32 Question
Breast Cancer Quality of Q33 Question
Breast Cancer Quality of Q34 Question
Breast Cancer Quality of Q35 Question
Breast Cancer Quality of Q36 Question
Breast Cancer Quality of Q37 Question
Breast Cancer Quality of Q38 Question
Breast Cancer Quality of Q39 Question
Breast Cancer Quality of Q40 Question
Breast Cancer Quality of Q41 Question
Breast Cancer Quality of Q42 Question
Breast Cancer Quality of Q43 Question
Breast Cancer Quality of Q44 Question
Breast Cancer Quality of Q45 Question
Breast Cancer Quality of Q46 Question
Breast Cancer Quality of Q47 Question
Breast Cancer Quality of Q48 Question
Breast Cancer Quality of Q49 Question
Breast Cancer Quality of Q50 Question
Breast Cancer Quality of Q51 Question
Breast Cancer Quality of Q52 Question
Breast Cancer Quality of Q53 Question
#' @source <https://github.com/apstat/QoLMiss-Package>
Creates a dataset containing the domain-based scale scores using the data from QLQ-BR23
brc_qol(x)
brc_qol(x)
x |
A data frame with ID, BR_Q31,BR_Q32,...,BR_Q53 columns along with other columns if data is available. |
brc_miss function inputs either a dataset containing missing information, represented as, 9 or 99 or NA or a data not containing any missing information. It extracts only the columns named 'BR_Q31','BR_Q32',...,'BR_Q53' and replaces the missing data with the minimum value of the particular question.
Using each of the 30 columns, the Raw Score is computed, and one column is obtained containing the Raw Score for each patient.
Further, using each of the Raw Scores, three domain-based Scale Scores are computed, they are, Global Scales Score, Functional Scales Score and Symptoms Scales Score.
Thus, the columns 'BR_Q31','BR_Q32',...,'BR_Q53' are replaced by the domain-based scale scores, which is obtained as the output.
brc_qol(x)
1) Subject ID column should be named as 'ID'.
2) Each question column should be named as 'BR_Q31' for data from question 31, 'BR_Q32' for data from question 32, and so on until 'BR_Q53' for data from question 53
3) Data may contain more variables, such as, Age, Gender, etc.
x - A data frame with ID, BR_Q31,BR_Q32,...,BR_Q53 columns along with other columns if data is available.
rs - A matrix containing the Raw Score computed using all BR_Q31 to BR_Q53 data for each patient. The RS(a) function is used in this case.
fs - A matrix containing the Functional Scale Scores computed using all BR_Q31 to BR_Q53 data for each patient. The FS(a,b) function is used in this case.
ss - A matrix containing the Global Scale Scores computed using all BR_Q31 to BR_Q53 data for each patient. The SS(a,b) function is used in this case.
final_data - A data frame formed by replacing the columns 'BR_Q31','BR_Q32',...,'BR_Q53' by the domain-based scale scores.
A data frame by replacing the columns 'BR_Q31','BR_Q32',...,'BR_Q53' by the domain-based scale scores.
Atanu Bhattacharjee and Ankita Pal
QoLMiss: Package for Repeatedly measured Quality of Life of Cancer Patients Data
https://github.com/apstat/QoLMiss-Package
## data(brc_df) brc_qol(brc_df) data(brc_df_miss) brc_qol(brc_df_miss) ##
## data(brc_df) brc_qol(brc_df) data(brc_df_miss) brc_qol(brc_df_miss) ##
A simulated data for cancer Quality of Life.
c30_df
c30_df
A data frame with 60 rows and 2 variables:
Participant's identification
Time Variable
status as Variable
Therapeutic Arm
Cancer Quality of Q1 Question
Cancer Quality of Q2 Question
Cancer Quality of Q3 Question
Cancer Quality of Q4 Question
Cancer Quality of Q5 Question
Cancer Quality of Q6 Question
Cancer Quality of Q7 Question
Cancer Quality of Q8 Question
Cancer Quality of Q9 Question
Cancer Quality of Q10 Question
Cancer Quality of Q11 Question
Cancer Quality of Q12 Question
Cancer Quality of Q13 Question
Cancer Quality of Q14 Question
Cancer Quality of Q15 Question
Cancer Quality of Q16 Question
Cancer Quality of Q17 Question
Cancer Quality of Q18 Question
Cancer Quality of Q19 Question
Cancer Quality of Q20 Question
Cancer Quality of Q21 Question
Cancer Quality of Q22 Question
Cancer Quality of Q23 Question
Cancer Quality of Q24 Question
Cancer Quality of Q25 Question
Cancer Quality of Q26 Question
Cancer Quality of Q27 Question
Cancer Quality of Q28 Question
Cancer Quality of Q29 Question
Cancer Quality of Q30 Question
@source <https://github.com/apstat/QoLMiss-Package>
A simulated data for cancer Quality of Life.
c30_df_miss
c30_df_miss
A data frame with 60 rows and 2 variables:
Participant's identification
Time Variable
status as Variable
Therapeutic Arm
Cancer Quality of Q1 Question
Cancer Quality of Q2 Question
Cancer Quality of Q3 Question
Cancer Quality of Q4 Question
Cancer Quality of Q5 Question
Cancer Quality of Q6 Question
Cancer Quality of Q7 Question
Cancer Quality of Q8 Question
Cancer Quality of Q9 Question
Cancer Quality of Q10 Question
Cancer Quality of Q11 Question
Cancer Quality of Q12 Question
Cancer Quality of Q13 Question
Cancer Quality of Q14 Question
Cancer Quality of Q15 Question
Cancer Quality of Q16 Question
Cancer Quality of Q17 Question
Cancer Quality of Q18 Question
Cancer Quality of Q19 Question
Cancer Quality of Q20 Question
Cancer Quality of Q21 Question
Cancer Quality of Q22 Question
Cancer Quality of Q23 Question
Cancer Quality of Q24 Question
Cancer Quality of Q25 Question
Cancer Quality of Q26 Question
Cancer Quality of Q27 Question
Cancer Quality of Q28 Question
Cancer Quality of Q29 Question
Cancer Quality of Q30 Question
@source <https://github.com/apstat/QoLMiss-Package>
A simulated data for Head and Neck cancer Quality of Life.
hnc_df
hnc_df
A data frame with 60 rows and 2 variables:
Participant's identification
Time Variable
status as Variable
Therapeutic Arm
HNC Cancer Quality of Q31 Question
HNC Cancer Quality of Q32 Question
HNC Cancer Quality of Q33 Question
HNC Cancer Quality of Q34 Question
HNC Cancer Quality of Q35 Question
HNC Cancer Quality of Q36 Question
HNC Cancer Quality of Q37 Question
HNC Cancer Quality of Q38 Question
HNC Cancer Quality of Q39 Question
HNC Cancer Quality of Q40 Question
HNC Cancer Quality of Q41 Question
HNC Cancer Quality of Q42 Question
HNC Cancer Quality of Q43 Question
HNC Cancer Quality of Q44 Question
HNC Cancer Quality of Q45 Question
HNC Cancer Quality of Q46 Question
HNC Cancer Quality of Q47 Question
HNC Cancer Quality of Q48 Question
HNC Cancer Quality of Q49 Question
HNC Cancer Quality of Q50 Question
HNC Cancer Quality of Q51 Question
HNC Cancer Quality of Q52 Question
HNC Cancer Quality of Q53 Question
HNC Cancer Quality of Q54 Question
HNC Cancer Quality of Q55 Question
HNC Cancer Quality of Q56 Question
HNC Cancer Quality of Q57 Question
HNC Cancer Quality of Q58 Question
HNC Cancer Quality of Q59 Question
HNC Cancer Quality of Q60 Question
HNC Cancer Quality of Q61 Question
HNC Cancer Quality of Q62 Question
HNC Cancer Quality of Q63 Question
HNC Cancer Quality of Q64 Question
HNC Cancer Quality of Q65 Question
#' @source <https://github.com/apstat/QoLMiss-Package>
A simulated data for Head and Neck cancer Quality of Life.
hnc_df_miss
hnc_df_miss
A data frame with 60 rows and 2 variables:
Participant's identification
Time Variable
status as Variable
Therapeutic Arm
HNC Cancer Quality of Q31 Question
HNC Cancer Quality of Q32 Question
HNC Cancer Quality of Q33 Question
HNC Cancer Quality of Q34 Question
HNC Cancer Quality of Q35 Question
HNC Cancer Quality of Q36 Question
HNC Cancer Quality of Q37 Question
HNC Cancer Quality of Q38 Question
HNC Cancer Quality of Q39 Question
HNC Cancer Quality of Q40 Question
HNC Cancer Quality of Q41 Question
HNC Cancer Quality of Q42 Question
HNC Cancer Quality of Q43 Question
HNC Cancer Quality of Q44 Question
HNC Cancer Quality of Q45 Question
HNC Cancer Quality of Q46 Question
HNC Cancer Quality of Q47 Question
HNC Cancer Quality of Q48 Question
HNC Cancer Quality of Q49 Question
HNC Cancer Quality of Q50 Question
HNC Cancer Quality of Q51 Question
HNC Cancer Quality of Q52 Question
HNC Cancer Quality of Q53 Question
HNC Cancer Quality of Q54 Question
HNC Cancer Quality of Q55 Question
HNC Cancer Quality of Q56 Question
HNC Cancer Quality of Q57 Question
HNC Cancer Quality of Q58 Question
HNC Cancer Quality of Q59 Question
HNC Cancer Quality of Q60 Question
HNC Cancer Quality of Q61 Question
HNC Cancer Quality of Q62 Question
HNC Cancer Quality of Q63 Question
HNC Cancer Quality of Q64 Question
HNC Cancer Quality of Q65 Question
#' @source <https://github.com/apstat/QoLMiss-Package>
Creates a dataset containing the domain-based scale scores using the data from QLQ-HN35
hnc_qol(x)
hnc_qol(x)
x |
A data frame with ID, HN_Q31,HN_Q32,...,HN_Q65 columns along with other columns if data is available. |
Calculates the domain-based scale scores using the data of QLQ-HN35
hn_miss function inputs either a dataset containing missing information, represented as, 9 or 99 or NA or a data not containing any missing information. It extracts only the columns named 'HN_Q31','HN_Q32',...,'HN_Q65' and replaces the missing data with the minimum value of the particular question.
Using each of the 30 columns, the Raw Score is computed, and one column is obtained containing the Raw Score for each patient.
Further, using each of the Raw Scores, three domain-based Scale Scores are computed, they are, Global Scales Score, Functional Scales Score and Symptoms Scales Score.
Thus, the columns 'HN_Q31','HN_Q32',...,'HN_Q65' are replaced by the domain-based scale scores, which is obtained as the output.
hnc_qol(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 may contain more variables, such as, Age, Gender, etc.
x - A data frame with ID, HN_Q31,HN_Q32,...,HN_Q65 columns along with other columns if data is available.
rs - A matrix containing the Raw Score computed using all HN_Q31 to HN_Q65 data for each patient. The RS(a) function is used in this case.
ss - A matrix containing the Global Scale Scores computed using all HN_Q31 to HN_Q65 data for each patient. The SS(a,b) function is used in this case.
final_data - A data frame formed by replacing the columns 'HN_Q31','HN_Q32',...,'HN_Q65' by the domain-based scale scores.
A data frame by replacing the columns 'HN_Q31','HN_Q32',...,'HN_Q65' by the domain-based scale scores.
Atanu Bhattacharjee and Ankita Pal
QoLMiss: Package for Repeatedly measured Quality of Life of Cancer Patients Data
https://github.com/apstat/QoLMiss-Package
## data(hnc_df) hnc_qol(hnc_df) data(hnc_df_miss) hnc_qol(hnc_df_miss) ##
## data(hnc_df) hnc_qol(hnc_df) data(hnc_df_miss) hnc_qol(hnc_df_miss) ##
A simulated data for Lung cancer Quality of Life.
lc_df
lc_df
A data frame with 60 rows and 2 variables:
Participant's identification
Time Variable
status as Variable
Therapeutic Arm
Lung Cancer Quality of Q31 Question
Lung Cancer Quality of Q32 Question
Lung Cancer Quality of Q33 Question
Lung Cancer Quality of Q34 Question
Lung Cancer Quality of Q35 Question
Lung Cancer Quality of Q36 Question
Lung Cancer Quality of Q37 Question
Lung Cancer Quality of Q38 Question
Lung Cancer Quality of Q39 Question
Lung Cancer Quality of Q40 Question
Lung Cancer Quality of Q41 Question
Lung Cancer Quality of Q42 Question
@source <https://github.com/apstat/QoLMiss-Package>
A simulated data for Lung cancer Quality of Life.
lc_df_miss
lc_df_miss
A data frame with 60 rows and 2 variables:
Participant's identification
Time Variable
status as Variable
Therapeutic Arm
Lung Cancer Quality of Q31 Question
Lung Cancer Quality of Q32 Question
Lung Cancer Quality of Q33 Question
Lung Cancer Quality of Q34 Question
Lung Cancer Quality of Q35 Question
Lung Cancer Quality of Q36 Question
Lung Cancer Quality of Q37 Question
Lung Cancer Quality of Q38 Question
Lung Cancer Quality of Q39 Question
Lung Cancer Quality of Q40 Question
Lung Cancer Quality of Q41 Question
Lung Cancer Quality of Q42 Question
@source <https://github.com/apstat/QoLMiss-Package>
Creates a dataset containing the domain-based scale scores using the data from QLQ-LC13
lc_qol(x)
lc_qol(x)
x |
A data frame with ID, LC_Q31,LC_Q32,...,LC_Q42 columns along with other columns if data is available. |
Calculates the domain-based scale scores using the data of QLQ-LC13
lc_miss function inputs either a dataset containing missing information, represented as, 9 or 99 or NA or a data not containing any missing information. It extracts only the columns named 'LC_Q31','LC_Q32',...,'LC_Q42' and replaces the missing data with the minimum value of the particular question.
Using each of the 30 columns, the Raw Score is computed, and one column is obtained containing the Raw Score for each patient.
Further, using each of the Raw Scores, three domain-based Scale Scores are computed, they are, Global Scales Score, Functional Scales Score and Symptoms Scales Score.
Thus, the columns 'LC_Q31','LC_Q32',...,'LC_Q42' are replaced by the domain-based scale scores, which is obtained as the output.
lc_qol(x)
1) Subject ID column should be named as 'ID'.
2) Each question column should be named as 'LC_Q31' for data from question 31, 'LC_Q32' for data from question 32, and so on until 'LC_Q42' for data from question 42.
3) Data may contain more variables, such as, Age, Gender, etc.
x - A data frame with ID, LC_Q31,LC_Q32,...,LC_Q42 columns along with other columns if data is available.
rs - A matrix containing the Raw Score computed using all LC_Q31 to LC_Q42 data for each patient. The RS(a) function is used in this case.
ss - A matrix containing the Global Scale Scores computed using all LC_Q31 to LC_Q42 data for each patient. The SS(a,b) function is used in this case.
final_data - A data frame formed by replacing the columns 'LC_Q31','LC_Q32',...,'LC_Q42' by the domain-based scale scores.
A data frame by replacing the columns 'LC_Q31','LC_Q32',...,'LC_Q42' by the domain-based scale scores.
Atanu Bhattacharjee and Ankita Pal
QoLMiss: Package for Repeatedly measured Quality of Life of Cancer Patients Data
https://github.com/apstat/QoLMiss-Package
## data(lc_df) lc_qol(lc_df) data(lc_df_miss) lc_qol(lc_df_miss) ##
## data(lc_df) lc_qol(lc_df) data(lc_df_miss) lc_qol(lc_df_miss) ##
A simulated data for Breast cancer Quality of Life.
ovc_df
ovc_df
A data frame with 60 rows and 2 variables:
Participant's identification
Time Variable
status as Variable
Therapeutic Arm
Breast Cancer Quality of Q31 Question
Breast Cancer Quality of Q32 Question
Breast Cancer Quality of Q33 Question
Breast Cancer Quality of Q34 Question
Breast Cancer Quality of Q35 Question
Breast Cancer Quality of Q36 Question
Breast Cancer Quality of Q37 Question
Breast Cancer Quality of Q38 Question
Breast Cancer Quality of Q39 Question
Breast Cancer Quality of Q40 Question
Breast Cancer Quality of Q41 Question
Breast Cancer Quality of Q42 Question
Breast Cancer Quality of Q43 Question
Breast Cancer Quality of Q44 Question
Breast Cancer Quality of Q45 Question
Breast Cancer Quality of Q46 Question
Breast Cancer Quality of Q47 Question
Breast Cancer Quality of Q48 Question
Breast Cancer Quality of Q49 Question
Breast Cancer Quality of Q50 Question
Breast Cancer Quality of Q51 Question
Breast Cancer Quality of Q52 Question
Breast Cancer Quality of Q53 Question
Breast Cancer Quality of Q54 Question
Breast Cancer Quality of Q55 Question
Breast Cancer Quality of Q56 Question
Breast Cancer Quality of Q57 Question
Breast Cancer Quality of Q58 Question
@source <https://github.com/apstat/QoLMiss-Package>
A simulated data for ovarian cancer Quality of Life.
ovc_df_miss
ovc_df_miss
A data frame with 60 rows and 2 variables:
Participant's identification
Time Variable
status as Variable
Therapeutic Arm
Ovarian Cancer Quality of Q31 Question
Ovarian Cancer Quality of Q32 Question
Ovarian Cancer Quality of Q33 Question
Ovarian Cancer Quality of Q34 Question
Ovarian Cancer Quality of Q35 Question
Ovarian Cancer Quality of Q36 Question
Ovarian Cancer Quality of Q37 Question
Ovarian Cancer Quality of Q38 Question
Ovarian Cancer Quality of Q39 Question
Ovarian Cancer Quality of Q40 Question
Ovarian Cancer Quality of Q41 Question
Ovarian Cancer Quality of Q42 Question
Ovarian Cancer Quality of Q43 Question
Ovarian Cancer Quality of Q44 Question
Ovarian Cancer Quality of Q45 Question
Ovarian Cancer Quality of Q46 Question
Ovarian Cancer Quality of Q47 Question
Ovarian Cancer Quality of Q48 Question
Ovarian Cancer Quality of Q49 Question
Ovarian Cancer Quality of Q50 Question
Ovarian Cancer Quality of Q51 Question
Ovarian Cancer Quality of Q52 Question
Ovarian Cancer Quality of Q53 Question
Ovarian Cancer Quality of Q54 Question
Ovarian Cancer Quality of Q55 Question
Ovarian Cancer Quality of Q56 Question
Ovarian Cancer Quality of Q57 Question
Ovarian Cancer Quality of Q58 Question
@source <https://github.com/apstat/QoLMiss-Package>
Creates a dataset containing the domain-based scale scores using the data from QLQ-OV28
ovc_qol(x)
ovc_qol(x)
x |
A data frame with ID, OV_Q31,OV_Q32,...,OV_Q58 columns along with other columns if data is available. |
Calculates the domain-based scale scores using the data of QLQ-OV28
brc_miss function inputs either a dataset containing missing information, represented as, 9 or 99 or NA or a data not containing any missing information. It extracts only the columns named 'OV_Q31','OV_Q32',...,'OV_Q58' and replaces the missing data with the minimum value of the particular question.
Using each of the 30 columns, the Raw Score is computed, and one column is obtained containing the Raw Score for each patient.
Further, using each of the Raw Scores, three domain-based Scale Scores are computed, they are, Global Scales Score, Functional Scales Score and Symptoms Scales Score.
Thus, the columns 'OV_Q31','OV_Q32',...,'OV_Q58' are replaced by the domain-based scale scores, which is obtained as the output.
ovc_qol(x)
1) Subject ID column should be named as 'ID'.
2) Each question column should be named as 'OV_Q31' for data from question 31, 'OV_Q32' for data from question 32, and so on until 'OV_Q58' for data from question 58
3) Data may contain more variables, such as, Age, Gender, etc.
x - A data frame with ID, OV_Q31,OV_Q32,...,OV_Q58 columns along with other columns if data is available.
rs - A matrix containing the Raw Score computed using all OV_Q31 to OV_Q58 data for each patient. The RS(a) function is used in this case.
ss - A matrix containing the Global Scale Scores computed using all OV_Q31 to OV_Q58 data for each patient. The SS(a,b) function is used in this case.
final_data - A data frame formed by replacing the columns 'OV_Q31','OV_Q32',...,'OV_Q58' by the domain-based scale scores.
A data frame by replacing the columns 'OV_Q31','OV_Q32',...,'OV_Q58' by the domain-based scale scores.
Atanu Bhattacharjee and Ankita Pal
QoLMiss: Package for Repeatedly measured Quality of Life of Cancer Patients Data
https://github.com/apstat/QoLMiss-Package
## data(ovc_df) ovc_qol(ovc_df) data(ovc_df_miss) ovc_qol(ovc_df_miss) ##
## data(ovc_df) ovc_qol(ovc_df) data(ovc_df_miss) ovc_qol(ovc_df_miss) ##
A simulated data for cancer Quality of Life.
patient_miss
patient_miss
A data frame with 60 rows and 2 variables:
Participant's identification
Time Variable
status as Variable
Therapeutic Arm
Cancer Quality of Q1 Question
Cancer Quality of Q2 Question
Cancer Quality of Q3 Question
Cancer Quality of Q4 Question
Cancer Quality of Q5 Question
Cancer Quality of Q6 Question
Cancer Quality of Q7 Question
Cancer Quality of Q8 Question
Cancer Quality of Q9 Question
Cancer Quality of Q10 Question
Cancer Quality of Q11 Question
Cancer Quality of Q12 Question
Cancer Quality of Q13 Question
Cancer Quality of Q14 Question
Cancer Quality of Q15 Question
Cancer Quality of Q16 Question
Cancer Quality of Q17 Question
Cancer Quality of Q19 Question
Cancer Quality of Q19 Question
Cancer Quality of Q20 Question
Cancer Quality of Q21 Question
Cancer Quality of Q22 Question
Cancer Quality of Q23 Question
Cancer Quality of Q24 Question
Cancer Quality of Q25 Question
Cancer Quality of Q26 Question
Cancer Quality of Q27 Question
Cancer Quality of Q28 Question
Cancer Quality of Q29 Question
Cancer Quality of Q30 Question
#' @source <https://github.com/apstat/QoLMiss-Package>
Creates a dataset containing the domain-based scale scores using the data from Quality of Life questionnaire
qol(x)
qol(x)
x |
A data frame with ID, Q1, Q2,..., Q30 columns along with other columns if data is available. |
Calculates the domain-based scale scores using the data from Quality of Life questionnaire
qol function inputs either a dataset containing missing information, represented as, 9 or 99 or NA or a data not containing any missing information. It extracts only the columns named 'Q1','Q2',...,'Q30' and replaces the missing data with the minimum value of the particular question.
Using each of the 30 columns, the Raw Score is computed, and one column is obtained containing the Raw Score for each patient.
Further, using each of the Raw Scores, three domain-based Scale Scores are computed, they are, Global Scales Score, Functional Scales Score and Symptoms Scales Score.
Thus, the columns 'Q1','Q2',...,'Q30' are replaced by the domain-based scale scores, which is obtained as the output.
qol(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 may contain more variables, such as, Age, Gender, etc.
x - A data frame with ID, Q1, Q2,..., Q30 columns along with other columns if data is available.
rs - A matrix containing the Raw Score computed using all Q1 to Q30 data for each patient. The RS(a) function is used in this case.
fs - A matrix containing the Functional Scale Scores computed using all Q1 to Q30 data for each patient. The FS(a,b) function is used in this case.
ss_gs - A matrix containing the Global Scale Scores computed using all Q1 to Q30 data for each patient. The SS_GS(a,b) function is used in this case.
final_data - A data frame formed by replacing the columns 'Q1','Q2',...,'Q30' by the domain-based scale scores.
A data frame by replacing the columns 'Q1','Q2',...,'Q30' by the domain-based scale scores.
Atanu Bhattacharjee and Ankita Pal
QoLMiss: Package for Repeatedly measured Quality of Life of Cancer Patients Data
https://github.com/apstat/QoLMiss-Package
## data(c30_df) qol(c30_df) data(c30_df_miss) qol(c30_df_miss) ##
## data(c30_df) qol(c30_df) data(c30_df_miss) qol(c30_df_miss) ##
Creates a dataset containing the domain-based scale scores using the data from Quality of Life questionnaire
qol_miss(x)
qol_miss(x)
x |
A data frame with ID, Q1, Q2,..., Q30 columns along with other columns if data is available. |
Calculates the domain-based scale scores using the data from Quality of Life questionnaire
miss_patient function inputs a dataset in which the information of some patients are completely missing. The information of these patients are omitted from the data and only the columns named 'Q1','Q2',...,'Q30' are extracted.
Using each of the 30 columns, the Raw Score is computed, and one column is obtained containing the Raw Score for each patient.
Further, using each of the Raw Scores, three domain-based Scale Scores are computed, they are, Global Scales Score, Functional Scales Score and Symptoms Scales Score.
Thus, the columns 'Q1','Q2',...,'Q30' are replaced by the domain-based scale scores, which is obtained as the output.
qol_miss(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) Only those data can be used which contains no information for some patients, that is, some rows contain only NA.
4) Data may contain more variables, such as, Age, Gender, etc.
x - A data frame with ID, Q1, Q2,..., Q30 columns along with other columns if data is available.
rs - A matrix containing the Raw Score computed using all Q1 to Q30 data for each patient. The RS(a) function is used in this case.
fs - A matrix containing the Functional Scale Scores computed using all Q1 to Q30 data for each patient. The FS(a,b) function is used in this case.
ss_gs - A matrix containing the Global Scale Scores computed using all Q1 to Q30 data for each patient. The SS_GS(a,b) function is used in this case.
final_data - A data frame formed by replacing the columns 'Q1','Q2',...,'Q30' by the domain-based scale scores.
A data frame by replacing the columns 'Q1','Q2',...,'Q30' by the domain-based scale scores.
Atanu Bhattacharjee and Ankita Pal
QoLMiss: Package for Repeatedly measured Quality of Life of Cancer Patients Data
https://github.com/apstat/QoLMiss-Package
## data(patient_miss) qol_miss(patient_miss) ##
## data(patient_miss) qol_miss(patient_miss) ##
Creates a dataset containing the domain-based relative hazard ratio (95 the arm-wise data from QLQ-BR23
surv_br23(x)
surv_br23(x)
x |
A data frame with ID, time, event, arm, BR_Q31,BR_Q32,...,BR_Q53 columns along with other columns if data is available. |
Calculates the domain-wise relative hazard ratio (95
surv_br23 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 brc_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_br23 function includes the brc_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, 'BRBI','BRSEF','BRSEE','BRFU','BRST','BRBS','BRAS','BRHL', 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_br23(x)
1) Subject ID column should be named as 'ID'.
2) Each question column should be named as 'BR_Q31' for data from question 31,'BR_Q32' for data from question 32, and so on until 'BR_Q53' for data from question 53.
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, BR_Q31,BR_Q32,...,BR_Q53 columns along with other columns if data is available.
A data frame containing the Hazard Ratio(HR), Lower 95
Atanu Bhattacharjee and Ankita Pal
QoLMiss: Package for Repeatedly measured Quality of Life of Cancer Patients Data
https://github.com/apstat/QoLMiss-Package
## data(brc_df) surv_br23(brc_df) ##
## data(brc_df) surv_br23(brc_df) ##
Creates a dataset containing the domain-based relative hazard ratio (95 the arm-wise data from QLQ-C30
surv_c30(x)
surv_c30(x)
x |
A data frame with ID, time, event, arm, Q1,Q2,...,Q30 columns along with other columns if data is available. |
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.
A data frame containing the Hazard Ratio(HR), Lower 95
Atanu Bhattacharjee and Ankita Pal
QoLMiss: Package for Repeatedly measured Quality of Life of Cancer Patients Data
https://github.com/apstat/QoLMiss-Package
## data(c30_df) surv_c30(c30_df) ##
## data(c30_df) surv_c30(c30_df) ##
Creates a dataset containing the domain-based relative hazard ratio (95 the arm-wise data from QLQ-C30
surv_c30_miss(x)
surv_c30_miss(x)
x |
A data frame with ID, time, event, arm, Q1,Q2,...,Q30 columns along with other columns if data is available. |
Calculates the domain-wise relative hazard ratio (95
surv_c30_miss function inputs a dataset where information of some patients are completely missing, that is, some rows contain only NA. It passes the data to the qol_miss() 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_miss function includes the qol_miss() 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_miss(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) Only those data can be used which contains no information for some patients, that is, some rows contain only NA.
4) Data must contain columns for 'time', 'event' and 'arm'.
5) 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.
A data frame containing the Hazard Ratio(HR), Lower 95
Atanu Bhattacharjee and Ankita Pal
QoLMiss: Package for Repeatedly measured Quality of Life of Cancer Patients Data
https://github.com/apstat/QoLMiss-Package
## data(patient_miss) surv_c30_miss(patient_miss) ##
## data(patient_miss) surv_c30_miss(patient_miss) ##
Creates a dataset containing the domain-based relative hazard ratio (95 the arm-wise data from QLQ-HN35
surv_hn35(x)
surv_hn35(x)
x |
A data frame with ID, time, event, arm, HN_Q31,HN_Q32,...,HN_Q65 columns along with other columns if data is available. |
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.
A data frame containing the Hazard Ratio(HR), Lower 95
Atanu Bhattacharjee and Ankita Pal
QoLMiss: Package for Repeatedly measured Quality of Life of Cancer Patients Data
https://github.com/apstat/QoLMiss-Package
## data(hnc_df) surv_hn35(hnc_df) ##
## data(hnc_df) surv_hn35(hnc_df) ##
Creates a dataset containing the domain-based relative hazard ratio (95 the arm-wise data from QLQ-LC13
surv_lc13(x)
surv_lc13(x)
x |
A data frame with ID, time, event, arm, LC_Q31,LC_Q32,...,LC_Q42 columns along with other columns if data is available. |
Calculates the domain-wise relative hazard ratio (95
surv_lc13 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 lc_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_lc13 function includes the lc_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, 'LCDY','LCCO','LCHA','LCSM','LCDS','LCPN','LCHR','LCPC','LCPA','LCPO', 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_lc13(x)
1) Subject ID column should be named as 'ID'.
2) Each question column should be named as 'LC_Q31' for data from question 31,'LC_Q32' for data from question 32, and so on until 'LC_Q42' for data from question 42.
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, LC_Q31,LC_Q32,...,LC_Q42 columns along with other columns if data is available.
A data frame containing the Hazard Ratio(HR), Lower 95
Atanu Bhattacharjee and Ankita Pal
QoLMiss: Package for Repeatedly measured Quality of Life of Cancer Patients Data
https://github.com/apstat/QoLMiss-Package
## data(lc_df) surv_lc13(lc_df) ##
## data(lc_df) surv_lc13(lc_df) ##
Creates a dataset containing the domain-based relative hazard ratio (95 the arm-wise data from QLQ-OV28
surv_ov28(x)
surv_ov28(x)
x |
A data frame with ID, time, event, arm, OV_Q31,OV_Q32,...,OV_Q58 columns along with other columns if data is available. |
Calculates the domain-wise relative hazard ratio (95
surv_ov28 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 ovc_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_ov28 function includes the ovc_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, 'Abdominal_GI','Peripheral_Neuropathy','Hormonal','Body_Image', 'Attitude_to_Disease','Chemotherapy_side_effects','Other_Single_Items','Sexuality', 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_ov28(x)
1) Subject ID column should be named as 'ID'.
2) Each question column should be named as 'OV_Q31' for data from question 31,'OV_Q32' for data from question 32, and so on until 'OV_Q58' for data from question 58.
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, OV_Q31,OV_Q32,...,OV_Q58 columns along with other columns if data is available.
A data frame containing the Hazard Ratio(HR), Lower 95
Atanu Bhattacharjee and Ankita Pal
QoLMiss: Package for Repeatedly measured Quality of Life of Cancer Patients Data
https://github.com/apstat/QoLMiss-Package
## data(ovc_df) surv_ov28(ovc_df) ##
## data(ovc_df) surv_ov28(ovc_df) ##
Creates a dataset containing the domain-based relative hazard ratio (95 the arm-wise data from QLQ-THY34
surv_thy34(x)
surv_thy34(x)
x |
A data frame with ID, time, event, arm, THY_Q31,THY_Q32,...,THY_Q64 columns along with other columns if data is available. |
Calculates the domain-wise relative hazard ratio (95
surv_thy34 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 thyc_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_thy34 function includes the thyc_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_thy34(x)
1) Subject ID column should be named as 'ID'.
2) Each question column should be named as 'THY_Q31' for data from question 31,'THY_Q32' for data from question 32, and so on until 'THY_Q64' for data from question 64.
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, THY_Q31,THY_Q32,...,THY_Q64 columns along with other columns if data is available.
A data frame containing the Hazard Ratio(HR), Lower 95
Atanu Bhattacharjee and Ankita Pal
QoLMiss: Package for Repeatedly measured Quality of Life of Cancer Patients Data
https://github.com/apstat/QoLMiss-Package
## data(thyc_df) surv_thy34(thyc_df) ##
## data(thyc_df) surv_thy34(thyc_df) ##
A simulated data for Thyroid cancer Quality of Life.
thyc_df
thyc_df
A data frame with 60 rows and 2 variables:
Participant's identification
Time Variable
status as Variable
Therapeutic Arm
Thyroid Cancer Quality of Q31 Question
Thyroid Cancer Quality of Q32 Question
Thyroid Cancer Quality of Q33 Question
Thyroid Cancer Quality of Q34 Question
Thyroid Cancer Quality of Q35 Question
Thyroid Cancer Quality of Q36 Question
Thyroid Cancer Quality of Q37 Question
Thyroid Cancer Quality of Q38 Question
Thyroid Cancer Quality of Q39 Question
Thyroid Cancer Quality of Q40 Question
Thyroid Cancer Quality of Q41 Question
Thyroid Cancer Quality of Q42 Question
Thyroid Cancer Quality of Q43 Question
Thyroid Cancer Quality of Q44 Question
Thyroid Cancer Quality of Q45 Question
Thyroid Cancer Quality of Q46 Question
Thyroid Cancer Quality of Q47 Question
Thyroid Cancer Quality of Q48 Question
Thyroid Cancer Quality of Q49 Question
Thyroid Cancer Quality of Q50 Question
Thyroid Cancer Quality of Q51 Question
Thyroid Cancer Quality of Q52 Question
Thyroid Cancer Quality of Q53 Question
Thyroid Cancer Quality of Q54 Question
Thyroid Cancer Quality of Q55 Question
Thyroid Cancer Quality of Q56 Question
Thyroid Cancer Quality of Q57 Question
Thyroid Cancer Quality of Q58 Question
Thyroid Cancer Quality of Q59 Question
Thyroid Cancer Quality of Q60 Question
Thyroid Cancer Quality of Q61 Question
Thyroid Cancer Quality of Q62 Question
Thyroid Cancer Quality of Q63 Question
Thyroid Cancer Quality of Q64 Question
@source <https://github.com/apstat/QoLMiss-Package>
A simulated data for Thyroid cancer Quality of Life.
thyc_df_miss
thyc_df_miss
A data frame with 60 rows and 2 variables:
Participant's identification
Time Variable
status as Variable
Therapeutic Arm
Thyroid Cancer Quality of Q31 Question
Thyroid Cancer Quality of Q32 Question
Thyroid Cancer Quality of Q33 Question
Thyroid Cancer Quality of Q34 Question
Thyroid Cancer Quality of Q35 Question
Thyroid Cancer Quality of Q36 Question
Thyroid Cancer Quality of Q37 Question
Thyroid Cancer Quality of Q38 Question
Thyroid Cancer Quality of Q39 Question
Thyroid Cancer Quality of Q40 Question
Thyroid Cancer Quality of Q41 Question
Thyroid Cancer Quality of Q42 Question
Thyroid Cancer Quality of Q43 Question
Thyroid Cancer Quality of Q44 Question
Thyroid Cancer Quality of Q45 Question
Thyroid Cancer Quality of Q46 Question
Thyroid Cancer Quality of Q47 Question
Thyroid Cancer Quality of Q48 Question
Thyroid Cancer Quality of Q49 Question
Thyroid Cancer Quality of Q50 Question
Thyroid Cancer Quality of Q51 Question
Thyroid Cancer Quality of Q52 Question
Thyroid Cancer Quality of Q53 Question
Thyroid Cancer Quality of Q54 Question
Thyroid Cancer Quality of Q55 Question
Thyroid Cancer Quality of Q56 Question
Thyroid Cancer Quality of Q57 Question
Thyroid Cancer Quality of Q58 Question
Thyroid Cancer Quality of Q59 Question
Thyroid Cancer Quality of Q60 Question
Thyroid Cancer Quality of Q61 Question
Thyroid Cancer Quality of Q62 Question
Thyroid Cancer Quality of Q63 Question
Thyroid Cancer Quality of Q64 Question
@source <https://github.com/apstat/QoLMiss-Package>
Creates a dataset containing the domain-based scale scores using the data from QLQ-THY34
thyc_qol(x)
thyc_qol(x)
x |
A data frame with ID, THY_Q31,THY_Q32,...,THY_Q64 columns along with other columns if data is available. |
brc_miss function inputs either a dataset containing missing information, represented as, 9 or 99 or NA or a data not containing any missing information. It extracts only the columns named 'THY_Q31','THY_Q32',...,'THY_Q64' and replaces the missing data with the minimum value of the particular question.
Using each of the 30 columns, the Raw Score is computed, and one column is obtained containing the Raw Score for each patient.
Further, using each of the Raw Scores, three domain-based Scale Scores are computed, they are, Functional Scales Score and Symptoms Scales Score.
Thus, the columns 'THY_Q31','THY_Q32',...,'THY_Q64' are replaced by the domain-based scale scores, which is obtained as the output.
thyc_qol(x)
1) Subject ID column should be named as 'ID'.
2) Each question column should be named as 'THY_Q31' for data from question 31, 'THY_Q32' for data from question 32, and so on until 'THY_Q64' for data from question 64
3) Data may contain more variables, such as, Age, Gender, etc.
x - A data frame with ID, THY_Q31,THY_Q32,...,THY_Q64 columns along with other columns if data is available.
rs - A matrix containing the Raw Score computed using all THY_Q31 to THY_Q64 data for each patient. The RS(a) function is used in this case.
ss - A matrix containing the Global Scale Scores computed using all THY_Q31 to THY_Q64 data for each patient. The SS(a,b) function is used in this case.
final_data - A data frame formed by replacing the columns 'THY_Q31','THY_Q32',...,'THY_Q64' by the domain-based scale scores.
A data frame by replacing the columns 'THY_Q31','THY_Q32',...,'THY_Q64' by the domain-based scale scores.
Atanu Bhattacharjee and Ankita Pal
QoLMiss: Package for Repeatedly measured Quality of Life of Cancer Patients Data
https://github.com/apstat/QoLMiss-Package
## data(thyc_df) thyc_qol(thyc_df) data(thyc_df_miss) thyc_qol(thyc_df_miss) ##
## data(thyc_df) thyc_qol(thyc_df) data(thyc_df_miss) thyc_qol(thyc_df_miss) ##