ovc_qol {QoLMiss}R Documentation

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

Description

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

Usage

ovc_qol(x)

Arguments

x

A data frame with ID, OV_Q31,OV_Q32,...,OV_Q58 columns along with other columns if data is available.

Details

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.

Value

A data frame by replacing the columns 'OV_Q31','OV_Q32',...,'OV_Q58' 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(ovc_df)
ovc_qol(ovc_df)
data(ovc_df_miss)
ovc_qol(ovc_df_miss)
##


[Package QoLMiss version 0.1.0 Index]