search for: amax

Displaying 11 results from an estimated 11 matches for "amax".

Did you mean: ajax
2011 Oct 24
1
nonlinear model
...23333,4.084667 ,NaN,NaN) Pot<-c(21.700000,16.700000,16.400000,17.200000,17.833333,18.266667,18.966667,18.400000,19.100000,18.333333,16.333333,21.466667,7.033333,NaN,6.366667,6.700000,16.633333,15.666667 ,17.883333,NaN) When using the nls command I recieve an error like this: >mod = nls(A~ Amax * (1-exp(-b*Pot)),start=list(Amax=10,b=0.003)) / / Error in nls(A~ Amax * (1 - exp(-b * Pot), start = list(Amax = 10, : / step factor 0.000488281 reduced below 'minFactor' of 0.000976562 /I suppose that the used model is wrong, specialy Amax. I studied somewhere I should use "pline...
2009 Mar 12
3
avoiding termination of nls given convergence failure
...I have a script in which I repeatedly fit a nonlinear regression to a series of data sets using nls and the port algorithm from within a loop. The general structure of the loop is: for(i in 1:n){ … extract relevant vectors of dependent and independent variables … … estimate starting values for Amax and Q.LCP… fit<-nls(photosynthesis~fit.Mitcherlich(irradiance,Amax,LCP,Q.LCP),data=temp , start=list(Amax=Astart,Q.LCP=x,LCP=33),control=list(maxiter=100,tol=5e-4), na.action=na.omit,trace=T,algorithm="port",lower=c(0,0,0)) … } Despite trying to estimate goo...
2017 Jun 18
2
About error bars on barplots
Hi R users, I have a question about adding uncertainty bars to stacked bar plots. DF: year A B C Amin Amax Bmin Bmax Cmin Cmax 2009 40 45 15 30 61 23 56 14 17 2010 36 41 23 26 54 22 51 22 24 I use the code below: DF.refm = melt(subset(DF[,c(1:4)]),id.vars='year',variable_name='Legend') fig1 = ggplot(data=DF.refm,...
2017 Jun 18
0
[FORGED] About error bars on barplots
On 18/06/17 12:10, lily li wrote: > Hi R users, > > I have a question about adding uncertainty bars to stacked bar plots. > > DF: > year A B C Amin Amax Bmin Bmax Cmin Cmax > 2009 40 45 15 30 61 23 56 14 17 > 2010 36 41 23 26 54 22 51 22 24 > > I use the code below: > > DF.refm = melt(subset(DF[,c(1:4)]),id.vars='year',variable_name='Legend'...
2011 Apr 07
1
df with max function applied to 6 lags of a variable?!?
...3.89, 3.73, 4.00, 3.81, 3.86, 1.88, 3.74, 3.75)A4=c(3.56, 3.27, 3.42, 3.32, 3.48, 3.54, 3.60, 2.04, 3.38, 3.37)A5=c(8.24, 8.67, 8.49, 0.00, 9.39, 0.00, 8.49, 8.94, 0.00, 0.00)A6=c(4.28, 4.18, 4.20, 4.14, 4.40, 4.20, 4.20, 4.15, 4.17, 4.16) A <- cbind(A1, A2, A3, A4, A5, A6) My new data frame, Amax, where each element is amax(i,j)=max[a(i-1,j), a(i-2,j), a(i-3,j), a(i-4,j), a(1-5,j), a(i-6,j)] would be:NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA 7.94 4.27 4.16...
2004 Feb 19
1
controlling nls errors
...es and, if these are not chosen properly, the nls function stops and gives an error message: Error in numericDeriv(form[[3]], names(ind), env) : Missing value or an Infinity produced when evaluating the model In addition: Warning message: NaNs produced in: sqrt((quantum.yeild * I + Amax)^2 - 4 * theta * quantum.yeild * I want to embed the nls function within a loop so that if it gives an error message I can automatically adjust the starting value and retry. To do this I have to be able to test if the function has converged within the loop. I need something like an “if.error...
2014 Jun 13
2
no x label using axis.Date
...days$y,type="n",ylim=c(0,Bmax),xaxt="n") points(B$date,B$TSP,col=Bcol,type="p",pch=16,lwd=2,xaxt="n") text(mdate,Bmax-20,labels="DM2",cex=1) abline(h=Target,col="red",lwd=2) plot(totaldays$totaldays,totaldays$y,type="n",ylim=c(0,Amax),xaxt="n") points(A$date,A$TSP,col=Acol,type="p",pch=16,lwd=2,xaxt="n") text(mdate,Amax-20,labels="DM3",cex=1) abline(h=Target,col="red",lwd=2) plot(totaldays$totaldays,totaldays$y,type="n",ylim=c(0,Emax),xaxt="n") *xlabels<-...
2011 Mar 08
4
minimum distance between line segments
Dear R helpers, I think that this may be a bit of a math question as the more I consider it, the harder it seems. I am trying to come up with a way to work out the minimum distance between line segments. For instance, consider 20 random line segments: x1 <- runif(20) y1 <- runif(20) x2 <- runif(20) y2 <- runif(20) plot(x1, y1, type = "n") segments(x1, y1, x2, y2)
2006 Dec 05
4
4.4/64-bit Supermicro/ Nvidia Sata RAID Driver
...p the 4 Sata drives instead of the large RAID5 volume, it should just appear as one big 1TB drive. Usually it should see the RAID and not worry about loading the sata driver per se from what I remember... When the OS install completes and I reboot, I simply get a blinking cursor. On consulting Amax/ Supermicro, they write: ---snip---- Since this Supermicro model was just recently released, it is possible that the drivers on your installation disk are out of date. Supermicro suggested downloading the latest Redhat Driver from their FTP Site at: ftp://ftp.supermicro.com/driver/SATA/nVidia...
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...pf.bmax = 255; + pf.rshift = 0; + pf.gshift = 8; + pf.bshift = 16; + break; + case 32: + pf.rmask = 0x0000FF00; + pf.gmask = 0x00FF0000; + pf.bmask = 0xFF000000; + pf.amask = 0x00000000; + pf.amax = 255; + pf.rmax = 255; + pf.gmax = 255; + pf.bmax = 255; + pf.ashift = 0; + pf.rshift = 8; + pf.gshift = 16; + pf.bshift = 24; + break; + default: + break; } + return pf; } + +PixelFo...
2009 Mar 02
0
[PATCH 5 of 13] exploiting the new interface in vnc.c
...default: break; diff -r 07a126ac0425 console.h --- a/console.h Mon Feb 16 11:39:06 2009 +0000 +++ b/console.h Mon Feb 16 12:07:19 2009 +0000 @@ -77,6 +77,7 @@ uint32_t rmask, gmask, bmask, amask; uint8_t rshift, gshift, bshift, ashift; uint8_t rmax, gmax, bmax, amax; + uint8_t rbits, gbits, bbits, abits; }; struct DisplaySurface { diff -r 07a126ac0425 vnc.c --- a/vnc.c Mon Feb 16 11:39:06 2009 +0000 +++ b/vnc.c Mon Feb 16 12:07:19 2009 +0000 @@ -74,6 +74,12 @@ #define VNC_DEBUG(fmt, ...) do { } while (0) #endif +#define count_bits(c, v) { \ + for...