[R] dataframe manipulation

antonio rodriguez antonio.raju at gmail.com
Wed Nov 22 20:55:38 CET 2006


Marc Schwartz escribió:
> Using just the example data:
>
>   
>> table(substr(DF$Var1, 1, 7))
>>     
>
> 1988-01 1988-02 1988-03 
>       5       6       1 
>   
This is just what I wanted!

Many thanks Marc!

BR

Antonio


> See ?substr for more information.
>
> HTH,
>
> Marc Schwartz
>
>
>
>



More information about the R-help mailing list