cosmetic | R Documentation |
A dataset from Field, A. P. (2023). Discovering statistics using R and RStudio (2nd ed.). London: Sage.
cosmetic
A tibble with 1376 rows and 7 variables.
Fictitious example based on quality of life predicted from undergoing cosmetic surgery. Cosmetic surgery is on the increase. For example, in the USA, there was a 1600% increase in cosmetic surgical and non-surgical treatments between 1992 and 2002. There are two main reasons to have cosmetic surgery: (1) to help a physical problem; and (2) to change your external appearance when there is no underlying physical pathology. This example uses fictitious data looks at the effects of cosmetic surgery on quality of life. The variables in the data are:
id: The participant id
clinic: Categorical variable that indicates which of 21 clinics the person attended to have their surgery.
reason: Categorical variable that indicates whether the person had or is waiting to have surgery purely to change their appearance or because of a physical reason.
base_qol: Quality of life pre-surgery on a percentage scale (0% = the worst possible quality of life, 100% = the best possible quality of life).
post_qol: Quality of life after cosmetic surgery on a percentage scale (0% = the worst possible quality of life, 100% = the best possible quality of life).
days: The number of days since surgery.
bdi: Levels of depression using the Beck Depression Inventory (BDI).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.