addtolist {mme} | R Documentation |
Add items from a list
Description
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.
Usage
addtolist(B_d, t, d)
Arguments
B_d |
a list in each area. |
t |
number of time periods. |
d |
number of areas. |
Value
B_d a list of dimension d.
See Also
Fbetaf.it
, Fbetaf.ct
,
modelfit2
, modelfit3
Examples
k=3 #number of categories for the response variable
pp=c(1,1) #vector with the number of auxiliary variables in each category
data(simdata2) # data
mod=2
datar=data.mme(simdata2,k,pp,mod)
##Add the time periods
l=addtolist(datar$X,datar$t,datar$d)
[Package mme version 0.1-6 Index]