Tools for splitting, applying and combining data


[Up] [Top]

Documentation for package ‘plyr’ version 1.7.1

Help Pages

. Quote variables to create a list of unevaluated expressions for later evaluation.
aaply Split array, apply function, and return results in an array.
adply Split array, apply function, and return results in a data frame.
alply Split array, apply function, and return results in a list.
arrange Order a data frame by its colums.
as.data.frame.function Make a function return a data frame.
as.quoted Convert input to quoted variables.
a_ply Split array, apply function, and discard results.
baseball Yearly batting records for all major league baseball players
catcolwise Column-wise function.
colwise Column-wise function.
count Count the number of occurences.
create_progress_bar Create progress bar.
daply Split data frame, apply function, and return results in an array.
ddply Split data frame, apply function, and return results in a data frame.
defaults Set defaults.
desc Descending order.
dlply Split data frame, apply function, and return results in a list.
d_ply Split data frame, apply function, and discard results.
each Aggregate multiple functions into a single function.
failwith Fail with specified value.
idata.frame Construct an immutable data frame.
is.quoted Quote variables to create a list of unevaluated expressions for later evaluation.
join Join two data frames together.
laply Split list, apply function, and return results in an array.
ldply Split list, apply function, and return results in a data frame.
liply Experimental iterator based version of llply.
llply Split list, apply function, and return results in a list.
l_ply Split list, apply function, and discard results.
maply Call function with arguments in array or data frame, returning an array.
match_df Extract matching rows of a data frame.
mdply Call function with arguments in array or data frame, returning a data frame.
mlply Call function with arguments in array or data frame, returning a list.
mutate Mutate a data frame by adding new or replacing existing columns.
m_ply Call function with arguments in array or data frame, discarding results.
numcolwise Column-wise function.
ozone Monthly ozone measurements over Central America.
progress_text Text progress bar.
progress_tk Graphical progress bar, powered by Tk.
progress_win Graphical progress bar, powered by Windows.
quoted Quote variables to create a list of unevaluated expressions for later evaluation.
raply Replicate expression and return results in a array.
rbind.fill Combine data.frames by row, filling in missing columns.
rbind.fill.matrix Bind matrices by row, and fill missing columns with NA.
rdply Replicate expression and return results in a data frame.
rename Modify names by name, not position.
rlply Replicate expression and return results in a list.
round_any Round to multiple of any number.
r_ply Replicate expression and discard results.
splat 'Splat' arguments to a function.
strip_splits Remove splitting variables from a data frame.
summarise Summarise a data frame.
summarize Summarise a data frame.
vaggregate Vector aggregate.