nameVector: Name elements of vector with their value

Description Usage Arguments Value

View source: R/utilities.R

Description

Name all of the elements of a vector with their value. This is useful in conjunction with lapply, as it allows you to operate on the values of the vector and naming the list with these values.

Usage

1

Arguments

v

A vector to be named.

Value

Same vector, with names set to values.


astrolabediagnostics/orloj documentation built on May 20, 2021, 2:17 p.m.