Displaying 2 results from an estimated 2 matches for "co2model".
Did you mean:
cmmodel
2005 Jan 14
1
how to produce 2-d color plots in R
Hello 'R' Users,
I am very new on 'R', so excuse me if I ask something wrong.
I have ASCII data and the colums of the data are looks like :-
!-------------------------
time,yr,mo,dy,hr,min,sec,lat,lon,ht,co2obs,sigma,co2model
--
-
--
!----------------------------
Each column has data value. Now I want to produce 2-d color maps,
for example the plot should look like :-
on x-axis =lon , on y-axis=lat
and on these two axis I want to shade or fill co2model values.
Also, after ploting how I can draw the continent...
2008 Sep 30
0
Root-Mean-Square(RMS) Difference
...39; is number of
observations
Residuals are computed by fitting a harmonic function on both the data:
>testfit<-lm(co2obs~1+time+I(time^2)+sin(2*pi*time)+cos(2*pi*time)+sin(4*pi*time)+cos(4*pi*time)+sin(6*pi*time)+cos(6*pi*time)+sin(8*pi*time)+cos(8*pi*time),data=file)
#
>testfit1<-lm(co2model~1+time+I(time^2)+sin(2*pi*time)+cos(2*pi*time)+sin(4*pi*time)+cos(4*pi*time)+sin(6*pi*time)+cos(6*pi*time)+sin(8*pi*time)+cos(8*pi*time),data=file)#
'time' is time of observation
testfit$residuals # observed.residuals # (saved in seperate file by
write.table)
testfit1$residuals # modeled.r...