Displaying 20 results from an estimated 300 matches similar to: "controlling axes in plot.cuminc (cmprsk library)"
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 objective is calculate
cumulative incidence for the event of interest.
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:
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
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
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):
----------------
2008 Dec 08
0
Query in Cuminc - stratification
Hello everyone,
I am a very new user of R and I have a query about the cuminc function in the package cmprsk. In particular I would like to verify that I am interpreting the output correctly when we have a stratification variable.
Hypothetical example:
group : fair hair, dark hair
fstatus: 1=Relapse, 2=TRM, 0=censored
strata: sex (M or F)
Our data would be split into:
Fair, male,
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
2009 Jun 25
2
crr - computationally singular
Dear R-help,
I'm very sorry to ask 2 questions in a week. I am using the package
'crr' and it does exactly what I need it to when I use the dataset a.
However, when I use dataset b I get the following error message:
Error in drop(.Call("La_dgesv", a, as.matrix(b), tol, PACKAGE = "base")) :
system is computationally singular: reciprocal condition number =
2008 Aug 27
1
plot.cuminc: how to put tick marks for censored observations
Hi,
I am trying to figure out how to put tick marks for censored observations
using plot.cuminc for my competing risk analysis (survfit does this
automatically). I've searched online for resources but found nothing. Does
anybody know how to do this? Thank you in advance for your input.
KC
[[alternative HTML version deleted]]
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)
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
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 Mar 26
2
how to make stacked plot?
Dear friends:
I'm interested to make a stacked plot of cumulative incidence. that's, the cuminc model is fitted [fit=cuminc(time, relapse)] and cumulative incidence is in place. I'd like to stack the cuminc plots (relapse of luekemia and death free from leukemia, for example) , then the constituent ratio of leukemia relapse and treatment related mortality is very clear. Can
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
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 ?).
2008 Aug 22
0
Re : Help on competing risk package cmprsk with time dependent covariate
Hello again,
I m trying to use timereg package as you suggested (R2.7.1 on XP Pro).
here is my script based on the example from timereg for a fine & gray model in which
relt = time to event, rels = status 0/1/2 2=competing, 1=event of interest, 0=censored
random = covariate I want to test
library(timereg)
rel<-read.csv("relapse2.csv", header = TRUE, sep = ",",
2009 May 15
1
Function Surv and interpretation
Dear everyone,
My question involves the use of the survival object.
We can have
Surv(time,time2,event, type=, origin = 0) (1)
As detailed on p.65 of:
http://cran.r-project.org/web/packages/survival/survival.pdf
My data (used in my study) is 'right censored' i.e. my variable corresponding to 'event' indicates whether a person is alive (0) or dead (1) at date last seen
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
2009 Mar 25
2
Competing risks Kalbfleisch & Prentice method
Dear R users
I would like to calculate the Cumulative incidence for an event
adjusting for competing risks and adjusting for covariates. One way to
do this in R is to use the cmprsk package, function crr. This uses the
Fine & Gray regression model. However, a simpler and more classical
approach would be to implement the Kalbfleisch & Prentice method (1980,
p 169), where one fits cause
2008 Dec 15
0
Cumulative Incidence : Gray's test
Hello everyone,
I am a very new user of R and I have a query about the cuminc function
in the package cmprsk. In particular I would like to verify that I am
interpreting the output correctly when we have a stratification
variable.
Hypothetical example:
group : fair hair, dark hair
fstatus: 1=Relapse, 2=TRM, 0=censored
strata: sex (M or F)
Our data would be split into:
Fair, male,