powered by
initialImpute Initial imputation for k-means
initialImpute
initialImpute(X)
Data matrix containing missing entries whose rows are observations and columns are features
A data matrix containing no missing entries
# NOT RUN { p <- 2 n <- 100 k <- 3 sigma <- 0.25 missing <- 0.05 Data <- makeData(p,n,k,sigma,missing) X <- Data$Missing X_copy <- initialImpute(X) # }
Run the code above in your browser using DataLab