search for: maxt

Displaying 17 results from an estimated 17 matches for "maxt".

Did you mean: max
2006 Jan 10
1
Find last row (observation) for each combination of variables
...ied using "aggregate" to find the maximum TS for each combination of A/B/C, but it's slow. I also tried "by" but it's also slow. My current (faster) solution is: DF$abc<-paste(DF$A,DF$B,DF$C,sep="") abclist<-unique(DF$ABC) numtest<-length(abclist) maxTS<-rep(0,numtest) for(i in 1:numtest){ maxTS[i]<-max(DF$TS[DF$abc==abclist[i]],na.rm=TRUE) } maxTSdf<-data.frame(device=I(abc),maxTS=maxTS ) DF<-merge(DF,maxTSdf,by="abc",all.x=TRUE) DF<-Df[DF$TS==DF$maxTS,,drop=TRUE] DF$maxTS<-NULL This seems a bit lengthy for s...
2012 Nov 14
0
Generating autogressive model in R
...users, Please help me with the following problem. I have a data set of the form ´dat´   dat <- data.frame(id = seq(1:5), trt=c(0,0,1,1,1),tid=c(0,0,0,0,0),                   ntid=c(0,0,0,0,0))   The function auto is used to generate the autoregressive model:   auto <- function(seed,delta,beta,maxt,dat){ set.seed(seed)  sp <- lapply(split(dat,dat$id),function(x){  while(x$tid < maxt){  lambda <- delta*exp(beta*x$trt +0.1*x$ntid)  wait <- rexp(1,lambda)  x$tid <- x$tid + wait   x$ntid <- ifelse(x$tid < maxt, x$ntid+1,x$ntid) #browser()   }  x })   mydat <- do.call(rbind...
2008 Jan 14
1
stochastic growth rate (package biopop)
Dear all, I am running matrix population models using package "popbio". In a deterministic model {i.e., transition matrix is defined as A <- matrix(c(0.70, 0.70,0.35,0.50), nrow=2,byrow=TRUE}, population growth rate can be estimated from the dominant eigenvalue {command "eigen.analysis"}. However, I cannot figure out the way to compute the asymptotic stochastic population
2012 Oct 08
0
recurrent event data generation in r
...). The result is checked if it is less than some time, say 112. If the new tid (i.e tid +wait) is less, ntid is incremented by 1 (i.e ntid=ntid+1), and the process is repeated until new tid is greater than 112. At this stage, ntid =ntid. Here is my code: waiting <- function(seed,phi,delta,beta,maxt,dat){ set.seed(seed)  sp <- lapply(split(dat,dat$id),function(x){  while(x$tid < maxt){   B <- rexp(1) f1 <- (1/phi)+ x$ntid; f2 <- abs(1+phi*delta*x$tid*exp(beta*x$trt)) f3 <- phi*delta*exp(beta*x$trt) wait <- ((exp((B/f1)+log(f2))-1)/f3)-x$tid  x$tid <- x$tid + wait   x$nt...
2017 Oct 10
2
small files performance
...0%, 16=0.2%, 32=0.0%, 64=0.0%, >=64=0.0% issued : total=r=5424/w=2357/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0 latency : target=0, window=0, percentile=100.00%, depth=16 Run status group 0 (all jobs): READ: io=43392KB, aggrb=715KB/s, minb=715KB/s, maxb=715KB/s, mint=60610msec, maxt=60610msec WRITE: io=18856KB, aggrb=311KB/s, minb=311KB/s, maxb=311KB/s, mint=60610msec, maxt=60610msec -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20171010/b63b8c42/attachment.html>
2012 Aug 07
0
R enquire
..._ (1) F77 code subroutine weathersel(GRD,YR,SWJD,HRVJD) C ========================================== C ---------------------------------------------------------- C ---------------------------------------------------------- C INTEGER :: GRID,YEAR,JDAY,A,B,C,D REAL :: LAT,LONG,MINT,MAXT,TEMP REAL :: PREC,WIND,RAD,RH,DELTA,ET C----------------------------------------------------------- C ** Identifying the variables C A=GRD B=YR C=SWJD D=HRVJD C C------------------------------------------------------------- C ** Opening the files C open(unit=16,...
2004 Jan 20
1
Re: Need help on how to list functions from a loaded package...
.... By visiting http://www.bioconductor.org/repository/release1.3/package/html/graph.html the multtest package consists of... --------- snip multtest Multiple Testing Procedures 1.3.3 ----------snip Function Description golub Gene expression dataset from Golub et al. (1999) mt.maxT Step-down maxT and minP multiple testing procedures mt.plot Plotting results from multiple testing procedures mt.rawp2adjp Adjusted p-values for simple multiple testing procedures mt.reject Identity and number of rejected hypotheses mt.sample.teststat Permutation distributio...
2017 Oct 10
0
small files performance
...;=64=0.0% > issued : total=r=5424/w=2357/d=0, short=r=0/w=0/d=0, > drop=r=0/w=0/d=0 > latency : target=0, window=0, percentile=100.00%, depth=16 > > Run status group 0 (all jobs): > READ: io=43392KB, aggrb=715KB/s, minb=715KB/s, maxb=715KB/s, > mint=60610msec, maxt=60610msec > WRITE: io=18856KB, aggrb=311KB/s, minb=311KB/s, maxb=311KB/s, > mint=60610msec, maxt=60610msec > > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinf...
2005 Feb 06
0
Please help printing from CUPS to XP shared printer via smb
...d be grateful if any of you could help me understand what am I doing wrong which I suspect is related to a wrong authentication ??? TIA, Bob 1) This is the first "anomaly". What are those messages at the bottom ? It's reason ? bob@t40:~$ smbclient -I 192.168.174.242 -L fenice-nf7-maxt -N Domain=[FENICE-NF7-MAXT] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Sharename Type Comment --------- ---- ------- P$ Disk Default share IPC$ IPC Remote IPC print$ Disk Pri...
2004 Jan 20
0
Re: Need help on how to list functions from a loaded pack age...
.... By visiting http://www.bioconductor.org/repository/release1.3/package/html/graph.html the multtest package consists of... --------- snip multtest Multiple Testing Procedures 1.3.3 ----------snip Function Description golub Gene expression dataset from Golub et al. (1999) mt.maxT Step-down maxT and minP multiple testing procedures mt.plot Plotting results from multiple testing procedures mt.rawp2adjp Adjusted p-values for simple multiple testing procedures mt.reject Identity and number of rejected hypotheses mt.sample.teststat Permutation distributio...
2006 Jan 26
3
Calling a SOAP service from within a Rails controller
...e ruby program: ********************************************************************************************** t = Time.now starter = Time.local(t.year,t.mon, t.day) + (24 *3600) ender = starter + 7 * 24 *3600 lat = 40.352039 lon = -74.191961 require ''soap/wsdlDriver'' params = {:maxt => false, :mint => false, :temp => true, :dew => false, :pop12 => false, :qpf => false, :sky => false, :snow => false, :wspd => false, :wdir => false, :wx => false, :waveh => false, :icons => false, :rh => false, :appt => true} wsdl = "http:/...
2003 Dec 11
2
samba3/ldap/net groupmap fails
....168.2.255 nmask=255.255.255.0 [2003/12/11 13:47:26, 2] lib/interface.c:add_interface(79) added interface ip=192.168.5.1 bcast=192.168.5.255 nmask=255.255.255.0 [2003/12/11 13:47:26, 2] lib/smbldap.c:smbldap_search_domain_info(1296) Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=MAXT))] [2003/12/11 13:47:26, 2] lib/smbldap.c:smbldap_search_suffix(1067) smbldap_search_suffix: searching for:[(&(objectClass=sambaDomain)(sambaDomainName=MAXT))] [2003/12/11 13:47:26, 2] lib/smbldap.c:smbldap_open_connection(624) smbldap_open_connection: connection opened [2003/12/11 13:47:26...
2009 Jan 26
1
ups emerson liebert GTX2 ESP-II serial protocol demo
...f (!strcmp(descr,c->descr)) return i; //printf("%d: c->descr:%s\n",i,c->descr); c++; } return -1; } //return array position of the same status command with the most recent data GetRecentStatusId(cmd_s *c,unsigned char bit4,unsigned int ncmd) { int i,r=-1; time_t maxt=0; for (i=0;i<ncmd;i++,c++) { if ((c->cmd[1]!=148) || (c->cmd[4]!=bit4)) continue; else if (c->when>maxt) { maxt=c->when; r=i; } } return r; } /***************************************************/ /* print byte in binary*/ void bin_...
2010 Feb 10
2
Help Please!
So I have to use this table of min, max, and mean temps for certain years http://www.stat.berkeley.edu/classes/s133/data/january.tab. I am supposed to figure out which year had the hottest January and which had the coldest. But I dont know how to! Nick Manginelli [[alternative HTML version deleted]]
2012 Aug 10
1
virtio-scsi <-> vhost multi lun/adapter performance results with 3.6-rc0
...lat (usec): 4=0.01%, 10=0.01%, 20=0.01%, 50=0.01%, 100=0.03% lat (usec): 250=0.40%, 500=2.43%, 750=3.51%, 1000=6.98% lat (msec): 2=38.68%, 4=38.79%, 10=8.85%, 20=0.30% Run status group 0 (all jobs): READ: io=3,073MB, aggrb=490MB/s, minb=64,257KB/s, maxb=66,641KB/s, mint=6042msec, maxt=6267msec WRITE: io=1,023MB, aggrb=163MB/s, minb=21,326KB/s, maxb=22,214KB/s, mint=6042msec, maxt=6267msec Disk stats (read/write): sdb: ios=784970/261501, merge=117/13, ticks=662700/221522, in_queue=884812, util=98.44% -------------- next part -------------- randrw: (g=0): rw=randrw, bs=4K-4K/...
2012 Aug 10
1
virtio-scsi <-> vhost multi lun/adapter performance results with 3.6-rc0
...lat (usec): 4=0.01%, 10=0.01%, 20=0.01%, 50=0.01%, 100=0.03% lat (usec): 250=0.40%, 500=2.43%, 750=3.51%, 1000=6.98% lat (msec): 2=38.68%, 4=38.79%, 10=8.85%, 20=0.30% Run status group 0 (all jobs): READ: io=3,073MB, aggrb=490MB/s, minb=64,257KB/s, maxb=66,641KB/s, mint=6042msec, maxt=6267msec WRITE: io=1,023MB, aggrb=163MB/s, minb=21,326KB/s, maxb=22,214KB/s, mint=6042msec, maxt=6267msec Disk stats (read/write): sdb: ios=784970/261501, merge=117/13, ticks=662700/221522, in_queue=884812, util=98.44% -------------- next part -------------- randrw: (g=0): rw=randrw, bs=4K-4K/...
2004 Jan 15
12
capacity testing
Hello all. I'm new to asterisk and have been using and testing it for about a week now. My initial hope has been to use it as a sip<->h323 gateway to tie SIP & H323 based ip phones together with my Cisco AS5300 and Lucent MaxTNT/MVAM networks. I am currently running Asterisk 0.5.0 under Redhat 9 on a single PIII 800 with 256megs RAM. I have tried a couple CVS version from the past week (maybe 01/09/04 and 01/14/04) and have not been able to get them to work semi-reliably in my simple 1 or 2 call test cases. v.0.5.0 has...