Displaying 3 results from an estimated 3 matches for "tempmax".
Did you mean:
temp_max
2009 May 25
3
Interpolating variables within (RODBC library) SQL statements for MySQL
...t X-Position
So far, so good: SQL Select works and everybody is fine, but this was just
the preparation for the next step: Select all data out of the database with
e.g. ypos = 1 and xpos = 182...
rawdata <- sqlQuery(channel, "select YPOS, XPOS, YEAR, MONTH, RANGE, APFEL,
TEMPMIN, TEMPAVG, TEMPMAX, PRECIPITATION, SUNDURATION from DATA where
YPOS='ypos' AND XPOS='xpos' AND MONTH BETWEEN 1 AND 12 AND RANGE = 1;")
The problem is that I want to use variables (xpos, ypos) to be replaced by
the numbers (much more of them) so the SQL String would be:
rawdata <- sqlQuery(ch...
2012 May 31
1
fitting allometric equation using a for a power model
...siduals(temppow), main="pow")
abline(temppow)
plot(y~x, main="pow")
tempsum<-summary(temppow)$adj.r.squared
tempint<-summary(temppow)$coefficients[1,1] #intercept of power function
tempslope<-summary(temppow)$coefficients[2,1] #slope of power function
tempmin<-min(x)
tempmax<-max(x)
lngth<-c(tempmin:tempmax) # vector from the minimum to the maximum values
of independent variable
prediction<-exp(tempint)*((lngth)^tempslope)*exp((summary(temppow)$sigma^2)/2)
# exp((summary(temppow)$sigma^2)/2) is the bias correction
#prediction<-exp(tempint+tempslope*log(ln...
2000 Nov 08
0
vq diffs
...pentries*sizeof(long));
p->quantvals=(quantvals+factor-1)/factor;
@@ -275,9 +275,9 @@
for(i=0;i<dim;i++)subpigeons*=p->mapentries;
for(i=0;i<dim;i++)pigeons*=p->quantvals;
- temptrack=_ogg_calloc(dim,sizeof(long));
- tempmin=_ogg_calloc(dim,sizeof(float));
- tempmax=_ogg_calloc(dim,sizeof(float));
- tempstack=_ogg_calloc(pigeons,sizeof(long *));
- tempcount=_ogg_calloc(pigeons,sizeof(long));
+ temptrack=(long*)_ogg_calloc(dim,sizeof(long));
+ tempmin=(float*)_ogg_calloc(dim,sizeof(float));
+ tempmax=(float*)_ogg_calloc(dim,sizeof(float));
+ t...