listify: Convert a vector of colon-separated text lines into a list of...

Description Usage Arguments Details Value

View source: R/frames.R

Description

Convert a vector of colon-separated text lines into a list of named elements

Usage

1
listify(colon_sep_xs)

Arguments

colon_sep_xs

a character vector with lines of the form "key: value"

Details

Some minor cleaning of the input is performed:

Value

a named list of the values in the colon-separated lines. "key: value" yields list(key = "value")


tjmahr/rprime documentation built on Sept. 30, 2020, 5:31 p.m.