[R] barplot with log base 2 scale or shift the x-axis

2008-05-02 Thread Summer Nitely
Hi, I have data that is on a log base 2 scale. It goes from negative factors of 2 to positive ones. I am using barplot. However, I don't want the data centered at 0 - I want the min of the yaxis to be just below the lowest value in the data. The plots are kind of deceptive switching between

[R] truncate row names

2008-04-24 Thread Summer Nitely
Hi, I would like to truncate row names. Is that possible? I ran a regression with the covariates in a matrix, and in the results the coefficients have the matrix name concatenated with the variable name: full.t.ag - Icens(lfirst_well, llast_well, lfirst_ill, formula=~ t.ag.X,

[R] Estimated survival function in Epi package

2007-12-11 Thread Summer Nitely
Does anyone know if the Epi package has a function that returns/plots the survival function for interval censored survival analysis. I haven't found one in the manual that does this explicitly, but I could be missing it. I am writing a paper, and I just coded the survival function myself, but it