Description Usage Arguments See Also
Of the overlapping functions in plyr
and dplyr
,
only three have a different interface and/or semantics:
count
, mutate
and rename
.
These functions are forwarders to the corresponding functions
in the plyr
and dplyr
packages.
1 2 3 4 5 6 7 8 9 10 11 |
df |
data frame to be processed |
vars |
variables to count unique values of |
wt_var |
optional variable to weight by - if this is non-NULL, count will sum up the value of this variable for each combination of id variables. |
.data |
the data frame to transform |
... |
named parameters giving definitions of new columns. |
x |
named object to modify |
replace |
named character vector, with new names as values, and old names as names. |
warn_missing |
print a message if any of the old names are
not actually present in |
warn_duplicated |
print a message if any name appears more
than once in |
wt |
(Optional) If not specified, will tally the number of rows. If specified, will perform a "weighted" tally but summing over the specified variable. |
sort |
if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.