Learn R Programming

Zelig (version 4.2-1)

splitUp: Split a List into Two Lists This functions takes any list, and splits into two lists - one containing the values of arguments with specifically specified values and those without specified values.

Description

Split a List into Two Lists This functions takes any list, and splits into two lists - one containing the values of arguments with specifically specified values and those without specified values.

Usage

splitUp(args)

Arguments

args
a list

Value

  • a list containing two entries: the key-value paired entires (titled wordful) and the unkeyed entried (titled wordless)

Examples

Run this code
#list(wordful = list(x=1, y=2), wordless=list(2, "red"))

Run the code above in your browser using DataLab