[R] coulmns format

De Amicis Fabrizio (G.I.T.) Fabrizio.DeAmicis at git.generali.ch
Thu May 8 13:12:44 CEST 2003


> HI,
> with the command, 
> 
> jj<-tapply(j1,j2,sum)
> 
> the result is
> 
> > jj
>           AUTOSTELLA             CAIZZONE CENTRO B PEL E C SNC
> CHROMOLI             CONSORZI 
>               308178               152183               120468
> 150658               325459 
>             GIUNTIMA          LINEAGERMAI             MAN NORD
> PDM              RINALDI 
>               285285               403875               293926
> 145196               293923 
> 
> 
> question: there is a way to obtain the result in the following way?
> 
> 
> AUTOSTELLA			308178     
> CAIZZONE			152183
> CENTRO B PEL E C SNC	120468	
> CHROMOLI			150658
> CONSORZI			325459
> GIUNTIMA			285285
> LINEAGERMAI			403875
> MAN NORD			293926
> PDM				145196	
> RINALDI			293923
> 
> Thanks,
> Fabrizio 
> 
> ---------------------------------------------------------------
> Fabrizio De Amicis
> 
> IT Department
> Generali Information Technologies - (GIT)
> 
> Centro Galleria 2,
> Via Cantonale
> CH - 6928 Manno - Switzerland
> Tel  +41 91 806 6220
> Fax +41 91 806 6298
> E-mail: fabrizio.deamicis at git.generali.ch  
> 
> 
> 
> 
************************************************************************
The information in this email is confidential and may be legally... {{dropped}}




More information about the R-help mailing list