postunstack | R Documentation |
Padding an unstacked data frame with missing values to ensure equal length vectors in resulting list. This list is then coerced into a data frame for ease of producing tables.
postunstack(x, form, ...)
x |
A list or data frame to be stacked or unstacked. |
form |
a two-sided formula whose left side evaluates to the vector to be unstacked and whose right side evaluates to the indicator of the groups to create. Defaults to 'formula(x)' in the data frame method for 'unstack'. |
... |
further arguments passed to or from other methods. |
a data frame of columns according to the formula 'form'. If the columns do not all have the same length, the resulting list is coerced to a data frame by padding with missing values.
W. John Braun
unstack
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.