missing_values_df: Function to imputes Missing Values into data matrix using knn

Description Usage Arguments Value

View source: R/generalFunctions.R

Description

Function to imputes Missing Values into data matrix using knn

Usage

1
missing_values_df(df, k = 10, rowmax = 0.5, colmax = 0.8, maxp = NULL)

Arguments

df

dataframe with rows = ?, cols = ?

k

number of nearest neighbours for knn (default = 10)

rowmax

maximum number of missing values in row of df (default = 0.5)

colmax

maximum number of missing values in col of df (default = 0.8)

maxp

Check impute::impute.knn (default = NULL)

Value

df with imputed values - rows = ?, cols = ?


MJS-708/MSIprocessing documentation built on Dec. 17, 2021, 2:11 a.m.