Append Elements To A List In Rlist: A Toolbox For Non-Tabular Data ...

rdrr.io Find an R package R language docs Run R in your browser

rlist A Toolbox for Non-Tabular Data Manipulation

Package index Search the rlist package Vignettes
  • Package overview
  • README.md
Functions 192 Source code 62 Man pages 72
  • args_env: create an environment for args
  • args_list: create a list for args
  • callwith: Evaluate a function with a modified default values
  • contains: Test if a vector contains certain values
  • dot-evalwith: Convert an object to evaluating environment for list elements...
  • dots: Substitute ...
  • getnames: Get the names of an object
  • is.empty: Check if an object is empty (has length 0)
  • List: Create a 'List environment' that wraps given 'data' and most...
  • list.all: Examine if a condition is true for all elements of a list
  • list.any: Examine if a condition is true for at least one list element
  • list.append: Append elements to a list
  • list.apply: Apply a function to each list element ('lapply')
  • list.cases: Get all unique cases of a list field by expression
  • list.cbind: Bind all list elements by column
  • list.class: Classify list elments into unique but non-exclusive cases
  • list.clean: Clean a list by a function
  • list.common: Get all common cases by expression for a list
  • list.count: Count the number of elements that satisfy given condition
  • list.do: Call a function with a list of arguments
  • list.exclude: Exclude members of a list that meet given condition.
  • list.expand: Create a list from all combinations of factors
  • list.extract: Extract an element from a list or vector
  • list.filter: Filter a list or vector by a series of conditions
  • list.find: Find a specific number of elements in a list or vector...
  • list.findi: Find the indices of a number of elements in a list or vector...
  • list.first: Find the first element that meets a condition
  • list.flatten: Flatten a nested list to a one-level list
  • list.group: Divide list/vector elements into exclusive groups
  • list.insert: Insert a series of lists at the given index
  • list.is: Return a logical vector that indicates if each member of a...
  • list.iter: Iterate a list by evaluating an expression on each list...
  • list.join: Join two lists by single or multiple keys
  • list.last: Find the last element that meets a condition
  • list.load: Load a list from file
  • list.map: Map each element in a list or vector by an expression.
  • list.maps: Map multiple lists with an expression
  • list.mapv: Map each member of a list by an expression to a vector.
  • list.match: Select members of a list that match given regex pattern
  • list.merge: Merge a number of named lists in sequential order
  • list.names: Get or set the names of a list by expression
  • list.order: Give the order of each list element by expression
  • list.parse: Convert an object to list with identical structure
  • list.prepend: Prepend elements to a list
  • list.rbind: Bind all list elements by row
  • list.remove: Remove members from a list by index or name
  • list.reverse: Reverse a list
  • list.sample: Sample a list or vector
  • list.save: Save a list to a file
  • list.search: Search a list recusively by an expression
  • Browse all...
Home / CRAN / rlist / list.append: Append elements to a list list.append: Append elements to a list In rlist: A Toolbox for Non-Tabular Data Manipulation

Description Usage Arguments See Also Examples

View source: R/list.insert.R

Description

Append elements to a list

Usage

1list.append(.data, ...)

Arguments

.data

A list or vector

...

A vector or list to append after x

See Also

list.prepend, list.insert

Examples

1 2 3 4 5 6## Not run: x <- list(a=1,b=2,c=3) list.append(x,d=4,e=5) list.append(x,d=4,f=c(2,3)) ## End(Not run)

Example output

$a [1] 1 $b [1] 2 $c [1] 3 $d [1] 4 $e [1] 5 $a [1] 1 $b [1] 2 $c [1] 3 $d [1] 4 $f [1] 2 3 rlist documentation built on Sept. 5, 2021, 5:30 p.m.

Related to list.append in rlist...

rlist index Package overview README.md

R Package Documentation

rdrr.io home R language documentation Run R code online

Browse R Packages

CRAN packages Bioconductor packages R-Forge packages GitHub packages

We want your feedback!

Note that we can't provide technical support on individual packages. You should contact the package authors for that. Tweet to @rdrrHQ GitHub issue tracker [email protected] Personal blog What can we improve? The page or its content looks wrong I can't find what I'm looking for I have a suggestion Other Extra info (optional) Submit Improve this page Embedding an R snippet on your website

Add the following code to your website.

REMOVE THIS Copy to clipboard

For more information on customizing the embed code, read Embedding Snippets.

Close

Tag » Add Element List R