How to make a data construct in R which contains two components, say
x <- (a,b)
, and make two functions to read and return the two components