sn {sccore}R Documentation

Set names equal to values, a stats::setNames wrapper function

Description

Set names equal to values, a stats::setNames wrapper function

Usage

sn(x)

Arguments

x

an object for which names attribute will be meaningful

Value

An object with names assigned equal to values

Examples

vec = c(1, 2, 3, 4)
sn(vec)


[Package sccore version 1.0.5 Index]