df2list: Get key / value pairs from a two-column data.frame

Description Usage Arguments Author(s)

View source: R/helper_functions.R

Description

This function is used as a helper function to turn a standard data.frame into a named list. The user may specify the values and the names column.

Usage

1
  df2list(df, n = 1, v = 2)

Arguments

df

data.frame that should be turned into a named list. Note that only two specified columns will be used.

n

numeric position of the name column

v

numeric position of the value column

Author(s)

Matthias Bannert


mbannert/pgsqltsmap documentation built on May 21, 2019, 2:24 p.m.