R - structure()

26 Aug 2017

structure returns the given object with further attributes set.

structure(1:6, dim = 2:3)
#     [,1] [,2] [,3]
# [1,]    1    3    5
# [2,]    2    4    6
[ R  function  ]