powered by
This function constructs a data frame with grouping/id variables.
id
base_id(nDomains = 10, nUnits = 10)base_id_temporal(nDomains = 10, nUnits = 10, nTime = 10)
base_id_temporal(nDomains = 10, nUnits = 10, nTime = 10)
The number of domains.
The number of units in each domain. Can have length(nUnits) > 1.
length(nUnits) > 1
The number of time points for each units.
Return a data.frame with variables idD as ID-variable for domains, and idU as ID-variable for units.
data.frame
idD
idU
# NOT RUN { base_id(2, 2) base_id(2, c(2, 3)) # }
Run the code above in your browser using DataLab