# NOT RUN {
x <- 0:100
d <- fcut(x,
breaks=c(0, 25, 50, 75, 100),
type='triangle')
# select only first two columns
res <- sel(d, , 1:2)
print(res)
# select only the 3rd row
res <- sel(d, 3)
print(res)
# }
Run the code above in your browser using DataLab