fi: input data set with (d X t) rows and 4+k+sum(pp) columns. The first four columns of the data set are, in this order: the area indicator (integer), the time indicator (integer), the sample size of each domain and the population size of each domain. The following k columns are the categories of the response variable. Then, the auxiliary variables: first, the auxiliary variables of the first category, second, the auxiliary variables of the second category, and so on. Examples of input data set are in simdata, simdata2 and simdata3.
k: number of categories of the response variable.
pp: vector with the number of auxiliary variables per category.
Examples
k=3#number of categories of the response variablepp=c(1,1)#vector with the number of auxiliary variables in each categorydata(simdata)r=mmedata(simdata,k,pp)