I'm trying to develop this function so that I can efficiently generate
all possibile combinations of the strings.
So I have certain roots, prefixes, and sufixes. I also have different
combinations of the data, some with two strings (roots, prefix) and others
with three strings (roots, prefix, suff
Alas, you don't have a suffix2 object defined, but try this:
d1 <- one(prefix, roots)
d2 <- one(roots, suffix)
rbind(d1, d2)
To see a potential flaw in your function (as least as far as console
output is concerned), try
rbind(d1, one(roots, suffix))
HTH,
Dennis
On Tue, Jun 7, 2011 at 3:30 PM, A
2 matches
Mail list logo