qol {QoLMiss}R Documentation

Calculates the domain-based scale scores using the data from Quality of Life questionnaire

Description

Creates a dataset containing the domain-based scale scores using the data from Quality of Life questionnaire

Usage

qol(x)

Arguments

x

A data frame with ID, Q1, Q2,..., Q30 columns along with other columns if data is available.

Details

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.

Value

A data frame by replacing the columns 'Q1','Q2',...,'Q30' by the domain-based scale scores.

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)
qol(c30_df)
data(c30_df_miss)
qol(c30_df_miss)
##


[Package QoLMiss version 0.1.0 Index]