Learn R Programming

⚠️There's a newer version (1.0-34.1) of this package.Take me there.

yaImpute (version 1.0-21)

yaImpute: An R Package for k-NN Imputation

Description

Performs nearest neighbor-based imputation using one or more alternative approaches to processing multivariate data. These include methods based on canonical correlation analysis, canonical correspondence analysis, and a multivariate adaptation of the random forest classification and regression techniques of Leo Breiman and Adele Cutler. Additional methods are also offered. The package includes functions for comparing the results from running alternative techniques, detecting imputation targets that are notably distant from reference observations, detecting and correcting for bias, bootstrapping and building ensemble imputations, and mapping results.

Copy Link

Version

Install

install.packages('yaImpute')

Monthly Downloads

4,669

Version

1.0-21

License

GPL (>= 2)

Maintainer

Nicholas Crookston

Last Published

April 9th, 2014

Functions in yaImpute (1.0-21)

newtargets

Finds K nearest neighbors for new target observations
buildConsensus

Finds the consensus imputations among a list of yai objects
MoscowMtStJoe

Moscow Mountain and St. Joe Woodlands (Idaho, USA) Tree and LiDAR Data
impute.yai

Impute variables from references to targets
errorStats

Compute error components of k-NN imputations
correctBias

Correct bias by selecting different near neighbors
applyMask

Removes neighbors that share (or not) group membership with targets.
compare.yai

Compares different k-NN solutions
yaiVarImp

Reports or plots importance scores for yai method randomForest
unionDataJoin

Combines data from several sources
plot.compare.yai

Plots a compare.yai object
notablyDistant

Find notably distant targets
vars

List variables in a yai object
whatsMax

Find maximum column for each row
yaiRFsummary

Build Summary Data For Method RandomForest
plot.notablyDifferent

Plots the scaled root mean square differences between observed and predicted
notablyDifferent

Finds obervations with large differences between observed and imputed values
TallyLake

Tally Lake, Flathead National Forest, Montana, USA
predict.yai

Generic predict function for class yai
AsciiGridImpute

Imputes/Predicts data for Ascii Grid maps
ann

Approximate nearest neighbor search routines
cor.yai

Correlation between observed and imputed
print.yai

Print a summary of a yai object
mostused

Tabulate references most often used in imputation
rmsd.yai

Root Mean Square Difference between observed and imputed
ensembleImpute

Computes the mean, median, or mode among a list of impute.yai objects
grmsd

Generalized Root Mean Square Distance Between Observed and Imputed Values
plot.yai

Plot observed verses imputed data
varSelection

Select variables for imputation models
foruse

Report a complete imputation
bestVars

Computes the number of best X-variables
yai

Find K nearest neighbors
plot.varSel

Boxplot of mean Mahalanobis distances from varSelection()