This function adds items from a list of dimension d*t, where d is the number of areas and t is the number of times periods.
addtolist(B_d, t, d)
Arguments
B_d: a list in each area.
t: number of time periods.
d: number of areas.
Returns
B_d a list of dimension d.
Examples
k=3#number of categories for the response variablepp=c(1,1)#vector with the number of auxiliary variables in each categorydata(simdata2)# datamod=2datar=data.mme(simdata2,k,pp,mod)##Add the time periodsl=addtolist(datar$X,datar$t,datar$d)