Learn R Programming

⚠️There's a newer version (0.4.6.2) of this package.Take me there.

rlist (version 0.2.2)

A toolset for working with lists

Description

A toolset for working with lists as dataset, including filtering, mapping, grouping, sorting, updating, and many other functions, which allow functional programming style applied in list operations.

Copy Link

Version

Install

install.packages('rlist')

Monthly Downloads

155,578

Version

0.2.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Kun Ren

Last Published

July 11th, 2014

Functions in rlist (0.2.2)

list.rbind

Bind all list members by row
list.count

Count the number of members that meet given condition
list.order

Return the order of each member in a list by expression
list.serialize

Serialize a list
list.cases

Get all unique cases by expression for a list
list.group

Group a list by the value of an expression evaluated for each member.
list.iter

Iterate a list by evaluating an expression on each list member.
list.do

Call a function with a list of arguments as provided
list.if

Return a logical vector that indicates if each member of a list satisfies a given condition
list.unserialize

Unserialize a file
list.parse

Parse an object to be a list with identical structure
list.findi

Find the indices of a number of members in a list that meet given condition
list.takeWhile

Take out members until the given condition is broken
list.take

Take a number of members from a list
list.find

Find a specific number of members in a list that meeting given condition
list.update

Update a list by modifying its elements.
list.any

Get whether any list member satisfies the given condition
list.prepend

Prepend a list
list.ungroup

Ungroup a list
list.which

Return a integer vector of the indices of list members that satisfy given condition
list.stack

Stack all list members to construct a data.frame
list.sort

Sort a list by given expressions in order
list.merge

Merge a series of lists
list.remove

Remove members from a list by index or name
list.skipWhile

Skip members until the given condition is broken
list.maps

Map multiple lists with an expression
summary.list

Summarize a list.
list.insert

Insert a series of lists at the given index
list.append

Append a list
list.sample

Sample a list
rlist

The rlist package
list.map

Map each member of a list by an expression.
list.all

Get whether all list members satisfy the given condition
list.clean

Clean a list by a function
subset.list

Return subsets of a list which meet conditions.
list.join

Join two lists by single or multiple keys
list.cbind

Bind all list members by column
list.class

Classify list members into unique cases evaluated by given expression.
list.reverse

Reverse a list
list.select

Select by name or expression for each member of a list
list.extract

Extract a member from a list
list.zip

Combine multiple lists element-wisely.
list.filter

Filter a list by a condition.
list.exclude

Exclude members of a list that meet given condition.
list.load

Load a list from file
list.match

Select members of a list that match given regex pattern
list.mapv

Map each member of a list by an expression to a vector.
list.save

Save a list to a file
list.skip

Skip a number of members in a list
list.table

Generate a table for a list by expression