search for: tempmin

Displaying 5 results from an estimated 5 matches for "tempmin".

Did you mean: tempin
2009 Jun 16
1
adressing dataframes
...everyone, I experience some problems with adressing of data.frames when I retrieve some information for geographical position (ypos, xpos) ot of a MySQL Database and want to perform some simple statistics. The problem is adressing the dataframes with a construct like rawdata[c(type)] vs. rawdata$TEMPMIN to retrieve the numerical information and not a string (I want to store the numerical values in a database for graphical expression) Code Snippet: type <- "TEMPMIN" numbers <-summary(rawdata[c(type)]) numbers2 <- summary(rawdata$TEMPMINIMUM) Results: numbers TEMPM...
2009 May 25
3
Interpolating variables within (RODBC library) SQL statements for MySQL
...[2] # get the first 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...
2012 May 31
1
fitting allometric equation using a for a power model
...(y)~log(x)) plot(residuals(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(tempi...
2011 May 16
1
Linear Discriminant Analysis error: "Variables appear constant"
...grads+ QHEIgradv+QHEImwh+QHEIcovtype+QHEIwwh+QHab+QHabBuff+QHabEros+QhabPool+ QHabWDRatio+QHabRif+QHabFines+QHabCov+QHabRating+QHabSize+TP+TKN+NH3+NH3Min +NO3NO2N+BOD+TSS+TSSMax+TDS+SSC+SSCMax+Chloride+Sulfate+Ecoli+ChlA+DOper+ DOperMin+DOperMin1_5+DOmgL+DOmgLMean+DOmgLMax+Cond+pH+pHMax+Trans+Temp+ TempMin+Temp4+Crop100+Crop500+CropSub+Dev100+Dev500+DevSub+For100+For500+ ForSub+Pas100+Pas500+PasSub+Wat100+Wat500+WatSub+Wet100+Wet500+WetSub+ Undev100+Undev500+UndevTotal+Undev100NoPas+Undev500NoPas+UndevTotNoPas, data=AllData1, na.action="na.omit", CV=TRUE) Error in lda.default(x, grouping,...
2000 Nov 08
0
vq diffs
...p->pigeonmap=(long*)_ogg_malloc(p->mapentries*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=(...