Learn R Programming

fts (version 0.9.9.2)

fts.logical: Logical subsets of objects

Description

Find subsets of logical objects

Usage

col.any(x)
col.all(x)
row.any(x)
row.all(x)

Arguments

x

a rectangular object

Value

a logical vector

Examples

Run this code
# NOT RUN {
x <- fts(seq(from=Sys.Date(),by="months",length.out=50),matrix(rnorm(100),nrow=50))
jj <- x > 0
row.all(jj)
row.any(jj)

col.any(x > 0)
col.all(x > -3)
# }

Run the code above in your browser using DataLab