unpkg-right-assign: Assign values to specified names in an environment and unpack...

%...>%R Documentation

Assign values to specified names in an environment and unpack the values (reverse of ⁠%<...%⁠)

Description

Assign values to specified names in an environment and unpack the values (reverse of ⁠%<...%⁠)

Usage

values %...>% names

Arguments

values

A list or vector containing the values to be assigned to the names.

names

A list or character vector specifying the names of variables to be assigned.

Value

NULL. The function performs assignments in the specified environment.

Examples

## Not run: 
list(1, 2) %...>% c("x", "y")

## End(Not run)

drdsdaniel/Dmisc documentation built on Oct. 23, 2024, 9:28 p.m.