as.cor {plot.matrix}R Documentation

as.XXX conversion functions

Description

as.XXX conversion functions

Usage

as.cor(x)

as.assoc(x)

as.pvalue(x)

Arguments

x

numeric matrix: matrix to convert

Value

a matrix with an appropriate class

Examples

# as.cor
c <- cor(airquality, use="complete.obs")
# as.assoc
# as.pvalue
data(air.pvalue)
plot(as.pvalue(air.pvalue))

[Package plot.matrix version 1.6.2 Index]