You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both the number of rows and the number of columns have increased. Milestones not appearing in a particular data obtain all missing (`NA`) scores.
106
106
107
-
The number of records per cohort is
107
+
The number of records per cohort by sex is
108
108
109
109
```{r}
110
-
table(alldata$cohort)
110
+
table(alldata$cohort, alldata$sex)
111
111
```
112
112
113
113
## Calculating D-score and DAZ
@@ -124,19 +124,20 @@ dim(d)
124
124
125
125
We visualise the D-score distribution by age per cohort as
126
126
127
-
```{r}
127
+
```{r fig.retina=2}
128
128
alldata <- bind_cols(alldata, d)
129
129
ggplot(alldata, aes(age, d, group = cohort)) +
130
130
geom_point(cex = 0.3) +
131
131
facet_wrap(~ cohort) +
132
+
ylab("D-score") + xlab("Age (years)") +
132
133
theme_bw()
133
134
```
134
135
135
136
## Why this package?
136
137
137
138
We all want our children to grow and prosper. While there is no shortage of apps and instruments to track child development, it is often unclear which data went into the construction of these tools. In order to improve measurement and norm setting of child development, we need child-level response data per milestone and age. However, no such public dataset seem to exist. The `childdevdata` package fills that void.
138
139
139
-
The package grew out of a project in which we collected milestone data from 16 cohorts. See @weber2019 and <http://d-score.org/dbook2/> for results. Eight of the cohort owners graciously decided to make their data available for third parties. We are grateful to them.
140
+
The package grew out of a project in which we collected milestone data from 16 cohorts. See @weber2019 and <http://d-score.org/dbook2/> for results. Ten cohort owners graciously decided to make their data available for third parties. We are grateful to them.
140
141
141
142
## How to use the data?
142
143
@@ -154,9 +155,9 @@ The citation of the `childevdata` package is
154
155
title = {Child Development Data},
155
156
author = {Stef {van Buuren} and Iris Eekhout and Marta Rubio Codina and Orazio Attanasio and Costas Meghir and
156
157
Emla Fitzsimons and Sally Grantham-McGregor and Maria Caridad Araujo and Susan Walker and Susan Chang and
157
-
Christine Powell and Ann Weber and Lia Fernald and Paul Verkerk and Linda Richter},
158
+
Christine Powell and Ann Weber and Lia Fernald and Paul Verkerk and Linda Richter and Betsy Lozoff},
0 commit comments