search for: ftime

Displaying 20 results from an estimated 81 matches for "ftime".

Did you mean: time
2011 May 08
1
Syntax for iter.max in rms
...trol and 'identity' link arguments, and finally, the error message when testing just an iter.max argument. This was run in R 2.13.0 with rms version 3.3-0 on Ubuntu Linux 11.04. Thank you in advance, and all insights and criticisms are appreciated. Mike library(rms) > f <- bj(Surv(ftime, stroke) ~ rcs(age,5) + hospital,x=TRUE, y=TRUE) > f <- bj(Surv(ftime, stroke) ~ rcs(age,5) + hospital, link='identity',x=TRUE, y=TRUE) No convergence in 50 steps Failure in bj.fit > f <- bj(Surv(ftime, stroke) ~ rcs(age,5) + hospital, link='identity', iter.max=200, x=T...
2009 Aug 02
1
Competing Risks Regression with qualitative predictor with more than 2 categories
...using R2.9.1. How can I do to assess the effect of qualitative predictor (gg) with more than two categories (a,b,c) categorie c is the reference category. See above results, gg is considered like a ordered predictor ! Thank you for your help Jan > # simulated data to test > set.seed(10) > ftime <- rexp(200) > fstatus <- sample(0:2,200,replace=TRUE) > gg <- factor(sample(1:3,200,replace=TRUE),1:3,c('a','b','c')) > cov <- matrix(runif(600),nrow=200) > dimnames(cov)[[2]] <- c('x1','x2','x3') > cov2=cbind(cov,gg) &g...
2010 Mar 05
1
How to parse the arguments from a function call and evaluate them in a dataframe?
Hi, I would like to write a function which has the following syntax: myfn <- function(formula, ftime, fstatus, data) { # step 1: obtain terms in `formula' from dataframe `data' # step 2: obtain ftime from `data' # step 3: obtain fstatus from `data' # step 4: do model estimation # step 5: return results } The user would call this function as: myfn(formula=myform, ftime=myftime, f...
2009 May 15
1
Plotting question re. cuminc
Hello everyone, (This is my second question posted today on the R list). I am carrying out a competing risks analysis using the cuminc function...this takes the form: cuminc(ftime,fstatus,group) In my study, fstatus has 3 different causes of failure (1,2,3) there are also censored cases (0). "group" has two levels (0 and 1). I therefore have 6 different cumulative incidence curves: cause 1, group=0; cause 1 group=1 cause 2, group=0; cause 2 group=1 cause 3, gro...
2019 Jun 07
1
Problem with opusfile & ndk
...or android with *ndk-build*. In particular, with arm64-v8a platform: Google removed <sys/timeb.h> from android. And now building opusfile with nkd-build crashes with error "fatal error: 'sys/timeb.h' file not found". Can you help me? What can i replace *struct timeb* and *ftime function* ? Thank you. -- Best regards, Ruby Cone. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/opus/attachments/20190607/243da737/attachment.html>
2013 Oct 18
1
crr question‏ in library(cmprsk)
Hi all I do not understand why I am getting the following error message. Can anybody help me with this? Thanks in advance. install.packages("cmprsk") library(cmprsk) result1 <-crr(ftime, fstatus, cov1, failcode=1, cencode=0 ) one.pout1 = predict(result1,cov1,X=cbind(1,one.z1,one.z2)) predict.crr(result1,cov1,X=cbind(1,one.z1,one.z2)) Error: could not find function "predict.crr" [[alternative HTML version deleted]]
2013 Jul 16
2
[LLVMdev] [LLVM Dev] [Discussion] Function-based parallel LLVM backend code generation
...30% in large apps I have seen. > > > > > > Can you clarify what you're basing these assumption on or how you derived > > your data? > > > > Those numbers are purely speculative -- does Clang has an option to > dump the time breakout of each passes such as -ftime-report in GCC? > We have the functionality... I thought we wired -ftime-report up to it? If that doesn't work I'll have to go digging. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130716/7c08f0...
2011 Aug 17
2
An example of very slow computation
...d," simple=",fsim," diff=",fand-fsim,"\n") cat("time the function in expm form\n") tnlogL<-microbenchmark(nlogL(theta), times=100L) tnlogL cat("time the function in simpler form\n") tnegll<-microbenchmark(negll(theta), times=100L) tnegll ftimes<-data.frame(texpm=tnlogL$time, tsimp=tnegll$time) # ftimes boxplot(log(ftimes)) title("Log times in nanoseconds for matrix exponential and simple MIN fn")
2011 Jul 27
1
create a index.date column
Dear R users, I created a matrix that tells me the first day of use of a category by id. #Calculate time difference test$tdiff<-as.numeric(difftime(as.Date("2002-09-01"), test$ftime, units = "days")) # obtain the index date per person and dcategory index.date.test<-tapply(test$tdiff, list(test$id, test$rcat), max) Nonetheless, at the moment I think will be more useful to create a column in my data that tells me whi...
2007 Aug 07
1
.call file and logging
...t the extension's number isn't (in the example below, 7022 does not appear in the logs). Any suggestions as to how I can solve this? Maybe by changing the "Extension:" line or setting variables. A quick simple example would be appreciated. Thanks, Vieri Code snippet: $ftime = time(); $fname = "/tmp/asterisk_".$ftime.".call"; $fname_call = "/var/spool/asterisk/outgoing/asterisk_".$ftime.".call"; $fd = fopen($fname, 'w'); fwrite($fd, "Channel: ".$alerts."\n"); fwr...
2013 Mar 15
1
numerics from a factor
...(Surv(1:6 /2) ~ 1) > fit$time [1] NA 1 NA 2 NA 3 A year or two ago some test cases that broke survfit were presented to me. The heart of the problem was numbers that were almost identical, where table(x) and unique(x) gave different counts of distinct values. The solution was to use "ftime <- factor(time)" at the top of the code, and do all the calulations using the integer levels of the factor as the unique time points. At the very end the numeric component "time" of the result is created using as.numeric(levels(ftime)). It's this last line that breaks. I...
2009 Oct 27
1
Error in solve.default peforming Competing risk regression
Dear all, I am trying to use the crr function in the cmprsk package version 2.2 to analyse 198 observations.I have receive the error in solve.default. Can anyone give me some insights into where the problem is? Thanks here is my script : cov=cbind(x1,x2) z<-crr(ftime,fstatus,cov)) and data file: x1 x2 fstatus ftime 0 .02 1 263 0 .03 1 113 0 .03 1 523 0 .03 3 49 0 .03 1 278 0 .03 1 190 0 .04 1 472 0 .04 1 357 0 .04 1 219 0 .0429 3 49 0 .05 1 207 0 .05...
2010 Jul 15
2
taking daily means from hourly data
...: : : : : : : : : : : Time is of class POSIXct I wish to take daily means of the flow, levels, and wind parameters and put them into a new dataframe. I envisage doing this with the following example code: morgan$fTime <- factor(substr(as.character(morgan$Time),1,10)) dflow <- tapply(morgan[,"flow"], morgan$fTime, mean) day <- tapply(morgan[,"Time"], morgan$fTime, mean) : : daily <- as.data.frame(cbind(day,dflow, dlev.morg,dlev.lock2, ...)) daily$day <- with(daily, as.POSIX...
2010 Oct 06
4
problem with abline
Hi All, I am running a scatter plot and trying to add a best fit line. I use an abline function, but get no line drawn over the points. I also get no error. I arm using V 2.10.0 on Windows 7. Here is my code, including the SAS transport file import: require (foreign) require (chron) require (Hmisc) require (lattice) clin <- sasxport.get("y:\\temp\\subset.xpt") attach(clin)
2013 Jul 16
0
[LLVMdev] [LLVM Dev] [Discussion] Function-based parallel LLVM backend code generation
...gt;> > >> > Can you clarify what you're basing these assumption on or how you >> > derived >> > your data? >> > >> >> Those numbers are purely speculative -- does Clang has an option to >> dump the time breakout of each passes such as -ftime-report in GCC? > > > We have the functionality... I thought we wired -ftime-report up to it? If > that doesn't work I'll have to go digging. I just checked -- it produces a flat report -- it would be nice to produce something similar to -debug-pass=Structure outputs. David
2006 Mar 05
0
Wishlist: xtabs and table to optionally use attribute value labels (PR#8659)
...last table in the example output by a statement like 'table(data1$time)' or 'table(data1$time, use.value.labels=T)' or 'table(as.factor(data1$time))'. 'table(as.factor(data1$time))' would do the job, if 'as.factor()' would use value labels (like in data1$ftime <- factor(data1$time,levels=attr(data1$time, "value.labels"), labels=names(attr(data1$time,"value.labels"))) ), whenever they are present. This might also help in obtaining more meaningful output e.g. from regression procedures with such data. Hoping this wish will...
2013 Jul 16
0
[LLVMdev] [LLVM Dev] [Discussion] Function-based parallel LLVM backend code generation
...; percentage of leaf functions is < 30% in large apps I have seen. > > > Can you clarify what you're basing these assumption on or how you derived > your data? > Those numbers are purely speculative -- does Clang has an option to dump the time breakout of each passes such as -ftime-report in GCC? thanks, David >> >> Module based parallelism proposed by Shuxin has max speed up of 10x, >> assuming body cloning does not add a lot overhead and build farm with >> hundred/thousands of nodes is used. > > > Body cloning does add some overhead, so t...
2019 Jan 29
3
Early Tail Duplication Inefficiency
...", EnumType2Label1, "another string", "yet another string" }, : : }; // 11 more arrays like above but most of them have only a few hundred elements : : I would like to know if a similar problem had been reported before. A quick search didn't find anything... Clang-5 -ftime-report shows: ===-------------------------------------------------------------------------=== ... Pass execution timing report ... ===-------------------------------------------------------------------------=== Total Execution Time: 175.9183 seconds (176.1324 wall clock)...
2013 Jul 16
2
[LLVMdev] [LLVM Dev] [Discussion] Function-based parallel LLVM backend code generation
On Tue, Jul 16, 2013 at 1:18 PM, Xinliang David Li <xinliangli at gmail.com>wrote: > Ignoring FE time which can be fully parallelized and assuming 10% > compile time is spent in serial module passes, 25% time is spent in > CGSCC pass, the maximum speed up that can be gained by using function > level parallelism is less than 3x. Even adding support for parallel > compilation
2019 Oct 16
2
[RFC] Adding time-trace to LLD?
Hi all, I've been using -ftime-trace on the compiler and find it very useful for analysing compile times and whole build times. I've made a first attempt at adding this to LLD (ELF) so link times can be traced in the same way: https://reviews.llvm.org/D69043 This works for LTO and ThinLTO, but needs some more work to make s...