Displaying 20 results from an estimated 1000 matches similar to: "How to stop Kaplan-Meier curve at a time point"
2009 Sep 21
2
cox memory
Hi there,
I have a rather large data set and perform the following cox model:
test1 <- list(tstart,tstop,death1,chemo1,radio1,horm1)
out1<-coxph( Surv(tstart,tstop, death1) ~ chemo1+chemo1:log(tstop+1)+horm1+horm1:log(tstop+1)+age1+grade1+grade1:log(tstop+1)+positive1+positive1:log(tstop+1)+size1+size1:log(tstop+1), test1)
out1
Up to here everything works fine (with each covariate
2009 Mar 10
2
simple question beginner
Hi there,
I am beginner in R and I have some basic question. Suppose I run a common procedure such as a t test or cox model like below:
out<-coxph( Surv(tstart,tstop, death1) ~ x1+x1:log(tstop+1) , test1,method=c("breslow"))
Which yields the following result:
Call:
coxph(formula = Surv(tstart, tstop, death1) ~ x1 + x1:log(tstop +
1), data = test1, method =
2012 Nov 27
4
Fitting and plotting a coxph with survfit, package(surv)
Hi Dear R-users
I have a database with 18000 observations and 20 variables. I am running
cox regression on five variables and trying to use survfit to plot the
survival based on a specific variable without success.
Lets say I have the following coxph:
>library(survival)
>fit <- coxph(Surv(futime, fustat) ~ age + rx, data = ovarian)
>fit
what I am trying to do is plot a survival
2020 Oct 10
1
which() vs. just logical selection in df
Hi R-helpers,
Does anyone know why adding which() makes the select call more
efficient than just using logical selection in a dataframe? Doesn't
which() technically add another conversion/function call on top of the
logical selection? Here is a reproducible example with a slight
difference in timing.
# Surrogate data - the timing here isn't interesting
urltext <-
2018 May 29
1
Difficulty in writing R code for one pool dynamic model
Hi everyone,
I was trying to mode the following exercise using R.
The question: Set up a one pool model using numericintegration. The model will run from time 1 to time 30 using a time step of 1.The pool (A) will be fed by flux "inA" at a rate of 5 units per hour anddrained by flux "outA" at a rate of 20% per hour. At time 0, A has 5units. At time 30, what is the pool size of
2020 Oct 14
0
which() vs. just logical selection in df
Inline.
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Wed, Oct 14, 2020 at 3:23 PM 1/k^c <kchamberln at gmail.com> wrote:
Is which() invoking c-level code by chance, making it slightly faster
> on average?
>
You do not need
2012 Oct 03
2
[LLVMdev] LoopInfo analysis in CallGraphSCCPass
Hi,
Is it possible to recreate the LoopInfo analysis in my pass?
Thanks ,
Vinay
On Wed, Oct 3, 2012 at 2:34 PM, Chandler Carruth <chandlerc at google.com>wrote:
> This is not currently supported by the LLVM pass manager system. It is a
> serious deficiency that I (and others) would like to address, but it
> requires significant changes to the pass manager and analysis
2007 Apr 18
4
[Bridge] bridge firewall problem
hello
i am a new user for this group. i am
working at a ISP. here i want to made a bridge
firewall i am using fedora core 3. i want to block a
serirs of ip address 192.16.18.0/255.255.255.0 and
want to give the accesss only
172.16.18.0/255.255.255.0. but iptables not be able
to block ip;s its passes all the ip series. i made my
machine as bridge. i think my bridge passes all the
2014 Mar 27
3
arm64 support
I have used the patch to build opus 1.1. Although I have not tried the
latest git master, will try that. Will that work for armv7, armv7s and
arm64?
On Wed, Mar 26, 2014 at 11:01 PM, Martin Storsj? <martin at martin.st> wrote:
> On Wed, 26 Mar 2014, Jonathan Lennox wrote:
>
>
>> On Mar 26, 2014, at 7:55 AM, Peter Robinson <pbrobinson at gmail.com> wrote:
>>
2002 Oct 02
7
Samba - Performance Issues
Hello Guys,
I am having some problems with configuring SAMBA with regards to
performance. We are running SAMBA 2.2.3a on Dual PIII 1Ghz machines with
512MB of RAM. The server is running on a default server installation of Red
Hat 7.2. We have a 500Gb RAID 5 drive using the Promise SX6000 Raid
controller.
Currently we are only getting a throughput of ~5MB/S for writes and
~13MB/S for reads.
2020 Oct 14
2
which() vs. just logical selection in df
Hi Dr. Snow, & R-helpers,
Thank you for your reply! I hadn't heard of the {microbenchmark}
package & was excited to try it! Thank you for the suggestion! I did
check the reference source for which() beforehand, which included the
statement to remove NAa, and I didn't have any missing values or NAs:
sum(is.na(dat$gender2))
sum(is.na(dat$gender))
sum(is.na(dat$y))
[1] 0
[1] 0
[1]
2014 Sep 29
2
[LLVMdev] Alias Analysis across functions
Hi,
I am trying to get the alias info for the following code. The alias analysis returns "MayAlias" for arrays "A" and "B" in both the functions instead of "NoAlias". What passes should I run in opt before the alias analysis pass to get the accurate result?
Example:
//Note: static and called by func() only.
static int sum(int *A, int *B) {
int i = 0,
2012 Oct 03
2
[LLVMdev] LoopInfo analysis in CallGraphSCCPass
Hi,
How to get the LoopInfo analysis in a CallGraphSCCPass ?
Thanks,
Vinay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121003/bf60da98/attachment.html>
2007 Mar 14
2
Memory Allocation to St
Can anyone tell me why the size of st is defined as:
st = (EncState*)speex_alloc(sizeof(EncState)+8000*sizeof(float));
Reference: nb_encode_init function.
Specifically, I would like to know why 8000 floats are allocated?
Thanks and regards,
Vinay
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Aug 09
2
recurrent events
Hello,
I have a cohort with approx 1,200 patients at the ages of 30-65 that had
their first myocardial infarction during 1992:
· They were in a follow up until 2005.
· About 400 of them died during this period of time (right censored)
· Each one of them had up to 4 mi recurrent events.
I am using the semi-parametric model in order to assess the relationship of
2012 Oct 03
0
[LLVMdev] LoopInfo analysis in CallGraphSCCPass
On Wed, Oct 3, 2012 at 2:33 AM, vinay m <mvinay05041990 at gmail.com> wrote:
> Hi,
> Is it possible to recreate the LoopInfo analysis in my pass?
>
No. You need your pass to be a FunctionPass in order to use the LoopInfo
(and associated) analyses.
>
> Thanks ,
> Vinay
>
> On Wed, Oct 3, 2012 at 2:34 PM, Chandler Carruth <chandlerc at google.com>wrote:
2008 Mar 10
2
source() behavior I don't understand
temp.ttt <- "ttt <- 1\nttt"
conn.ttt <- textConnection(temp.ttt)
source(conn.ttt, echo=TRUE) ## name of variable is echoed
close(conn.ttt)
cat(file="c:/temp/temp.R", temp.ttt) ## name of variable not echoed
source("c:/temp/temp.R", echo=TRUE)
temp.abc <- "abc <- 1\nabc"
conn.abc <- textConnection(temp.abc)
source(conn.abc, echo=TRUE)
2008 Oct 11
8
Observing few fields in a form - Best Practise?
Hi,
im looking to build a page similar to a shopping cart page. When you
change the ''price'' or ''quantity'' fields, the total is calculated and
displayed.
There are other fields in the form which have no relation to this
action. So i guess observe_form is not required. Can someone tell me
what the best practise is for this?
2014 Mar 26
2
arm64 support
On Mar 26, 2014, at 7:55 AM, Peter Robinson <pbrobinson at gmail.com> wrote:
> On Wed, Mar 26, 2014 at 11:45 AM, Vinay <vinay.nair at novanet.net> wrote:
>> Hi,
>>
>> I wanted to build opus along with PJSIP for iOS for the architecture arm64.
>> I wanted to know if opus supports arm64?
>
> The opus code builds fine on ARM64 on Linux at least,
2018 May 01
2
How would I color points conditional on their value in a plot of a time series
Excellent! Worked like a charm. Thanks.
--Chris Ryan
On Tue, May 1, 2018 at 4:33 PM, William Dunlap <wdunlap at tibco.com> wrote:
> The ts method for plot() is quirky. You can use the default method:
>
> plot(as.vector(time(ttt)), as.vector(ttt), type = "p", col=ifelse(ttt<8,
> "black", "red"))
>
>
> Bill Dunlap
> TIBCO Software