Hi
> EMU1993<-(for (i in 1:nrow(data)){
+ ifelse(year==1992,sum(avgflowEMU),0)
+ })
>EMU1993
NULL
--
View this message in context:
http://r.789695.n4.nabble.com/Assignment-problems-tp4578672p4581590.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.