Re: [R] cumulative incidence for mstate in Survival package in R

2013-12-31 Thread Jieyue Li
Thanks a lot for the reply! On Tue, Dec 31, 2013 at 1:59 AM, Göran Broström wrote: > On 12/30/2013 11:04 PM, Jieyue Li wrote: > >> Dear All, >> >> I want to have the cumulative incidence curves for 'mstate' data using >> Survival package in R. But I got so

[R] cumulative incidence for mstate in Survival package in R

2013-12-30 Thread Jieyue Li
Dear All, I want to have the cumulative incidence curves for 'mstate' data using Survival package in R. But I got some problems: I. Problem 1: 1. If I only use intercept without any covariates, I can have 'right' cumulative incidence curves (2 for 2 competing risks): library(Survival) fitCI <- sur

Re: [R] combine glmnet and coxph (and survfit) with strata()

2013-12-09 Thread Jieyue Li
he hood, is implemented using > survfit). Can you show how you converted your Surv object formula to a > design matrix for use with glmnet? > > Thanks, > -Aaron > > > On Sun, Dec 8, 2013 at 12:45 AM, Jieyue Li wrote: > >> Dear All, >> >> I want to generate sur

[R] computational cost of the survpack or survival support vector machine package

2013-12-07 Thread Jieyue Li
Dear All, I'm trying using the survpack to apply support vector machines on survival analysis, but I find that it's very slow. I use a data frame with 1082 rows and 8 columns but it seems to run forever... Does anyone have any insight or suggestion to this or have better knowledge of another R pac

[R] combine glmnet and coxph (and survfit) with strata()

2013-12-07 Thread Jieyue Li
Dear All, I want to generate survival curve with cox model but I want to estimate the coefficients using glmnet. However, I also want to include a strata() term in the model. Could anyone please tell me how to have this strata() effect in the model in glmnet? I tried converting a formula with stra

[R] ask for Dimension reduction, Manifold Learning R-package

2013-01-11 Thread Jieyue Li
Dear All, Does anyone know whether there is a R package existed for dimension reduction (manifold learning) methods, especially like Laplacian Eigenmaps? Thanks a lot! Best, Jieyue [[alternative HTML version deleted]] __ R-help@r-project.org