Description Usage Arguments Details
Next to the data and missings there is a parameter missing_codes, that allows to turn valid cases into missings.
1 | data.stata(valid, missing, missing_codes = NULL)
|
valid |
Vector of valid data (NA, where missing). |
missing |
Vector of missing data (NA, where valid). |
missing_codes |
Vector of additional missing codes. |
The vector with the valid data and the one with the missing data must have the same length. This means that vor every case either the valid or the missing or both attributes must be NA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.