DESIGN.md

DESIGN.md - Design notes for na.actions pacakge

This document tracks opinionated desicion about the na.tools and tidyimpute packages that largely have to do with the design choices made

Goals

The packages shoould handle be the single repository for functions/methods for working with missing values (NA) for all data science workflows.

It should be extensible and be able to handle

Naming and Labels

na.replace

Organization

Style Elements

Behaviors

Simple Imputation

 na.replace( .x, .na=mean )
 na_replace( .tbl, col1 = mean )          Or, 
 na_replace( .tbl, col1 = mean(col1) )

Complex Imputation

Imputation should be preformed when the replacement value is a rhs-formula:

na_replce(tbl, col1 = ~col2, .method=lm )

This has the effect of creating a model for col1 ~ col2



decisionpatterns/na.tools documentation built on May 25, 2019, 4:23 p.m.