search for: deltay

Displaying 8 results from an estimated 8 matches for "deltay".

Did you mean: delta
2006 Jun 28
2
read file with readBin (the file was saved with a C-routine)
...ar StartFileName[200]; /* Startguess (optional) */ int XSamples; /* No of samples on 1. axis of recon image */ int YSamples; /* No of samples on 2. axis of recon image */ float DeltaX; /* Sampling distance 1. axis of recon image */ float DeltaY; /* Sampling distance 2. axis of recon image */ float Xmin; /* 1. sample position 1.axis of recon image */ float Ymin; /* 1. sample position 2.axis of recon image */ } itINItype; I thought the following use of "readBin" sould it do, but it does...
2009 Aug 04
2
Caculate first difference from a dataframe; write a simulation
...nto with Level =5.04 and spread=0.25? ##OUTPUT ad X6 Level 5.04 spread 0.25 state state8 ################################################################################## ##Question3: I want to write a simulation of the order given below: HOw can I in R store each simulation result in deltay[s,t] where s keeps track of scenarios and t keeps track of time within a scenario Do I need to declare See below in 'program-language'. For (s in 1:10000){ yield[s,1]=z.t #How can I write yield[s,]<-z.t ? For (t in 1:60){ deltay[s,t] = sample(x[,1:2],1,replace=T) yield[s,t+1]=y...
2009 Aug 05
1
writing a simulation
...estion1: How can I identify which out of the 9 states does ad fall into with the new sampled Level =4.77 and spread=0.68? # desired output Level spread State X1 4.77 0.68 9 ##Question3: I want to write a simulation of the order given below: HOw can I in R store each simulation result in deltay[s,t] where s keeps track of scenarios and t keeps track of time within a scenario Final array(y) of the following order:- s t level Spread 1 1 delta[1,t,1] delta[1,t,2] 1 2 1 3 1 4 1 5 1 6 1 7 The array starts with s=1 and t=1 and draws random samples to fill in t=1 to 7. See below in &...
2009 Apr 12
2
First Derivative of Data Matrix
I am really new to R and ran across a need to take a data matrix and calculate an approximation of the first derivative of the data. I am more than happy to do an "Excel" kind of calculation (deltaY/deltaX) for each pair of rows down the matrix, but I don't know how to get R to do that kind of calculation. I'd like to store it as a 3rd column in the matrix as well. My data looks like this: acflong 1 1.0000000 2 0.9875858 3 0.9871751 4 0.9867585 5 0.9863358 6 0.9859070 7 0...
2006 Feb 03
0
Contribute: Center extension to Prototype''s Position object
...ocument.documentElement.clientWidth || document.body.clientWidth || 0; var winHeight = self.innerHeight || document.documentElement.clientHeight || document.body.clientHeight || 0; var offLeft = (Position.deltaX + Math.floor((winWidth-dims.width )/2)); var offTop = (Position.deltaY + Math.floor((winHeight-dims.height )/2)); element.style.top = ((offTop != null && offTop > 0) ? offTop : ''0'') + ''px''; element.style.left = ((offLeft != null && offLeft > 0) ? offLeft : ''0'') + ''px...
2006 Feb 18
0
Move element into view
...r change the code. // Nur sowenig wie möglich scrollen, bis das Element sichtbar ist. Effect.ScrollToFullView = Class.create(); Object.extend(Object.extend(Effect.ScrollToFullView.prototype, Effect.ScrollTo.prototype), { setup: function() { Position.prepare(); this.scrollStart = Position.deltaY; var offsets = Position.cumulativeOffset(this.element); var rand = 0; if(this.options.offset) rand = this.options.offset; var element_kante_oben = offsets[1]; var element_hoehe = this.element.offsetHeight; // Länge und Position des dargestellten Ausschnitts relativ zum ges...
2005 Dec 29
2
Ajax.Request: onLoading executed after onComplete in IE
Hi, i''m trying to use a visual indicator for my Ajax requests. It''s based on the shopping cart demo at script.aculo.us and works great in Firefox, Konqueror and Opera, but fails in IE6. For some reason (timing problems?) onComplete is executed before onLoading, so the indicator is shown but not hidden when the request has finished. Oddly enough it works fine in the shopping
2001 Feb 17
4
Comments on R-1.2.1 builds (PR#851)
...n enumerated type is mixed with another type. g_unit, INCHES, dd), ^ cc-1185 c89: WARNING File = g_alab_her.c, Line = 93 An enumerated type is mixed with another type. GConvertYUnits(HERSHEY_Y_UNITS_TO_USER_UNITS (deltay), ^ cc-1185 c89: WARNING File = g_alab_her.c, Line = 94 An enumerated type is mixed with another type. g_unit, INCHES, dd)); ^ cc-1185 c89: WARNING File = g_alab_her.c, Line = 180 An enumerated ty...