Displaying 20 results from an estimated 49 matches for "cmprsk".
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]]
2008 Dec 09
1
controlling axes in plot.cuminc (cmprsk library)
Dear R-help list members,
I am trying to create my own axes when plotting a cumulative incidence
curve using the plot.cuminc function in the CMPRSK library. The default
x-axis places tick marks and labels at 0, 20, 40, 60, and 80 (my data has
an upper limit of 96), whereas I want them at my own specified locations.
Here is my example code:
library(cmprsk)
attach(MYDATA)
MYCUMINC <-
cuminc(ftime=TIME,fstatus=STATUS,group=GROUP,rho=0,c...
2009 Mar 29
3
cmprsk- another survival-depedent package causes R crash
Dear Prof Gray and everyone,
As our package developers discussed about incompatibility between Design and survival packages, I faced another problem with cmprsk- a survival dependent packacge.
The problem is exactly similar to what happened to the Design package that when I just started running cuminc function, R was suddenly closed.
These incidents suggest that maybe many other survival dependent packages being involved the problem
Could you please consid...
2008 Aug 22
1
Help on competing risk package cmprsk with time dependent covariate
Dear R users,
I d like to assess the effect of "treatment" covariate on a disease relapse risk with the package cmprsk.
However, the effect of this covariate on survival is time-dependent
(assessed with cox.zph): no significant effect during the first year of follow-up,
then after 1 year a favorable effect is observed on survival (step
function might be the correct way to say that ?).
For overall survival analysi...
2015 May 16
2
That 'make check-all' problem with the survival package
------------------------------
On Sat, May 16, 2015 8:04 AM BST Uwe Ligges wrote:
>Not sure why this goes to R-devel. You just could have asked the
>maintainer. Terry Therneau is aware of it and promised he will fix it.
>
The quickest fix is to add cmprsk to the recommended list , and that's is an R-devel issue.
>On 16.05.2015 07:22, Hin-Tak Leung wrote:
>> 'make check-all' for current R has been showing this error in the middle
>> for a few months now - any thought on fixing this? I think cmprsk
>> should be either...
2008 Aug 22
0
Re : Help on competing risk package cmprsk with time dependent covariate
...lippe G
----- Message d'origine ----
De : Arthur Allignol <arthur.allignol@fdm.uni-freiburg.de>
À : Philippe Guardiola <allogreffe@yahoo.fr>
Cc : R-help@r-project.org; phguardiol@aol.com
Envoyé le : Vendredi, 22 Août 2008, 11h53mn 42s
Objet : Re: [R] Help on competing risk package cmprsk with time dependent covariate
Hello,
Something i don't understand
in your question.
Is treatment a time-dependent covariate?
That is, do patients receive the treatment
at the beginning of the study or later?
cmprsk cannot handle time-dependent covariates.
But if treatment is a baseline cova...
2008 Aug 20
0
cmprsk and a time dependent covariate in the model
Dear R users,
I d like to assess the effect of "treatment" covariate on a disease relapse risk with the package cmprsk.
However, the effect of this covariate on survival is time-dependent
(assessed with cox.zph): no significant effect during the first year of follow-up,
then after 1 year a favorable effect is observed on survival (step
function might be the correct way to say that ?).
For overall survival analys...
2007 Jul 05
0
speed up crr function in cmprsk package
I am trying to use the crr function in the cmprsk package to analyze a large
patient dataset (45000 +), The model has 100 + covariates and 5 competing
risks. I am finding that R seems to get bogged down and even if I let it run
for several hours I don't get anything back. Am I expecting too much, or are
there ways to speed up the process? Any...
2011 Aug 16
0
cuminc() in cmprsk package for cumulative incidence
Hi,
To use cuminc() from cmprsk package, if a subject has 2
events (both the event of interest and the event of competing risk),
should I create 2 observations for this subject in the dataset, one for
each event with different fstatus (1 and 2), or just 1 observation with
whatever event that happened first? My analysis object...
2011 Mar 22
0
why the survival function estimate using package 'mstate' & package 'cmprsk' vary from sas and LTA (From WHO).
hello,everyone:
I am now confused in multistate survival , when I want to poccess a multistate survival analysis, I turn to R and the package 'mstate' and packege 'cmprsk'. When I come to publishing the article.
Follow requirement of the magzine, the statistic is carry out in LTA package (which was said to be a authority in intauterine from WHO) . There we found difference in the results(incidence ratio or survival function) computed by the two software. I al...
2012 Nov 28
0
Numbers at risk below cumulative incidence function plot (plot.cuminc, cmprsk-package)
Dear R-community,
I would like to plot the numbers at risk for the different causes of failure at specific timepoints below a cumulative incidence function plot (plot.cuminc-function, cmprsk-package). For a Kaplan-Meier plot I know this is possible with the n.risk-argument in the survplot-function (rms-package), but to my knowledge no such readily-available functions are available for competing risks approaches. I am not very experienced with programming, so any advice on how to do thi...
2015 May 16
1
That 'make check-all' problem with the survival package
'make check-all' for current R has been showing this error in the middle
for a few months now - any thought on fixing this? I think cmprsk
should be either included in the recommended bundle, or
the survival vignette to not depend on it. Having 'make check-all' showing
glaring ERROR's for a few months seems to defeat the purpose of
doing any checking at all via 'make check-all'.
FWIW, I did look at when/how the is...
2005 Sep 09
0
strata in crr (cmprsk library)
Hi all, I am aware that crr lacks the "friendly" command structure of
functions such as cph. All is clear to me about including covariates
until I want to include a stratification term in the competing risk
framework (no nice strat command).
I am still a bit of a novice in R - I am looking for an example to help
me with this, but can't seem to find one. Any advice appreciated (no
2006 May 10
0
using crr in cmprsk
Hi,
I need to fit model using crr, however my covariate is
categorical with 3 levels. I use
crr(time,status,agesplit,failcode=1,cencode=0) where
agesplit is defined as <20,21-29,>30 years, so it
takes 0, 1 or 2 for each patient. I hoped to get
estimated coefficients for the levels 1 and 2 w.r.t
level 0 as in coxph. But, I didn't. Could someone
please help me to use crr in this
2015 May 17
0
That 'make check-all' problem with the survival package
...------------------
>> On Sat, May 16, 2015 8:04 AM BST Uwe Ligges wrote:
>>
>> Not sure why this goes to R-devel. You just could have asked the
>> maintainer. Terry Therneau is aware of it and promised he will fix it.
>>
>>
>> The quickest fix is to add cmprsk to the recommended list , and that's is an R-devel issue.
>
>
>Actually, the easiest solution would be for Terry to either modify relevant code according to:
>
>? http://cran.r-project.org/doc/manuals/r-release/R-exts.html#Suggested-packages
>
>or perhaps better, as noted,...
2009 Feb 27
2
Competing risks adjusted for covariates
Dear R-users
Has anybody implemented a function/package that will compute an individual's risk of an event in the presence of competing risks, adjusted for the individual's covariates?
The only thing that seems to come close is the cuminc function from cmprsk package, but I would like to adjust for more than one covariate (it allows you to stratify by a single grouping vector).
Any help/tips will be extremely appreciated.
Eleni Rapsomaniki
Research Associate
Cambridge
[[alternative HTML version deleted]]
2006 Aug 17
1
putting the mark for censored time on 1-KM curve or competing risk curve
Hi All,
I'm trying to figure out the cumulative incidence curve in R in some
limited time. I found in package "cmprsk", the command "plot.cuminc" can
get this curve. But I noticed that there is no mark for the censored
time there, comparing with the KM curve by "plot.survfit". Here are my
codes (attached is the data):
----------------
dat<-read.table("F://wendy/BMT data analys...
2011 Jun 27
7
cumulative incidence plot vs survival plot
Hi, I am wondering if anyone can explain to me if cumulative incidence (CI) is
just "1 minus kaplan-Meier survival"? Under what circumstance, you should use
cumulative incidence vs KM survival? If the relationship is just CI =
1-survival, then what difference it makes to use one vs. the other?
And in R how I can draw a cumulative incidence plot. I know I can make a
Kaplan-Meier
2010 Feb 24
2
Suppressing a warning from library()
I get a warning about "1 warning message" using R CMD check on the
survival library. It comes from the code snippet:
if (library(cmprsk, logical.return=TRUE)) {
# further test of competing risks from survfit
.
.
}
This is a very useful additional test when I'm checking any changes to
the affected code, so I like having this in my test suite even though it
doesn't run automatically.
This argues for a change in library...
2008 Jul 27
0
competing risk model with time dependent covariates under R or Splus
...ment I m
> evaluating the effect) or from events unrelated to the
> disease or the treatments (elderly patients).
> Therefore, to analyze the effect of my covariate of interest
> on disease free survival and relapse incidence, I d like to
> use a competing risk model such as the Gray CMPRSK.
>
> However, I cannot have multiple "lines" for the same patient
> (cluster function is not allowed in CMPRSK) with this package
> (for time dep covariates I need 1 or 2 lines with same Id /UPN).
>
> Does anyone knows how can I manage this in CMPRSK ?
>
> Any help...