Data structures for missing dataCreation and Manipulation of Shadow Matrices |
|
---|---|
Create shadows |
|
Convert data into shadow format for doing an upset plot |
|
Bind a shadow dataframe to original data |
|
Convert data into nabular form by binding shade to it |
|
Long form representation of a shadow matrix |
|
Create new levels of missing |
|
Reshape shadow data into a long format |
|
Unbind (remove) shadow from data, and vice versa |
|
Shift missing values to facilitate missing data exploration/visualisation |
|
Shift (impute) numeric values for graphical exploration |
|
Create special missing valuesCreate special missing values so that they don’t get lost! |
|
Add special missing values to the shadow matrix |
|
VisualisationVisualise missing data |
|
geom_miss_point |
|
Plot the number of missings per case (row) |
|
Plot of cumulative sum of missing for cases |
|
Plot the number of missings for each variable, broken down by a factor |
|
Plot the number of missings in a given repeating span |
|
Plot the pattern of missingness using an upset plot. |
|
Plot the number of missings for each variable |
|
Plot of cumulative sum of missing value for each variable |
|
Plot which variables contain a missing value |
|
Objects exported from other packages |
|
Numerical SummariesProvide tidy data frame summaries of missingness |
|
|
Proportion of variables containing missings or complete values |
Summarise the missingness in each case |
|
Summarise the missingness in each case |
|
Tabulate missings in cases. |
|
Proportions of missings in data, variables, and cases. |
|
Search and present different kinds of missing values |
|
Collate summary measures from naniar into one tibble |
|
Cumulative sum of the number of missings in each variable |
|
Find the number of missing and complete values in a single run |
|
Summarise the number of missings for a given repeating span on a variable |
|
Summarise the missingness in each variable |
|
Tabulate the missings in the variables |
|
Which variables contain missing values? |
|
Handy helpersHandy helpers |
|
The number of variables with complete values |
|
The number of variables or cases with missing values |
|
Return the number of complete values |
|
Return a vector of the number of complete values in each row |
|
Return the number of missing values |
|
Return a vector of the number of missing values in each row |
|
Proportion of cases that contain a missing or complete values. |
|
Proportion of variables containing missings or complete values |
|
Return the proportion of complete values |
|
Return a vector of the proportion of missing values in each row |
|
Return the proportion of missing values |
|
Return a vector of the proportion of missing values in each row |
|
Percentage of cases that contain a missing or complete values. |
|
Percentage of variables containing missings or complete values |
|
Return the percent of complete values |
|
Return the percent of missing values |
|
Identify if all values are missing or complete |
|
Identify if there are any missing or complete values |
|
Helper function to determine whether there are any missings |
|
Detect if this is a shade |
|
Which variables are shades? |
|
Common number values for NA |
|
Common string values for NA |
|
Add columnsAdd missing data summaries/tool columns |
|
Add a column describing presence of any missing values |
|
Add a column describing if there are any missings in the dataset |
|
Add a column describing whether there is a shadow |
|
Add a column that tells us which "missingness cluster" a row belongs to |
|
Add column containing number of missing data values |
|
Add column containing proportion of missing data values |
|
Add a shadow column to dataframe |
|
Add a shadow shifted column to a dataset |
|
Add a counter variable for a span of dataframe |
|
Replacing values with NAFunctions to help replace certain values with NA, which includes scoped variants (_at, _if, _all) that take formulas for flexible approachs |
|
Replace values with missings |
|
Replace all values with NA where a certain condition is met |
|
Replace specified variables with NA where a certain condition is met |
|
Replace values with NA based on some condition, for variables that meet some predicate |
|
Imputation helpersSimple imputation methods for exploring visualisation and missingness structure |
|
Impute data with values shifted 10 percent below range. |
|
Impute data with values shifted 10 percent below range. |
|
Scoped variants of |
|
Scoped variants of |
|
Impute the mean value into a vector with missing values |
|
Impute the median value into a vector with missing values |
|
Scoped variants of |
|
Scoped variants of |
|
Cast ShadowsAdd shadow information to the dataframe while reducing it to the variables of interest |
|
Add a shadow column to a dataset |
|
Add a shadow and a shadow_shift column to a dataset |
|
Add a shadow column and a shadow shifted column to a dataset |
|
Misc helpersMisc helpers |
|
Label a missing from one column |
|
label_miss_2d |
|
Is there a missing value in the row of a dataframe? |
|
Which rows and cols contain missings? |
|
Which elements contain missings? |