| cost {AA} | R Documentation |
The cost data frame has 31 rows and 2 columns.
It gives the costs of treatment for two groups of patients with a history of deliberate self harm. One group received the usual therapy, and the other received cognitive behavioural therapy. The data were collected to compare the costs of the two treatments.
data(cost)
This data frame contains the following columns:
fyThe data were obtained from
Evans, K., Tyrer, P., Catalan, J. et al. (1999). Manual-assisted-cognitive-behavaviour therapy in the treatment of recurrent deliberate self harm: A randomised controlled trial. Psychological Medicine, 29, 19–25.
Brazzale, A.R., Davison, A.C. and Reid, N. (2007). Applied Asymptotics: Case Studies in Small-Sample Statistics. Cambridge University Press, Cambridge. Example 3.5.
data(cost) plot(y ~ factor(f), data = cost, xlab = "therapy", ylab = "cost of therapy")