Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

CheckBinaryMatrix

Checks if a data matrix is binary


Description

Checks if a data matrix is binary

Usage

CheckBinaryMatrix(x)

Arguments

x

Matrix to check.

Details

Checks if all the entries of the matix are either 0 or 1.

Value

TRUE if the matrix is binary.

Author(s)

Jose Luis Vicente-Villardon

Examples

data(spiders)
sp=Dataframe2BinaryMatrix(spiders)
CheckBinaryMatrix(sp)

MultBiplotR

Multivariate Analysis Using Biplots in R

v1.3.30
GPL (>= 2)
Authors
Jose Luis Vicente-Villardon
Initial release
2021-03-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.