Petr, many thanks. It´s very straightforward to to deal with the package, I had
different sources of revenues for same company, same month, like below, and
just by adding "sum" at the end of the function it collapsed values from all
sources. Very useful! Cheers
cast(dta, Data~Company, value="Re
> a <- matrix(c(1:4),ncol=2)
> b <- matrix(c(5:8),ncol=2)
> a
[,1] [,2]
[1,]13
[2,]24
> b
[,1] [,2]
[1,]57
[2,]68
> a+b
[,1] [,2]
[1,]6 10
[2,]8 12
Atenciosamente,
Leandro Lins Marino
Centro de Avaliação
Fundação CESGRANRIO
Rua Santa
2 matches
Mail list logo