Description Usage Format Source Examples
Data dealing with lower respiratory tract infections (LRTI) in n=3.078 infants and children aged less than three years in the observational study Pri.DE (Pediatric Respiratory Infection, Deutschland) in Germany.
1 |
a data.frame with n = 3078 observations on 15 variables.
current respiratory syncytial virus (RSV) infection (1) or not (0)
gender: male (1) and female (2)
ethnic group: German (1), European Union (2) and others (3)
preterm delivery (1) or not (0)
former RSV infection (1) or not (0)
congenital heart defect (1) or not (0)
German region: South (1), East (2), West (3) and North (4)
age in years
current breast feeding or longer than two months (1) or not (0)
siblings (1) or not (0)
passive tobacco smoke exposure at home (1) or not (0)
external care (1) or not (0)
parental atopy (1) or not (0)
severe LRTI (1) or not (0)
number of diagnosed LRTI
This data set was aquireed from the nonrandom
R package.
https://cran.r-project.org/web/packages/nonrandom/
1 2 3 4 5 6 7 8 9 10 | library(ggplot2)
data(pride, package = "pstools")
glmfit <- stats::glm(PCR_RSV ~ SEX + RSVINF + REGION + AGE + ELTATOP + EINZ + EXT,
data = pride, family = stats::binomial())
plotdata <- cbind(pride, propensity = qwraps2::invlogit(fitted(glmfit)))
ggplot2::ggplot(plotdata) +
ggplot2::aes_string(x = "propensity", fill = "factor(PCR_RSV)") +
ggplot2::geom_density(alpha = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.