Displaying 2 results from an estimated 2 matches for "pluv2ultimosmeses".
2010 Sep 26
4
Problem with unlist
Hello I want to unlist the attached element getting only the first element
in each element of the list. The last element of the list looks as this:
[[5065]]
[[5065]]$Pluv3Meses
[1] 274.4
[[5065]]$PluvMesesMedio
[1] 378.2667
[[5065]]$Pluv2UltimosMeses
[1] 23.33333
So I would like to get for each element of the list the element called
Pluv3Meses. The whole list has 5065 elements but when I try to unlist it I
am getting 5081 elements I don't know why:
> length(unlist(sapply(SumaPluvi,"[",1)))
[1] 5081
Does anybody know what can...
2010 Sep 16
1
Problems creating a Panel
Hello, I am trying to create a panel with the attached data frame. using the
following code:
> PanelRio = DataRiopaila[which(duplicated(DataRiopaila$SEC_STE)==T),]
> PanelRio=plm.data(PanelRio,index=c("SEC_STE","FechaSiembra"))
series
Pluv3Meses,PluvMes4al10,Pluv2UltimosMeses,Rad3Meses,RadMes4al10,Rad2UltimosMeses
are NA and have been removed
It tells me it removes couple of series because they are NA, and I don't
understand why because if I do:
> PanelRio = DataRiopaila[which(duplicated(DataRiopaila$SEC_STE)==T),]
> length(which(is.na(PanelRio[,"Pluv3...