makestr | R Documentation |
Build strings where function names are composed of a single-letter prefix and a longer suffix. See details.
makestr()
geq(x, ...)
geq0(x, ...)
gcat(...)
gelt(x, ...)
gfun(x, ...)
glist(...)
gform(x, ...)
gtick(...)
gwrap(left, right, ...)
gbrace(...)
gcolon(...)
gparen(...)
gquote(...)
gquote2(...)
gbracket(...)
pcat(...)
peq(x, ...)
peq0(x, ...)
pelt(x, ...)
pfun(x, ...)
plist(...)
pform(x, ...)
ptick(...)
pwrap(left, right, ...)
pbrace(...)
pcolon(...)
pparen(...)
pquote(...)
pquote2(...)
pbracket(...)
x |
An object containing atomic values (atomized before processing). |
... |
An arbitrary number of objects to be atomized into a single atomic vector. |
left , right |
Complete character scalars giving left and right side enclosures for |
Prefixes and their meanings are:
g | Glue/collapse ... args |
p | Paste across corresponding element of ... . |
Suffixes and their meanings are:
bracket | Enclose in square brackets |
paren | Enclose in parentheses |
brace | Enclose in braces |
quote2 | Enclose in double quotes |
quote | Enclose in single quotes |
tick | Enclose in backticks |
wrap | Enclose left and right |
colon | Delimit with colons |
list | Delimit with comma + space |
form | formula statement |
elt | Element extraction statement |
fun | function call statement |
cat | Vector concatenation statement |
eq0 | Unpadded equality statement |
eq | Space-padded equality statement |
\ Each prefix is joined with each suffix to create a unique function. The action indicated by the prefix happens first, followed by the action indicated in the suffix.
How each function works is illustrated in the details.
A character scalar or vector
Other strings:
blank()
,
chn()
,
delim()
,
fsub()
,
gr
,
ipat()
,
markdown_help()
,
maxnch()
,
ox()
,
ox_vals()
,
pgrid_help()
,
revstr()
,
spaces()
,
ss_help()
,
tocase()
,
weave()
geq(c('x', 'Y', 'Z'), 0, 1, 2)
peq(c('x', 'Y', 'Z'), 0, 1, 2)
geq0(c('x', 'Y', 'Z'), 0, 1, 2)
peq0(c('x', 'Y', 'Z'), 0, 1, 2)
gcat(c('x', 'Y', 'Z'), 0, 1, 2)
pcat(c('x', 'Y', 'Z'), 0, 1, 2)
gelt(c('x', 'Y', 'Z'), 0, 1, 2)
pelt(c('x', 'Y', 'Z'), 0, 1, 2)
gfun(c('x', 'Y', 'Z'), 0, 1, 2)
pfun(c('x', 'Y', 'Z'), 0, 1, 2)
gform(c('x', 'Y', 'Z'), 0, 1, 2)
pform(c('x', 'Y', 'Z'), 0, 1, 2)
glist(c('x', 'Y', 'Z'), 0, 1, 2)
plist(c('x', 'Y', 'Z'), 0, 1, 2)
gtick(c('x', 'Y', 'Z'), 0, 1, 2)
ptick(c('x', 'Y', 'Z'), 0, 1, 2)
gwrap(c('left', 'left', 'left'), 'right', 0, 1, 2)
pwrap(c('left', 'left', 'left'), 'right', 0, 1, 2)
gbrace(c('x', 'Y', 'Z'), 0, 1, 2)
pbrace(c('x', 'Y', 'Z'), 0, 1, 2)
gcolon(c('x', 'Y', 'Z'), 0, 1, 2)
pcolon(c('x', 'Y', 'Z'), 0, 1, 2)
gparen(c('x', 'Y', 'Z'), 0, 1, 2)
pparen(c('x', 'Y', 'Z'), 0, 1, 2)
gquote(c('x', 'Y', 'Z'), 0, 1, 2)
pquote(c('x', 'Y', 'Z'), 0, 1, 2)
gquote2(c('x', 'Y', 'Z'), 0, 1, 2)
pquote2(c('x', 'Y', 'Z'), 0, 1, 2)
gbracket(c('x', 'Y', 'Z'), 0, 1, 2)
pbracket(c('x', 'Y', 'Z'), 0, 1, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.