rows: Allows row indexing without knowledge of dimensionality or...

Description Usage Arguments Examples

Description

Allows row indexing without knowledge of dimensionality or class.

Usage

1
rows(data, rownums)

Arguments

data

any R object

rownums

indices of target rows

Examples

1
2
3
4
rows(c('A','B','C'),c(1,3))
rows(list('A','B','C'),c(1,3))
df<-data.frame(a=c(1,2,3),b=c(1,2,3))
rows(df,3)


Search within the rowr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.