Description Usage Arguments References Examples
This function will fix every column in a data.frame for possible missing value codes. It should be used if the test_NA()
function identifies cryptic NAs in your data.frame, or if you have a custom NA indicator that you want to fix.
A list of missing value codes to check can be found in White et al. 2013.
1 |
dat |
input dataset. Currently only supports |
custom_NAs |
additional NA aliases you want to fix. Be sure to create a list if you want to include NA aliases of different classes. |
leave_in |
NA aliases that were identified by |
removeFactors |
Should columns be converted from factors after fixing for NA aliases? (Conversion to factors happens by default in correction process.) Strongly recomment the TRUE default. |
2 Ethan P. White, Elita Baldridge, Zachary T. Brym, Kenneth J. Locey, Daniel J. McGlinn, and 3 and Sarah R. Supp. 1 Nine simple ways to make it easier to (re)use your data. PeerJ PrePrints. , doi: 10.7287/peerj.preprints.7v2
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.