search for: maxts

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

Did you mean: mats
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 su...
2012 Nov 14
0
Generating autogressive model in R
Dear 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 <
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
Dear R users, Kindly help me to look into the following problem. I have a dataset like the following 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)) I want to create waiting times using   B <- rexp(1) f1 <- (1/phi)+ ntid; f2 <- abs(1+phi*delta*tid*exp(beta*trt)) f3 <- phi*delta*exp(beta*trt) wait <-
2017 Oct 10
2
small files performance
2017-10-10 8:25 GMT+02:00 Karan Sandha <ksandha at redhat.com>: > Hi Gandalf, > > We have multiple tuning to do for small-files which decrease the time for > negative lookups , meta-data caching, parallel readdir. Bumping the server > and client event threads will help you out in increasing the small file > performance. > > gluster v set <vol-name> group
2012 Aug 07
0
R enquire
Dear Madam or Mister, My name is Manuel Montesino and I am a PhD student at the University of Copenhagen. I am not a programmer myself, but my thesis requires the combined use of R and a model. I would be very grateful if you help me with the following issue; I am trying to combine a small piece of code written in Fortran 77 with R. The F77 code aims to select data from a library and write it
2004 Jan 20
1
Re: Need help on how to list functions from a loaded package...
To All How does one get a list of functions from a loaded package so that one can then get the appropriate help for each of the functions. Currently my method is based on a lot of trial-and-error. Here's an example of what I mean... >From this forum I learn that an interesting package called "multtest" exists on Bioconductor. I then use R Console's "Packages" --
2017 Oct 10
0
small files performance
I just tried setting: performance.parallel-readdir on features.cache-invalidation on features.cache-invalidation-timeout 600 performance.stat-prefetch performance.cache-invalidation performance.md-cache-timeout 600 network.inode-lru-limit 50000 performance.cache-invalidation on and clients could not see their files with ls when accessing via a fuse mount. The files and directories were there,
2005 Feb 06
0
Please help printing from CUPS to XP shared printer via smb
Sorry if this is a stupid question but I tried reading, studying and finding solution but am not making it alone :) On my home lan I have a Linux (Debian sid) box (192.168.174.244) running 3.0.10 samba and cups 1.1.23. My objective is to print from this box to the other home PC which is running XP (192.168.174.242) and sharing an Epson R200 printer. Follows the troubleshooting I could do
2004 Jan 20
0
Re: Need help on how to list functions from a loaded pack age...
You can get help on the whole package by > help(package="multtest") which is likely pretty close to what you want. There's the index etc for the package on the web as well. You can also just look in the package's installation directory. If it's loaded you can do an ls(2) say if it loaded in position 2, to get all objects in the package. Reid -----Original Message-----
2006 Jan 26
3
Calling a SOAP service from within a Rails controller
The following works fine as a standalone 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
2003 Dec 11
2
samba3/ldap/net groupmap fails
hi, we recently upgraded from samba 2.2.8a w/ldap to samba3 w/ldap and having troubles with domain group mappings. first symptom is that net groupmap list returns nothing. [root@lola root]# net groupmap list [root@lola root]# if we try to add a groupmapping, the command fails: net groupmap add sid=<sid-gid> ntgroup="Domain Admins" unixgroup=domadm type=domain --debuglevel=4
2009 Jan 26
1
ups emerson liebert GTX2 ESP-II serial protocol demo
2009/1/22 Spiros Ioannou <sivann at gmail.com> > Cher Arnaud, > Hi Spiros, > I send you a demo that reads info from an Emerson Liebert > GXT2-10000T230 through the RS-232 port. This uses the "ESP-II (ESP 2) > Protocol". > Current supported data includes: measurements (voltage, temperature, > etc) , ID strings (serial number, etc), status flags (inverter on,
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
Hi folks, The following are initial virtio-scsi + target vhost benchmark results using multiple target LUNs per vhost and multiple virtio PCI adapters to scale the total number of virtio-scsi LUNs into a single KVM guest. The test setup is currently using 4x SCSI LUNs per vhost WWPN, with 8x virtio PCI adapters for a total of 32x 500MB ramdisk LUNs into a single guest, along with each backend
2012 Aug 10
1
virtio-scsi <-> vhost multi lun/adapter performance results with 3.6-rc0
Hi folks, The following are initial virtio-scsi + target vhost benchmark results using multiple target LUNs per vhost and multiple virtio PCI adapters to scale the total number of virtio-scsi LUNs into a single KVM guest. The test setup is currently using 4x SCSI LUNs per vhost WWPN, with 8x virtio PCI adapters for a total of 32x 500MB ramdisk LUNs into a single guest, along with each backend
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