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 |
|
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 |
|
stat_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 there are any or all 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 and to 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 |
|
Replace values with missings |
|
Replace NA value with provided value |
|
Imputation helpersSimple imputation methods for exploring visualisation and missingness structure |
|
Impute data with values shifted 10 percent below range. |
|
Impute numeric values below a range for graphical exploration |
|
Impute data with values shifted 10 percent below range. |
|
Scoped variants of |
|
Scoped variants of |
|
Impute a factor value into a vector with missing values |
|
Impute a fixed value into a vector with missing values |
|
Impute the mean value into a vector with missing values |
|
Impute the median value into a vector with missing values |
|
Impute the mode value into a vector with missing values |
|
Impute zero into a vector with missing values |
|
Scoped variants of |
|
Scoped variants of |
|
Set a proportion or number of missing values |
|
Package title detailsDetails of the package naniar |
|
naniar |
|
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? |
|
Split a call into two components with a useful verb name |
|
Data SourcesFor practice and example usecases in naniar |
|
West Pacific Tropical Atmosphere Ocean Data, 1993 & 1997. |
|
Pedestrian count information around Melbourne for 2016 |
|
The Behavioral Risk Factor Surveillance System (BRFSS) Survey Data, 2009. |
|
Little’s MCAR testFor performing Little’s MCAR test |
|
Little's missing completely at random (MCAR) test |
|
ggplot2 extensionsCustom ggplot geoms built to extend ggplot for missing values |
|
naniar-ggproto |
|