lc_qol {QoLMiss}R Documentation

Calculates the domain-based scale scores using the data of QLQ-LC13.

Description

Creates a dataset containing the domain-based scale scores using the data from QLQ-LC13

Usage

lc_qol(x)

Arguments

x

A data frame with ID, LC_Q31,LC_Q32,...,LC_Q42 columns along with other columns if data is available.

Details

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.

Value

A data frame by replacing the columns 'LC_Q31','LC_Q32',...,'LC_Q42' 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(lc_df)
lc_qol(lc_df)
data(lc_df_miss)
lc_qol(lc_df_miss)
##


[Package QoLMiss version 0.1.0 Index]