Thanks. It did solve the problem.
Luis
--
View this message in context:
http://www.nabble.com/if-condition-and-for-cycles-tf4882403.html#a13982960
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://
I have two questions about R:
1) Does anyone knows why I get the plots but not the summary results of the
linear fitting when I run this code? When I run it outside the if condition
it works fine.
if (op==4) {
t=1:length(time(SeaIce))
fitlinear=lm(SeaIce~t)
windows()
2 matches
Mail list logo