prefix_0: Add a prefixing zero to scalars of length 1

Description Usage Arguments Value Examples

View source: R/prefix_0.R

Description

Any elements with more than one character are left blank

Usage

1

Arguments

x

A vector of length 1 (scalar)

Value

A vector of some length as x

Examples

1
2
example_vector <- c(3, 7, 24, 96, 8)
sapply(example_vector, prefix_0)

condwanaland/condwanaland documentation built on Feb. 16, 2018, 1:10 a.m.