plyr: Tools for Splitting, Applying and Combining Data

A set of tools that solves a common set of problems: you need to break a big problem down into manageable pieces, operate on each piece and then put all the pieces back together. For example, you might want to fit a model to each spatial location or time point in your study, summarise data by panels or collapse high-dimensional arrays to simpler summary statistics. The development of 'plyr' has been generously supported by 'Becton Dickinson'.

AuthorHadley Wickham [aut, cre]
Date of publication2016-06-08 10:40:15
MaintainerHadley Wickham <hadley@rstudio.com>
LicenseMIT + file LICENSE
Version1.8.4
http://had.co.nz/plyr
https://github.com/hadley/plyr

View on CRAN

Man pages

aaply: Split array, apply function, and return results in an array.

adply: Split array, apply function, and return results in a data...

alply: Split array, apply function, and return results in a list.

amv_dim: Dimensions.

amv_dimnames: Dimension names.

a_ply: Split array, apply function, and discard results.

arrange: Order a data frame by its colums.

as.data.frame.function: Make a function return a data frame.

as.list.split: Convert split list to regular list.

as.quoted: Convert input to quoted variables.

baseball: Yearly batting records for all major league baseball players

colwise: Column-wise function.

compact: Compact list.

count: Count the number of occurences.

create_progress_bar: Create progress bar.

daply: Split data frame, apply function, and return results in an...

ddply: Split data frame, apply function, and return results in a...

defaults: Set defaults.

desc: Descending order.

dims: Number of dimensions.

dlply: Split data frame, apply function, and return results in a...

d_ply: Split data frame, apply function, and discard results.

each: Aggregate multiple functions into a single function.

empty: Check if a data frame is empty.

eval.quoted: Evaluate a quoted list of variables.

failwith: Fail with specified value.

get-split: Subset splits.

here: Capture current evaluation context.

id: Compute a unique numeric id for each unique row in a data...

idata.frame: Construct an immutable data frame.

id_var: Numeric id for a vector.

indexed_array: An indexed array.

indexed_df: An indexed data frame.

is.discrete: Determine if a vector is discrete.

is.formula: Is a formula? Checks if argument is a formula

isplit2: Split iterator that returns values, not indices.

join: Join two data frames together.

join_all: Recursively join a list of data frames.

join.keys: Join keys. Given two data frames, create a unique key for...

laply: Split list, apply function, and return results in an array.

ldply: Split list, apply function, and return results in a data...

liply: Experimental iterator based version of llply.

list_to_array: List to array.

list_to_dataframe: List to data frame.

list_to_vector: List to vector.

llply: Split list, apply function, and return results in a list.

loop_apply: Loop apply

l_ply: Split list, apply function, and discard results.

maply: Call function with arguments in array or data frame,...

mapvalues: Replace specified values with new values, in a vector or...

match_df: Extract matching rows of a data frame.

mdply: Call function with arguments in array or data frame,...

mlply: Call function with arguments in array or data frame,...

m_ply: Call function with arguments in array or data frame,...

mutate: Mutate a data frame by adding new or replacing existing...

name_rows: Toggle row names between explicit and implicit.

names.quoted: Compute names of quoted variables.

nunique: Number of unique values.

ozone: Monthly ozone measurements over Central America.

plyr: plyr: the split-apply-combine paradigm for R.

plyr-deprecated: Deprecated Functions in Package plyr

print.quoted: Print quoted variables.

print.split: Print split.

progress_none: Null progress bar

progress_text: Text progress bar.

progress_time: Text progress bar with time.

progress_tk: Graphical progress bar, powered by Tk.

progress_win: Graphical progress bar, powered by Windows.

quickdf: Quick data frame.

quoted: Quote variables to create a list of unevaluated expressions...

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.

reduce_dim: Reduce dimensions.

rename: Modify names by name, not position.

revalue: Replace specified values with new values, in a factor or...

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.

split_indices: Split indices.

split_labels: Generate labels for split data frame.

splitter_a: Split an array by .margins.

splitter_d: Split a data frame by variables.

strip_splits: Remove splitting variables from a data frame.

summarise: Summarise a data frame.

take: Take a subset along an arbitrary dimension

true: Function that always returns true.

tryapply: Apply with built in try. Uses compact, lapply and tryNULL

try_default: Try, with default in case of error.

unrowname: Un-rowname.

vaggregate: Vector aggregate.

Files in this package

plyr
plyr/inst
plyr/inst/CITATION
plyr/tests
plyr/tests/testthat.R
plyr/tests/testthat
plyr/tests/testthat/test-rename.r
plyr/tests/testthat/test-rply.r
plyr/tests/testthat/test-arrange.r
plyr/tests/testthat/test-array.r
plyr/tests/testthat/test-data-frame.r
plyr/tests/testthat/test-revalue.r
plyr/tests/testthat/test-split-indices.r
plyr/tests/testthat/test-progress.r
plyr/tests/testthat/test-simplify-df.r
plyr/tests/testthat/quickdf.r
plyr/tests/testthat/test-empty.r
plyr/tests/testthat/test-inform.r
plyr/tests/testthat/test-mapply.r
plyr/tests/testthat/test-parallel.r
plyr/tests/testthat/test-split-labels.r
plyr/tests/testthat/test-quote.r
plyr/tests/testthat/test-mutate.r
plyr/tests/testthat/test-ninteraction.r
plyr/tests/testthat/test-split-data-frame.r
plyr/tests/testthat/test-list.r
plyr/tests/testthat/test-summarise.r
plyr/tests/testthat/test-debug.r
plyr/tests/testthat/test-utils.r
plyr/tests/testthat/test-replicate.r
plyr/tests/testthat/test-manip.r
plyr/tests/testthat/test-count.r
plyr/tests/testthat/test-join.r
plyr/tests/testthat/test-rbind.r
plyr/tests/testthat/test-id.r
plyr/tests/testthat/test-idf.r
plyr/tests/testthat/test-rbind.matrix.r
plyr/src
plyr/src/RcppExports.cpp
plyr/src/split-numeric.cpp
plyr/src/loop_apply.c
plyr/NAMESPACE
plyr/data
plyr/data/ozone.rda
plyr/data/baseball.rda
plyr/R
plyr/R/splitter-d.r
plyr/R/indexed.r
plyr/R/id.r
plyr/R/liply.r
plyr/R/quote.r
plyr/R/name-rows.r
plyr/R/strip-splits.r
plyr/R/split.r
plyr/R/splitter-a.r
plyr/R/loop_apply.R
plyr/R/indexed-array.r
plyr/R/dlply.r
plyr/R/laply.r
plyr/R/vaggregate.r
plyr/R/aaply.r
plyr/R/splat.r
plyr/R/indexed-data-frame.r
plyr/R/rbind-fill-matrix.r
plyr/R/join-all.r
plyr/R/quickdf.r
plyr/R/raply.r
plyr/R/daply.r
plyr/R/rbind-fill.r
plyr/R/summarise.r
plyr/R/utils.r
plyr/R/join.r
plyr/R/rdply.r
plyr/R/plyr-deprecated.r
plyr/R/here.r
plyr/R/dimensions.r
plyr/R/alply.r
plyr/R/defaults.r
plyr/R/match-df.r
plyr/R/r_ply.r
plyr/R/progress-time.r
plyr/R/idataframe.r
plyr/R/l_ply.r
plyr/R/mutate.r
plyr/R/adply.r
plyr/R/rlply.r
plyr/R/RcppExports.R
plyr/R/progress.r
plyr/R/data-frame.r
plyr/R/llply.r
plyr/R/each.r
plyr/R/plyr.r
plyr/R/a_ply.r
plyr/R/count.r
plyr/R/colwise.r
plyr/R/parallel.r
plyr/R/mdply.r
plyr/R/mlply.r
plyr/R/round-any.r
plyr/R/list-to-vector.r
plyr/R/m_ply.r
plyr/R/rename.r
plyr/R/arrange.r
plyr/R/take.r
plyr/R/data.r
plyr/R/list-to-dataframe.r
plyr/R/maply.r
plyr/R/d_ply.r
plyr/R/revalue.r
plyr/R/ddply.r
plyr/R/list-to-array.r
plyr/R/ldply.r
plyr/R/try.r
plyr/README.md
plyr/MD5
plyr/DESCRIPTION
plyr/man
plyr/man/aaply.Rd plyr/man/unrowname.Rd plyr/man/rbind.fill.Rd plyr/man/alply.Rd plyr/man/rlply.Rd plyr/man/reduce_dim.Rd plyr/man/as.quoted.Rd plyr/man/names.quoted.Rd plyr/man/r_ply.Rd plyr/man/join_all.Rd plyr/man/is.discrete.Rd plyr/man/progress_time.Rd plyr/man/is.formula.Rd plyr/man/failwith.Rd plyr/man/progress_tk.Rd plyr/man/id_var.Rd plyr/man/indexed_array.Rd plyr/man/nunique.Rd plyr/man/mlply.Rd plyr/man/id.Rd plyr/man/mutate.Rd plyr/man/progress_win.Rd plyr/man/split_indices.Rd plyr/man/revalue.Rd plyr/man/compact.Rd plyr/man/take.Rd plyr/man/colwise.Rd plyr/man/get-split.Rd plyr/man/progress_text.Rd plyr/man/d_ply.Rd plyr/man/quickdf.Rd plyr/man/indexed_df.Rd plyr/man/as.data.frame.function.Rd plyr/man/desc.Rd plyr/man/rbind.fill.matrix.Rd plyr/man/amv_dim.Rd plyr/man/splitter_d.Rd plyr/man/ddply.Rd plyr/man/empty.Rd plyr/man/join.keys.Rd plyr/man/plyr-deprecated.Rd plyr/man/print.split.Rd plyr/man/mapvalues.Rd plyr/man/loop_apply.Rd plyr/man/split_labels.Rd plyr/man/baseball.Rd plyr/man/liply.Rd plyr/man/list_to_dataframe.Rd plyr/man/create_progress_bar.Rd plyr/man/arrange.Rd plyr/man/rename.Rd plyr/man/strip_splits.Rd plyr/man/as.list.split.Rd plyr/man/here.Rd plyr/man/dims.Rd plyr/man/ozone.Rd plyr/man/tryapply.Rd plyr/man/join.Rd plyr/man/match_df.Rd plyr/man/round_any.Rd plyr/man/idata.frame.Rd plyr/man/splitter_a.Rd plyr/man/isplit2.Rd plyr/man/rdply.Rd plyr/man/quoted.Rd plyr/man/laply.Rd plyr/man/l_ply.Rd plyr/man/vaggregate.Rd plyr/man/defaults.Rd plyr/man/list_to_array.Rd plyr/man/eval.quoted.Rd plyr/man/adply.Rd plyr/man/daply.Rd plyr/man/name_rows.Rd plyr/man/m_ply.Rd plyr/man/maply.Rd plyr/man/count.Rd plyr/man/list_to_vector.Rd plyr/man/ldply.Rd plyr/man/dlply.Rd plyr/man/progress_none.Rd plyr/man/plyr.Rd plyr/man/true.Rd plyr/man/each.Rd plyr/man/mdply.Rd plyr/man/raply.Rd plyr/man/llply.Rd plyr/man/print.quoted.Rd plyr/man/try_default.Rd plyr/man/a_ply.Rd plyr/man/summarise.Rd plyr/man/splat.Rd plyr/man/amv_dimnames.Rd
plyr/LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.