Last data update: 2014.03.03

R: Dataset about measurement of anxiety and depression in...
hadsR Documentation

Dataset about measurement of anxiety and depression in oncological patients

Description

This data set contains the responses of 201 oncological patients to 14 ordinal polytomous items that measure anxiety (7 items) and depression (7 items), according to the Hospital Anxiety and Depression Scale questionnaire.

Usage

data(hads)

Format

A data frame with 201 observations on 14 items:

item1

measure of depression

item2

measure of anxiety

item3

measure of depression

item4

measure of depression

item5

measure of depression

item6

measure of anxiety

item7

measure of anxiety

item8

measure of anxiety

item9

measure of depression

item10

measure of anxiety

item11

measure of anxiety

item12

measure of anxiety

item13

measure of depression

item14

measure of depression

Details

All items have 4 response categories: the minimum value 0 corresponds to a low level of anxiety or depression, whereas the maximum value 3 corresponds to a high level of anxiety or depression.

References

Zigmond, A. and Snaith, R. (1983), The hospital anxiety and depression scale, Acta Psychiatrika Scandinavica, 67, 361-370.

Examples

data(hads)
## maybe str(hads) 
str(hads)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(MultiLCIRT)
Loading required package: MASS
Loading required package: limSolve
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/MultiLCIRT/hads.Rd_%03d_medium.png", width=480, height=480)
> ### Name: hads
> ### Title: Dataset about measurement of anxiety and depression in
> ###   oncological patients
> ### Aliases: hads
> ### Keywords: datasets psychology
> 
> ### ** Examples
> 
> data(hads)
> ## maybe str(hads) 
> str(hads)
'data.frame':	201 obs. of  14 variables:
 $ item1 : int  1 0 0 1 0 0 0 1 1 1 ...
 $ item2 : int  1 0 0 1 0 0 0 0 1 0 ...
 $ item3 : int  0 0 0 0 0 0 0 0 2 0 ...
 $ item4 : int  2 1 2 1 1 1 0 1 1 1 ...
 $ item5 : int  2 1 1 1 1 1 1 1 2 2 ...
 $ item6 : int  1 1 3 1 0 1 1 1 1 0 ...
 $ item7 : int  1 0 2 1 0 0 0 1 1 0 ...
 $ item8 : int  1 0 2 0 0 0 0 1 0 1 ...
 $ item9 : int  1 1 0 0 0 0 0 0 0 0 ...
 $ item10: int  1 0 0 1 1 1 0 0 1 0 ...
 $ item11: int  1 1 1 0 0 0 0 0 0 1 ...
 $ item12: int  2 2 2 1 1 2 1 2 2 2 ...
 $ item13: int  1 1 2 0 0 0 0 0 1 1 ...
 $ item14: int  1 1 1 1 1 1 1 1 1 1 ...
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>