powered by
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.
astext(x)
Vector represented as a character.
Vector to represent as text.
astext( c( 1, 2, 4 ) ) astext( c( 'a', 'b', 'c' ) )
Run the code above in your browser using DataLab