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

CheckBinaryVector

Checks if a vector is binary


Description

Checks if all the entries of a vector are 0 or 1

Usage

CheckBinaryVector(x)

Arguments

x

he vector to check

Value

The logical result

Author(s)

Jose luis Vicente Villardon

Examples

x=c(0, 0, 0, 0,  1, 1, 1, 2)
CheckBinaryVector(x)

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.