rows | R Documentation |
Allows row indexing without knowledge of dimensionality or class.
rows(data, rownums)
data |
any |
rownums |
indices of target rows |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.