blot: Matrix blotter

Description Usage Arguments Value Author(s) Examples

View source: R/blot.R

Description

Matrix blotter

Usage

1
blot(X, ut = FALSE, lt = FALSE)

Arguments

X

an asymmetric square matrix

ut

logical: include the upper triangle

lt

logical: include lower triangle

Value

a symmetric square matrix

Author(s)

Zhian N. Kamvar

Examples

1
2
3
4
5
6
mat <-matrix(c(0,1,NA,1,
               NA,0,NA,NA,
               1,1,0,NA,
               NA,NA,NA,0), nrow=4, ncol=4)
mat
blot(mat)

zkamvar/blotr documentation built on May 4, 2019, 11:24 p.m.