02:2000, sep=""))
## reshape
pippo2<-reshape(pippo2, direction="long", drop="firm",
varying=list(paste("cost",2002:2000,sep="")))
## merge them (R is smart enough to guess the names of 'by' variables)
alldata<-merge(pippo1, pippo2)
##
Cecilia Carmo schrieb:
> The objective of my work is to do linear regressions with the
> variables in the files or with other variables that I can obtain from
> those by doing some mathematical operations. I’ve already tried to
> import this information to an array in R, but I’ve seen that the
> l
Hi everyone and thank you for the help you could give me.
My data is in a spreadsheet. The 1st column identifies the
firm (with the fiscal number), the columns 2 to 11 have
the variable value for 11 years. I have many variables
(files like this). Each file has about 40.000 firms
(rows). I tra
3 matches
Mail list logo