[R] Regex Help
Bert Gunter
bgunter.4567 at gmail.com
Tue Dec 13 06:57:19 CET 2016
1. Once you have the character vector from the regex, see ?strsplit to
get the strings on either side of the "->" .
You may have to fiddle a bit if one or the other side is empty.
You can then format the results as you like.
2. "Graphical representation similar to this" is too vague a
specification to be meaningful.
Cheers,
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
More information about the R-help
mailing list