pivot.1d | R Documentation |
returns a table, having the same column space of <x>, the rows of which are unique members of <grp> The cells of the table are the summ.fcn of <x> whenever <grp> takes on its respective value
pivot.1d(fcn, x, y)
fcn |
= a function (summary) |
x |
= a string vector (groups) |
y |
= a string vector/matrix/data frame |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.