R: Column-wise true/false value of a matrix

Column-wise true/false value {Rfast} | R Documentation

## Column-wise true/false value of a matrix

### Description

Column-wise true/false value of a matrix.

### Usage

    colTrue(x)
    colFalse(x)
    colTrueFalse(x)

### Arguments

`x` | A logical matrix with data.

### Value

An integer vector where item "i" is the number of the true/false values of "i" column.

### Author(s)

Manos Papadakis

R implementation and documentation: Manos Papadakis <papadakm95@gmail.com>.

### See Also

`rowMins, rowFalse, nth, colrange, colMedians, colVars, colSort, rowSort, rowTrue`

### Examples

    x <- matrix(as.logical(rbinom(100*100,1,0.5)),100,100)

    s1 <- colTrue(x)

    s1 <- colFalse(x)

    s1 <- colTrueFalse(x)

    x<-s1<-NULL

[Package Rfast version 2.0.0 Index]