Learn R Programming

genvar (version 0.0.2.0)

tostring: convert a variable of another type into a string variable

Description

convert a variable of another type into a string variable

Usage

tostring(varlist)

Arguments

varlist

variables to convert, in the form "var1 var2 var3", or if a single variable, var1 (unquoted) will work as well

Value

returns NULL, invisibly

Examples

Run this code
# NOT RUN {
use(cars, clear=TRUE)
tostring(speed)
listif()
# }

Run the code above in your browser using DataLab