R: Missing values statistics for matrix

nastats {prabclus} | R Documentation

## 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.

### Author(s)

Christian Hennig chrish@stats.ucl.ac.uk http://www.homepages.ucl.ac.uk/~ucakche

### Examples

      xx <- cbind(c(1,2,3),c(0,0,1),c(5,3,1))
      nastats(xx,nastr=0)

[Package prabclus version 2.2-6 Index]