| Feng2019 | R Documentation |
Results from 19 studies assessing the prevalence of depression after myocardial infarction
Feng2019
The data frame contains the following columns:
| author | character | first author |
| year | integer | publication year |
| region | character | country |
| design | character | study design |
| source | character | sample source |
| age | numeric | mean age |
| males | numeric | percentage of males |
| first | numeric | percentage of first-time MI |
| questionnaire | character | self-report questionnaire |
| interview | character | structured interview |
| timing | character | timing of depression assessment |
| depr | integer | subjects with depression |
| n | integer | sample size |
This data set comes from a meta-analysis with 19 studies to estimate the prevalence of depression after a myocardial infarction. The variables depr and n contain the number of depressive patients and the total number of patients.
Guido Schwarzer, guido.schwarzer@uniklinik-freiburg.de
Feng L, Li L, Liu W, et al. (2019): Prevalence of depression in myocardial infarction: A PRISMA-compliant meta-analysis. Medicine, 98.
if (requireNamespace("meta", quietly = TRUE)) {
# Load meta package
library("meta")
# Conduct random effects meta-analysis
mp1 <- metaprop(depr, n, data = Feng2019,
studlab = paste(author, year),
common = FALSE, prediction = TRUE)
# Create forest plot
forest(mp1, digits = 3, xlim = c(0, 1),
print.pval.Q = FALSE, details = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.