[R] passing a string to expand.grid

Thomas Kaliwe hamstersquats at web.de
Fri May 12 16:16:46 CEST 2006


Hi R-Users,

I'm having a problem with strings.

My string looks like this "c(-1,1), c(-1,1)" and I would like to pass it
to expand.grid so that expand.grid(c(-1,1),c(-1,1)) will be done.

Cheers,

Thomas




More information about the R-help mailing list