plyr1.8.9 package

Tools for Splitting, Applying and Combining Data

unrowname

Un-rowname.

vaggregate

Vector aggregate.

a_ply

Split array, apply function, and discard results.

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.

amv_dim

Dimensions.

amv_dimnames

Dimension names.

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.

colwise

Column-wise function.

compact

Compact list.

count

Count the number of occurences.

create_progress_bar

Create progress bar.

d_ply

Split data frame, apply function, and discard results.

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.

dims

Number of dimensions.

dlply

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

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 frame.

id_var

Numeric id for a vector.

idata.frame

Construct an immutable data frame.

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.keys

Join keys. Given two data frames, create a unique key for each row.

join

Join two data frames together.

join_all

Recursively join a list of data frames.

l_ply

Split list, apply function, and discard results.

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.

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

m_ply

Call function with arguments in array or data frame, discarding result...

maply

Call function with arguments in array or data frame, returning an arra...

mapvalues

Replace specified values with new values, in a vector or factor.

match_df

Extract matching rows of a data frame.

mdply

Call function with arguments in array or data frame, returning a data ...

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.

name_rows

Toggle row names between explicit and implicit.

names.quoted

Compute names of quoted variables.

nunique

Number of unique values.

plyr-deprecated

Deprecated Functions in Package plyr

plyr

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

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 for later ...

r_ply

Replicate expression and discard results.

raply

Replicate expression and return results in a array.

rbind.fill.matrix

Bind matrices by row, and fill missing columns with NA.

rbind.fill

Combine data.frames by row, filling in missing columns.

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 character vec...

rlply

Replicate expression and return results in a list.

round_any

Round to multiple of any number.

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.

try_default

Try, with default in case of error.

tryapply

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

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'.

  • Maintainer: Hadley Wickham
  • License: MIT + file LICENSE
  • Last published: 2023-10-02