[R] read.table question #only need to change column names

2011-04-01 Thread hongsheng wu
Hi all, I have a huge data set. All I want to do is to change the column names of the it. So if I use read.table, I can read the data in and change colnames and then write back, such as, t <- read.table("a.txt", header = T, sep = "\t") colnames(t) colnames(t) <- c(") # new column names wri

[R] Frailty model -- Conditional or Marginal?

2011-03-09 Thread hongsheng wu
Dear all, When I ran a frailty model like, model <- coxph(Surv(Day, Indicator) ~ trt + frailty(group, distribution="gaussian")) The variance of effect estimate of trt was estimated by conditional model or marginal model? Thanks. Alex [[alternative HTML version deleted]] _