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

Description Usage Arguments Value Author(s) Examples

View source: R/kpodclustr-package.r

Description

findMissing Function for finding indices of missing data in a matrix

Usage

1

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

Author(s)

Jocelyn T. Chi

Examples

1
2
3
4
5
6
7
8
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)

kpodclustr documentation built on May 30, 2017, 5:10 a.m.