Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sn

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)

sccore

Core Utilities for Single-Cell RNA-Seq

v0.1.3
GPL-3
Authors
Viktor Petukhov [aut], Ramus Rydbirk [aut], Peter Kharchenko [aut], Evan Biederstedt [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.