search for: chg

Displaying 20 results from an estimated 45 matches for "chg".

Did you mean: ch
2011 Aug 31
0
wdTable() in R2wd
...e been using the wdTable() function from R2wd package and it's been working great. However I just tried to do the following: > table.2 Waste Rebate code Chargeable (fin_map) Quantity (qty) Total [1,] "Waste" "Rebate code" "CHG" "121" "$22,534.01" [2,] "Waste" "Rebate code" "NOCHG" "229" "$51,346.14" [3,] "Waste" "No code" "CHG" "2" "...
2018 Mar 05
0
Interpret List Label as Date from Quantmod getOptionChain
...R> str(aapl_total[ind]) # index return object by desired dates List of 3 $ Apr.06.2018:List of 2 ..$ calls:'data.frame': 24 obs. of 7 variables: .. ..$ Strike: num [1:24] 145 150 152 155 158 ... .. ..$ Last : num [1:24] 30.4 24 27.1 20.9 22.1 ... .. ..$ Chg : num [1:24] -3.12 0 0 -2.87 0 ... .. ..$ Bid : num [1:24] 31.4 26.6 24.1 21.8 21.9 ... .. ..$ Ask : num [1:24] 31.9 27.1 24.7 22.3 22.5 ... .. ..$ Vol : int [1:24] 2 1 50 2 216 51 50 55 33 109 ... .. ..$ OI : int [1:24] 30 1 50 2 0 32 57 101 136 297 ... ..$ puts :'data.fra...
2010 May 11
0
more USB logs
...918 failed to detach kernel driver from USB device: could not detach kernel driver from interface 0: Operation not permitted 0.000925 Can't claim USB device [0764:0501]: could not detach kernel driver from interface 0: Operation not permitted # dmesg hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0004 ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00030300 PESC CSC LSDA PPS hub 2-0:1.0: port 2, status 0300, change 0003, 1.5 Mb/s usb 2-2: USB disconnect, address 87 usb 2-2: unregistering device usb 2-2: usb_disable_device nuking all URBs usb 2-2: unregistering interfac...
2018 Mar 05
2
Interpret List Label as Date from Quantmod getOptionChain
Hi Dirk, Thanks for your note. I understand that expiry dates are the dates that the option expires, so I don't think that I am confused about that (although the upper limits of one's confusion is difficult to accurately estimate). My lack of clarity come from treating those "dates" as actual dates as opposed to strings, which one could reasonably interpret them to be from
2011 Dec 12
1
Lagged values problem requiring short solution time
...it be iterated over different 'x' vectors many times. My Neanderthal-ish solution (below) may or may not give the theoretically optimal solution, but, regardless, is too slow when 'x' becomes lengthy due to its reliance on loops. Hope you can help! x = runif(10,1,5) delta = 0.75 chg = diff(c(x,x[1])) y = x while (any(abs(chg)>delta)) { temp = sign(chg)*chg - delta temp1=temp temp1[chg>=(-delta)] = 0 temp1 = c(temp1[length(temp1)],temp1[-length(temp1)]) temp2 = temp temp2[chg<=delta] = 0 y = y+temp1+temp2 chg = diff(c(y,y[1])) } #Solution vector...
2014 Feb 19
3
Logic problem in NUT with upscode2 driver
Hi All, I have what is probably a 12 year old (or older) Compaq R3000 UPS plugged into a FreeBSD 8 system running NUT version 2.6.5 This UPS contains a total of 16 batteries in 2 banks of 8, each battery is 6 volts and the bank produces 50 volts. The UPS monitors battery voltage and the battery charger in the UPS works like this. For about 2 days it will apply a charge/float/topping
2010 Dec 22
1
Seeking feedback on my first attempt at R programming
...<NA>   123 P 3.54 2.92 ")   fev <- data.frame(scan(connection,  list(patno = 0, trtgrp = "", fev0 = 0, fev6 = 0), na.strings="<NA>"))   fev <- within(fev,trtgrp <- factor(trtgrp, labels = c("ABC-123","Placebo"))) fev <- within(fev,chg <- fev6 - fev0)   summaryfn <- function(x)  data.frame(n=sum(complete.cases(x)),mean=mean(x),std.dev=sd(x), t.value=mean(x)/(sd(x)/sqrt(sum(complete.cases(x)))), p.value=2*pt(-abs(mean(x)/(sd(x)/sqrt(sum(complete.cases(x))))),df=sum(complete.cases(x))-1))   cfev <- na.omit(fev) by(cfev[3:5...
2011 Oct 19
1
replacing percentage of values in data frame
...V1 V2 V3 V4 V5 V6 V7 1 chr1 500 500 CHH 0 0.5 + 2 chr1 550 550 CHH 0 0.0 + 3 chr2 700 700 CHH 0 0.0 + 4 chr2 1000 1000 CHH 0 0.0 + 5 chr3 100 100 CHH 0 0.0 + 6 chr4 450 450 CG 0 0.0 + 7 chr5 450 450 CHH 0 0.0 + 8 chr5 50034 50034 CHG 0 0.0 + 9 chr7 50055 50055 CHG 0 0.0 + 10 chr10 50063 50063 CHH 0 0.0 + > dput(data) structure(list(V1 = structure(c(1L, 1L, 3L, 3L, 4L, 5L, 6L, 6L, 7L, 2L), .Label = c("chr1", "chr10", "chr2", "chr3", "chr4", "chr5", "c...
2011 Sep 21
1
Broadcom Failure: Chg CentOS 6.0 to 5.7
After following various advice I received on other threads to get the Broadcom wlan0 on my laptop to work I have still not succeeded. Therefore I am changing from CentOS 6.0 to 5.7 . I think that I'll first try the fix at: http://elrepo.org/tiki/wl-kmod on 5.7 . Anyone have a reason why I should proceed differently? Thanks, Mike.
2014 Nov 03
0
RFC: new variable battery.status (was: [PATCH] upscode2: Report ABM Status)
...+ { "test.selftest.stop", NULL, NULL }, { "test.failure.start", NULL, NULL }, { "test.failure.stop", NULL, NULL }, { "test.battery.start", "UPBT", "1" }, @@ -1363,6 +1363,7 @@ static float batt_charge_pct(void) { float chg=-1; + float batt_volt_rs = (batt_volt_nom * 26/24); /* ABM specs Vrs at 108.333 % Vnom */ /* This is only a rough estimate of charge status while charging. * When on battery something like Peukert's equation should be used */ @@ -1389,9 +1390,10 @@ chg *= (100/maxcurr); } /*...
2012 Feb 13
3
RFC: new variable battery.status (was: [PATCH] upscode2: Report ABM Status)
2012/2/6 thomas schorpp <thomas.schorpp at googlemail.com>: > Hi, Hi Thomas, > I want the driver report the battery status from ABM charging controllers > -patch attached- : thanks for your patch. since it introduces a new variable (battery.status.abm), I prefer to step back and think to something useful more widely. thus, I'm thinking about a generic
2018 Mar 05
2
Interpret List Label as Date from Quantmod getOptionChain
...idance would be appreciated. Thanks. --John J. Sparks, Ph.D. str(aapl_total) List of 16 $ Mar.09.2018:List of 2 ..$ calls:'data.frame': 31 obs. of 7 variables: .. ..$ Strike: num [1:31] 135 143 146 147 148 ... .. ..$ Last : num [1:31] 42.4 36.2 32 28.4 31 ... .. ..$ Chg : num [1:31] 0 0 12.6 -4.71 0 ... .. ..$ Bid : num [1:31] 41 35.8 32.8 29.1 28.1 ... .. ..$ Ask : num [1:31] 41.5 36.4 33.4 29.5 28.6 ... .. ..$ Vol : int [1:31] 5 2 1 45 2 2 90 3 11 129 ... .. ..$ OI : int [1:31] 17 0 117 58 3 22 171 84 707 238 ... ..$ puts :'data.frame...
2006 Jul 01
3
best approach to add form elements dynamically
I am struggling with how to add dynamically add form elements to a form based on user action. Now here is my situation: I have model Project that has_many line_items On the form to create a project I initially display form elements (some drop downs and text boxes) for adding just one line_item. There is also a button or a link on the page (not sure if this should be in the main form or
2018 Mar 05
0
Interpret List Label as Date from Quantmod getOptionChain
...s, Ph.D. > > > > > str(aapl_total) > > List of 16 > $ Mar.09.2018:List of 2 > ..$ calls:'data.frame': 31 obs. of 7 variables: > .. ..$ Strike: num [1:31] 135 143 146 147 148 ... > .. ..$ Last : num [1:31] 42.4 36.2 32 28.4 31 ... > .. ..$ Chg : num [1:31] 0 0 12.6 -4.71 0 ... > .. ..$ Bid : num [1:31] 41 35.8 32.8 29.1 28.1 ... > .. ..$ Ask : num [1:31] 41.5 36.4 33.4 29.5 28.6 ... > .. ..$ Vol : int [1:31] 5 2 1 45 2 2 90 3 11 129 ... > .. ..$ OI : int [1:31] 17 0 117 58 3 22 171 84 707 238 ... > ..$...
2008 Jan 11
0
Re-Casting
...f df$today and df$20050701 as follows: PART A: Ideal result: Where I can have just identifiers and dates and see what changed for that date(s), and also what it changed from. I realize that it takes a combo of some nifty melt and cast work that my iterations have thus far not resulted. identifier Chg Date Var1 Var2 Var3=(Previous Var2) 310000031 20050701 rtgmdy Aa3 Aa2 310000031 20050510 rtgsp AA- 310000086 20070920 rtgmdy B1 310000086 20070828 rtgsp B+ PART B: Less than ideal result (where we don't the lookup to get the previous value). I'll live with this type of result...
2018 Mar 05
0
quantmod getOptionChain Interpret List Label As Date
...idance would be appreciated. Thanks. --John J. Sparks, Ph.D. str(aapl_total) List of 16 $ Mar.09.2018:List of 2 ..$ calls:'data.frame': 31 obs. of 7 variables: .. ..$ Strike: num [1:31] 135 143 146 147 148 ... .. ..$ Last : num [1:31] 42.4 36.2 32 28.4 31 ... .. ..$ Chg : num [1:31] 0 0 12.6 -4.71 0 ... .. ..$ Bid : num [1:31] 41 35.8 32.8 29.1 28.1 ... .. ..$ Ask : num [1:31] 41.5 36.4 33.4 29.5 28.6 ... .. ..$ Vol : int [1:31] 5 2 1 45 2 2 90 3 11 129 ... .. ..$ OI : int [1:31] 17 0 117 58 3 22 171 84 707 238 ... ..$ puts :'data.frame...
2015 Jul 13
2
Wrapper script for shutdown, passwd, etc. commands
...st on systems that I didn't have admin access. The wrapper would do something like this: [root at vm-helios-019] shutdown -h now *** WARNING *** You are attempting to shutdown a production server: vm-helios-019.digitalhermit.com Please enter the Change Log Ticket for shutdown CHG-FL-102122 Please confirm by entering your login password: xxxxxxxxxxxxxxxxxx Ticket number CHG-GL-102122 for user Kwan Lowe (klowe) has been logged at Sun Feb 4, 2001 at 14:23 (2:23PM). Ideally this would only kick in if the request is coming from an interactive session. Thinking abou...
2009 Aug 23
3
Wine 1.1.28 tests 2 pc config and many games
...ament 3. But really needed for me is only one game - Unreal Tournament 3 (titan pack+patch 2.1) ------ Games virused by Starforce protection and NO HAVE patches to skip it never can be runned: Allodes online (!!), King's Bounty - Armored Princess, Night Watch cannot test , prooflink http://dj.chg.su/data/allodsonlinestartinfectedstarforce.png (FATAL ERROR) i hate starforce and its developers. and i hope wine defeat all problems, and can in future run all programs without problems If i forgot other parameters i add it later if need.
2008 Mar 03
7
help for the first poster- a simple question
Hi, there, I cannot get accurate value for calculation. for example: ld<-sqrt(1*0.05*0.95*0.05*0.95) 0.05*0.95-ld=-6.938894e-18 0.05*0.95-ld==0 is False. I met this problem in my program, how can I handle it. Thanks. xj.
2014 Nov 04
2
RFC: new variable battery.status
....selftest.stop", NULL, NULL }, > { "test.failure.start", NULL, NULL }, > { "test.failure.stop", NULL, NULL }, > { "test.battery.start", "UPBT", "1" }, > @@ -1363,6 +1363,7 @@ > static float batt_charge_pct(void) > { > float chg=-1; > + float batt_volt_rs = (batt_volt_nom * 26/24); /* ABM specs Vrs at > 108.333 % Vnom */ > > /* This is only a rough estimate of charge status while charging. > * When on battery something like Peukert's equation should be used */ > @@ -1389,9 +1390,10 @@ > chg *= (100...