[R] wildcard symbol or character
john.polo
jpolo at mail.usf.edu
Thu Jun 5 04:46:35 CEST 2008
Jorge Ivan Velez wrote:
>
> Dear John,
>
> Assuming that your information is in the list x, does
>
> substr(x,1,2)
>
> work for you?
>
> HTH,
>
> Jorge
Jorge,
i tried
split(rtt, substr(rtt,1,3))
and that worked also. (i didn't think to nest it when you first
suggested it.) i just have to clean up the levels thing. thanks!!
now, i look into regex some...
john
More information about the R-help
mailing list