The best way to understand these things is to try them yourself and see what they do!
Generally:
mydf[1, ]
UCBAdmissions has more than two dimensions, therefore
UCBAdmissions[, , 1]
Of course, they can be combined. The UCBAdmissions sample data is a set of six two by two tables:
dim(UCBAdmissions)
Suppose you only need the first row from the first two tables:
UCBAdmissions[1, , c(1, 2)]
source share