search for: stoptime

Displaying 6 results from an estimated 6 matches for "stoptime".

2006 Mar 15
5
Surv object in data.frame
...rame it does not work. Seemingly it has to do with the class attribute, because if I change the class attribute to let "Surv" appeare first, again it works. Is this known? Should I have found information on it? Any comments? Thanks Heinz T?chler ## example data starttime <- rep(0,5) stoptime <- 1:5 event <- c(1,0,1,1,1) group <- c(1,1,1,2,2) ## Surv object survobj <- Surv(starttime, stoptime, event) ## Cox-regression coxph(survobj~group) # this works ## put Surv object in data.frame df.test <- data.frame(survobj=I(survobj), group) ## Cox-regression on data.fra...
2006 Dec 05
0
How to join data.frames containing Surv objects?
...bject (see example). Reading the help page for rbind, I an uncertain if I could expect that a Surf oject retains it's class, but I would wish it did. Thanks Heinz T?chler R version 2.4.0 Patched (2006-11-03 r39792) Windows XP library(survival) ## create example data starttime <- rep(0,5) stoptime <- 1:5 event <- c(1,0,1,1,1) group <- c(1,1,1,2,2) ## build Surv object survobj <- Surv(starttime, stoptime, event) ## build data.frame with Surv object df.test <- data.frame(survobj, group); df.test; str(df.test) ## split in two data frames dft1 <- df.test[1:3,]; dft1;...
2006 Mar 07
1
PLEASE HELP ,a2billing problem with call duration
..._ENGINE_UPDATESYSTEM: usedratecard K=0 - (sessiontime=751 :: dialstatus=ANSWER :: cost=12.516666666667)] [05/03/2006 19:52:37]:[CallerID:051359687]:[CN:0474]:[CC_asterisk_stop 1.1: SQL: INSERT INTO call (uniqueid,sessionid,username,nasipaddress,starttime,sessiontime, calledstation, terminatecause, stoptime, calledrate, sessionbill, calledcountry, calledsub, destination, id_tariffgroup, id_tariffplan, id_ratecard, id_trunk, src) VALUES ('1141583953.47', 'SIP/callingcard-50e8', '0474', '', CURRENT_TIMESTAMP - INTERVAL 751 SECOND , '751', '0043***************...
2006 Mar 07
0
a2billing problem with call duration
..._ENGINE_UPDATESYSTEM: usedratecard K=0 - (sessiontime=751 :: dialstatus=ANSWER :: cost=12.516666666667)] [05/03/2006 19:52:37]:[CallerID:051359687]:[CN:0474]:[CC_asterisk_stop 1.1: SQL: INSERT INTO call (uniqueid,sessionid,username,nasipaddress,starttime,sessiontime, calledstation, terminatecause, stoptime, calledrate, sessionbill, calledcountry, calledsub, destination, id_tariffgroup, id_tariffplan, id_ratecard, id_trunk, src) VALUES ('1141583953.47', 'SIP/callingcard-50e8', '0474', '', CURRENT_TIMESTAMP - INTERVAL 751 SECOND , '751', '00436642780018'...
2006 Mar 16
2
Surv object in data.frame and Design package
...problem is solvable, but I was surprised of the unexpected difficulties, especially that detaching Design did not solve the problem. Is it wrong to expect that R works after detaching a package as before loading it? Comments? Thanks Heinz T?chler ## example starttime <- c(0, 0, 1.5, 0, 2.5) stoptime <- c(1, 1.5, 2, 2.5, 3) event <- c(1, 0, 1, 0, 0) ie.status <- c(0, 0, 1, 0, 1) library(survival) survobj <- Surv(starttime, stoptime, event) df.nodesign <- data.frame(survobj, ie.status) # build df without loading Design df.nodesign library(Design) df.design <- data.frame(s...
2018 Feb 07
1
printing statistics timers
Hi, The code in Support/Timer.cpp has strangely inconsistent behavior for printAll vs printJSONValues. The former can work multiple times, while the latter calls prepareToPrintList(), which stops all timers, hence making all further attempts to print timers crash. Would it be possible not to call prepareToPrintList on printJSONValues, or at least make it optional? I am trying to serialize