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
@@ -177,11 +177,11 @@ The R package {socialmixr} contains functions which can estimate contact matrice
177
177
178
178
::::::::::::::::::::: hint
179
179
180
-
The survey object `zambia_sa_survey` contains data from two countries. If you need to estimate the social contact matrix from data of the specific country of Zambia, identify what argument in `socialmixr::contact_matrix()` you need for this.
180
+
The survey object `survey_load_zambia` contains data from two countries. If you need to estimate the social contact matrix from data of the specific country of Zambia, identify what argument in `socialmixr::contact_matrix()` you need for this.
181
181
182
182
```{r}
183
183
# Inspect the countries within the survey object
184
-
levels(zambia_sa_survey$participants$country)
184
+
levels(survey_load_zambia$participants$country)
185
185
```
186
186
187
187
Similar to the code above, to access vector values within a dataframe, you can use the dollar-sign operator: `$`
@@ -195,7 +195,7 @@ Similar to the code above, to access vector values within a dataframe, you can u
0 commit comments