add_names {evabic}R Documentation

Add names to a vector

Description

Add names to a vector, with default names.

Usage

add_names(x, names = NULL, prefix = "x")

Arguments

x

A vector.

names

Vector of names to add. If NULL, default names are added.

prefix

The prefix to add before default names. Useful only if names is set to NULL.

Value

A named vector

Examples

add_names(month.name)

[Package evabic version 0.0.3 Index]