search for: delta

Displaying 20 results from an estimated 3052 matches for "delta".

2006 Jun 14
3
appending
All, In the function below I have 24 individuals and 6 calculations per individual. The 6 calculations are collected each time in a 1:24 loop when calculating "delta". I'd like to collect all 144 = 24*6 calculations in one vector ("delta.patient.comb"). The function works as is via indexing, but is there an easier way to collect the measurements via appendinng the 6 measurements each time to the current set? I couldn't find anything in...
2006 Oct 24
2
for help
I have a question in R. In directory H:/Delta_angle I have 19 files like this: ALA.delta ASN.delta ASP.delta CYS.delta GLN.delta GLU.delta HIS.delta ILE.delta LEU.delta LYS.delta MET.delta PHE.delta PRO.delta SER.delta THR.delta TRP.delta TYR.delta VAL.delta I want to read these files to 19 data sets in R. All these data sets have "P&quo...
2009 Aug 03
3
Help with data type
Hi there, Using a quantmod function, I calculate the daily change between two points in a time series. However, I don't think I am using the data correctly. Code: getSymbols("^GSPC", src="yahoo") CloseData <- Cl(GSPC) Delta <- diff(CloseData, lag=1) for (i in 3:length(Delta)) { if (Delta[i]>Delta[i-1]) sum <- sum + Delta } I can't seem to use the Delta variable. Can anyone point me in the right direction to transform the variable into a usable one? Example: > Delta[i-1] GSPC.Close 2000...
2008 Feb 27
4
[LLVMdev] llvm/test: suffix or operands invalid for `push'
Hi all again, llvm is failing the 2006-11-30-NoCompileUnit and 2006-11-30-Pubnames tests on me. -m32 and --disable-multilib didn't change the outcome. Did I get the command wrong? I tried jo at kurier:~/Delta/llvm/test$ CFLAGS=--multilib make check See below for a transcript of the failed check. What next? Regards, Jo -- snip -- jo at kurier:~/Delta/llvm/test$ make check llvm[0]: Running test suite make[1]: Betrete Verzeichnis '/home/jo/Delta/llvm/test' ( ulimit -t 600 ; ulimit -d 512000 ; \...
2002 Apr 29
0
code optimization
Try this: split(delta,cut(delta, breaks=c(0,2,4,7,10,max(delta)),include.lowest=T)) $"[0,2]" [1] 0.0 1.4 2.0 2.0 $"(2,4]" [1] 2.3 2.3 $"(4,7]" [1] 4.5 6.4 $"(7,10]" [1] 8.9 7.4 $"(10,12.4]" [1] 12.4 11.5 "Peter B. Mandeville" <mandevip at uaslp.mx&g...
2010 Nov 28
2
wine: Unhandled page fault on read access
...0000 006f2174 006f2174 0x0032d764: 00000000 00000000 00000000 00000000 0x0032d774: 00000000 00000000 00000001 00000002 0x0032d784: 0032d798 00589037 006f2174 00000002 0x0032d794: 00000001 0032d7b8 0058f6c8 006f2174 0x0032d7a4: 0050d524 00000000 00000000 00000000 Backtrace: =>0 0x0050d581 in delta (+0x10d581) (0x0032d784) 1 0x00589037 in delta (+0x189036) (0x0032d798) 2 0x0058f6c8 in delta (+0x18f6c7) (0x0032d7b8) 3 0x005b8362 in delta (+0x1b8361) (0x0032d7ec) 4 0x0045b570 in delta (+0x5b56f) (0x0032d8dc) 5 0x0051008e in delta (+0x11008d) (0x0032d9f4) 6 0x00589456 in delta (+0x18...
2002 Jun 24
10
code optimization
I have a function "eval.delta" which does what I want but isn't very elegant. I have consulted the R documents, MASS, and S Programming. Is there a practical way to optimize the code? Thank you very much. Peter B. Function: eval.delta <- function(delta){ cat("VALUES\n") vlr <- NULL k...
2009 Jan 12
1
AW: Clocksources and other mysteries
...tend to say: no. Please see an excerpt below. And if it''s not occasional, what could I do? And by the way: I found no code that TSC will get adjusted, so I think it will get worse over the time... Thanks, Carsten. messages.0:Jan 9 12:25:15 data kernel: Timer ISR/1: Time went backwards: delta=-12018171 delta_cpu=115981829 shadow=75780489375160 off=410607630 processed=75780912000000 cpu_processed=75780784000000 messages.0:Jan 9 12:25:16 data kernel: Timer ISR/1: Time went backwards: delta=-16026092 delta_cpu=75973908 shadow=75780489375160 off=806599392 processed=75781312000000 cpu_proce...
2010 May 05
2
[LLVMdev] Why llvm function name is different with . and ..
declare i8 @llvm.atomic.load.max.i8.p0i8( i8* <ptr>, i8 <delta> ) declare i16 @llvm.atomic.load.max.i16.p0i16( i16* <ptr>, i16 <delta> ) declare i32 @llvm.atomic.load.max.i32.p0i32( i32* <ptr>, i32 <delta> ) declare i64 @llvm.atomic.load.max.i64.p0i64( i64* <ptr>, i64 <delta> ) declare i8 @llvm.atomic.load.min.i8....
2007 Oct 26
6
Time went backwards / Stability issues
...ad on the hardware, but, well... Within 3 minutes of the tests beginning, the host machine became entirely unresponsive at the console, or to the network. After reboot, the following messages appear in the messages file on dom0: Oct 26 11:16:24 offxen2 kernel: clocksource/0: Time went backwards: delta=-87834561 shadow=1219075978646569 offset=40156133 Oct 26 11:16:24 offxen2 kernel: clocksource/3: Time went backwards: delta=-60020543 shadow=1219076192448184 offset=116224924 Oct 26 11:16:24 offxen2 kernel: clocksource/3: Time went backwards: delta=-30041758 shadow=1219076192448184 offset=242467112...
2004 Sep 06
4
substitution in expression
I have been struggling with this problem for a while and I hope someone could help me. Or if someone could point me to a section in the manual I would be grateful. x <- "my" plot(1:10, main=expression(paste( x, Delta, "values" ))) Q : How do I get the title to say "my (triangle symbol) values" ? The following trial-and-error produced mainly errors : plot(1:10, main=expression(paste( get(x), Delta, "values" ))) plot(1:10, main=expression(paste( substitute(x), Delta, values ))...
2008 Nov 20
1
Math Expression in 3D Plots
Is there anyway to label axes in 3D plots with mathematical expressions? In the code below, I want to replace "delta_yrsed" with what "\Delta \widehat{yrsed}" represents in TeX, but the [xyz]lab parameters of title3d appear to only accept character strings. require("rgl") fn.delta.yrsed <- function(dist, delta.dist, beta.dist=-0.1376463, beta.dist2=0.008869...
2013 Apr 07
1
[Dovecot-de] Dovecot Quota via policy service abfragen
Hallo Waffenmeister! Ralf Hildebrandt <Ralf.Hildebrandt at charite.de> wrote: > > Apr 7 14:07:52 delta postfix/qmgr[19078]: 1D8921B31260: from=<anmeyer at anup.de>, size=1492149, nrcpt=1 (queue active) > > Apr 7 14:07:53 delta postfix/pipe[19091]: 1D8921B31260: to=<miles at anup.de>, relay=dovecot, delay=2542, delays=2542/0.01/0/0.29, dsn=4.3.0, status=deferred (temporary failure)...
2009 Mar 30
0
Problem in S4 object displaying from within a Java application using JRI
...(59.73, 27.94,89.67, 62.44)", true); re.eval("mu2<- c(57.81, 72.67, 82.97, 62.44)", true); re.eval("mu3<- c(45.66, 49.19, 53, 64.39)", true); re.eval("mu4<- c(70.39, 80.41, 89.67, 80)", true); re.eval("delta.C <- 1", true); re.eval("Acp <- rbind (c(mu4,mu2,delta.C), c(mu2,mu3,delta.C), c(mu3,mu1,delta.C))", true); re.eval("wt <- c(0.3,0.3,0.25,0.15)/1", true); re.eval("delta.S <- 0.08", true); re.eval("A...
2008 Mar 28
1
Device problems in a loop.
I have tried the following code to plot and save many box plots in files. The code works by itself, but does not run in a loop. The error indicates that there is no device. The error is printed below the code. Code: for(i in 1:len) { A = as.numeric(delta[Delta[i,1]]) B = as.numeric(delta[Delta[i,2]]) C = as.numeric(delta[Delta[i,3]]) D = as.numeric(delta[Delta[i,4]]) data <- scan(filenames52[i], quiet=TRUE) data <- matrix(data, ncol=8) grp <- c('K1','K2','K3','K4','N','NBC...
2008 Apr 08
1
error using method ls.ranking.capa.ident
...47) > > ##preference threshold relative > ## to the preorder of the alternatives > > C<- rbind (a1, a2, a3, a4, a5, a6) > overall <- c (79, 78, 79.5, 77.5, 80, 78.5) > > rk.proto <- rbind (c(5,3), c(3,1), c(1,6), c(6,4), c(4,2)) > > > Asp <-rbind (c(1,2,-delta.S), c(2,1,-delta.S), c(3, 4,-delta.S), c(4, 3, -delta.S)) > > ## an interaction preorder constraint matrix > delta.I <- 0.05 > Aii <- rbind (c(1,2,-1,-delta.I), c(1,3,delta.I, 1), c (1,4,-1,-delta.I), + c(2,3, delta.I,1), c(2, 4,-1,-delta.I), c(3,4,delta.I, 1)) > > > gls...
2007 Feb 26
1
some Mechanize objects never garbage collected?
...ply the test code if it helps. I did a little poking around the code but thought I would ask here before investigating more. Is this a know problem? Cheers, Tom Objects left on heap after mechanizing a single page and doing a garbage collection: Hpricot::Text 18 | delta 18 Hpricot::STag 12 | delta 12 Hpricot::Elem 12 | delta 12 Hpricot::ETag 8 | delta 8 WWW::Mechanize::List 5 | delta 5 WWW::Mechanize::Link...
2009 Aug 24
1
problem with BRugs
...for BRugs > library(BRugs) Loading required package: coda Loading required package: lattice Welcome to BRugs running on OpenBUGS version 3.0.3 > setwd("c:/tmp") Error in setwd("c:/tmp") : cannot change working directory > mo <- function(){ + for (k in 1:p){ + delta[1,k] ~ dnorm(0,0.1)I(,delta[2,k]) Error: unexpected symbol in: " for (k in 1:p){ delta[1,k] ~ dnorm(0,0.1)I" > delta[2,k] ~ dnorm(0,0.1)I(delta[1,k],delta[3,k]) Error: unexpected symbol in " delta[2,k] ~ dnorm(0,0.1)I" > delta[3,k] ~ dnorm(0,0.1)I(delta[2,k...
2012 Mar 07
1
plot intersecting planes
...add a second plane with good results. I tried with par(new=TRUE) but the output was very poor. I have found some previous discussions about this point but (apparently) without a clear solution. Any advice would be appreciated. Simone Tenan ################## library(popbio) fec<-seq(0.1,2,0.1) delta <- seq(0,0.6,0.05) lambda<-matrix(0,length(fec), length(delta)) S0=0.7 S1=0.8 S2=0.85 S3=S2 for (j in 1:length(delta)){ for (i in 1:length(fec)){ F1=0 F2=fec[i]*0.05 F3=fec[i]*0.3 M<-matrix(0,3,3) M[1,]<-c(F1,F2*S0*(1-delta[j]),F3*S0*(1-delta[...
2007 Apr 20
2
Using power.t.test over a range of conditions
...ssumptions affect the sample size calculation. For instance, one thing that I would like to know is how the calculated sample size changes as I vary the difference that I would like to detect. I tried the following first, but got the associated error message. ----------------- > power.t.test(delta=seq(500,2000,100), sd=1000, sig.level=0.05, power=0.8, + type='two.sample', alt='two.sided') Error in uniroot(function(n) eval(p.body) - power, c(2, 1e+07)) : invalid function value in 'zeroin' In addition: Warning message: the condition has length > 1 and only...