Learn R Programming

multifunc (version 0.9.4)

qw: Quote Words

Description

qw Takes an unquoted vector and adds quotes to it like the qw function in perl.

Usage

qw(...)

Arguments

...

Any unquoted strings

Value

A vector

Details

This is a helper function for data processing. Honestly, I use qw all the time in other languages, and wanted a version for R.

Examples

Run this code
# NOT RUN {
c("a", "b")

qw(a, b)



# qw - a helper function that we
# will use later to deal with strings
# analagous to qw in PERL
# }

Run the code above in your browser using DataLab