I am just curious whether it is more efficient to store data in long or wide format regardless of the interpretative? I have used object.size()
to determine the size in the memory but they do not differ significantly (the long being slightly more efficient in terms of size) and the value is only and estimate.
On top of the raw size, I am also wondering which of the format is more efficient in terms of being manipulated when used in modelling.