pair_them_shits | R Documentation |
Given a wide dataset and a vector of variable names this function performs pairwise deletion of records on the given variables. That is, it will return a subset of the given dataframe where there are no na's in any of the given variables thus leaving a dataset where only fully paired observations are present.
pair_them_shits(d, pairvars)
d |
dataframe that you want limited to paired observations |
pairvars |
vector of quoted variable names in the dataset to be evaluated for pairwise completion. |
pair_them_shits()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.