Learn R Programming

kpodclustr (version 1.1)

findMissing: Function for finding indices of missing data in a matrix

Description

findMissing Function for finding indices of missing data in a matrix

Usage

findMissing(X)

Arguments

X

Data matrix containing missing entries whose rows are observations and columns are features

Value

A numeric vector containing indices of the missing entries in X

Examples

Run this code
# NOT RUN {
p <- 2
n <- 100
k <- 3
sigma <- 0.25
missing <- 0.05
Data <- makeData(p,n,k,sigma,missing)
X <- Data$Missing
missing <- findMissing(X)

# }

Run the code above in your browser using DataLab