qw | R Documentation |
qw
stands for quote words. The function takes a string of
words separated by whitespace characters. It returns a vector in which
each element is a word. The point of the function is to speed the
creation of vectors of words and to make for more readable code.
qw(x)
x |
A string. It may contain newline characters; |
This function is an R implementation of
Perl's qw()
operator.
Sadly, the operator has no equivalent in Python.
Character vector.
Florent Delmotte (“flodel”). See http://stackoverflow.com/questions/520810/.
https://perldoc.perl.org/5.30.0/perlop.html#Quote-Like-Operators.
qw("You can type text with line breaks if you wish") # [1] "You" "can" "type" "text" # [5] "here" "with" "linebreaks" "if" # [9] "you" "wish"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.