Learn R Programming

prabclus (version 2.2-7)

nastats: Missing values statistics for matrix

Description

Computes column-wise and row-wise numbers of missing values.

Usage

nastats(amatrix, nastr="--")

Arguments

amatrix

(any) matrix.

nastr

missing value indicator.

Value

A list with components

narow

vector of row-wise numbers of mixxing values.

nacol

vector of column-wise numbers of mixxing values.

Examples

Run this code
# NOT RUN {
  xx <- cbind(c(1,2,3),c(0,0,1),c(5,3,1))
  nastats(xx,nastr=0)
# }

Run the code above in your browser using DataLab