Expanded discussion to other R objects like vectors, arrays, lists in addition to data.frames.