astext: As Text

View source: R/astext.R

astextR Documentation

As Text

Description

Prints a vector as text you can copy and paste back into the code. Helpful for copying vectors into code for testing and validation. Author: Bryce Chamberlain.

Usage

astext(x)

Arguments

x

Vector to represent as text.

Value

Vector represented as a character.

Examples

astext( c( 1, 2, 4 ) )
astext( c( 'a', 'b', 'c' ) )

oliver-wyman-actuarial/easyR documentation built on Jan. 27, 2024, 4:35 a.m.