Re: [R] problem building dendrograms to use with heatmap()

2005-08-29 Thread Wittner, Ben
dendrogram. I discovered this by doing as you suggested below and with some help from Jeff Gentry. -Ben -Original Message- From: Paul Murrell [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 7:37 PM To: Wittner, Ben Cc: r-help@stat.math.ethz.ch Subject: Re: [R] problem building

[R] problem building dendrograms to use with heatmap()

2005-08-22 Thread Wittner, Ben
Hi, I'm trying to build dendrograms to pass to heatmap(). The dendrograms I build plot properly, but when I pass them to heatmap() I get the error message row dendrogram ordering gave index of wrong length (see output log below). I looked in the code of heatmap() and saw that the error was due to

[R] analyzing suvival data using splines (a.k.a., piecewise log-hazard-ratio models)

2005-06-22 Thread Wittner, Ben
I'm looking for software that makes plots such as fig 4 (a)-(e), fig 5 anf fig 7 of Gray, Robert, Flexible Methods for Analyzing Survival Data Using Splines, with Applications to Breast Cancer Prognosis, 1992, J Am Stat Assoc, pp 942-51. In other words, I'm looking for software that takes

[R] log-rank when var 5 and power

2005-04-29 Thread Wittner, Ben
I would like to determine whether there's a difference between survival data for two groups. I have been using the survival package and survdiff() with rho=0 and rho=1. Survdiff() with rho=0 is a non-continuity-corrected version of the log-rank test set forth in Fundamentals of Biostatistics by

[R] subset selection for logistic regression

2005-03-02 Thread Wittner, Ben
R-packages leaps and subselect implement various methods of selecting best or good subsets of predictor variables for linear regression models, but they do not seem to be applicable to logistic regression models. Does anyone know of software for finding good subsets of predictor variables for

[R] looking for 3D plotting with real-time rotation

2005-03-01 Thread Wittner, Ben
I would like to plot points in 3D and then be able to rotate the plot in real time in order to understand the distribution of the points using the visual parallax that results from the rotation. The R-package scatterplot3d will plot in 3D, but I've not found a way to rotate the results in real

[R] how to move x-axis labels down

2005-01-31 Thread Wittner, Ben
Hi, In the code below, the labels I put on the x-axis are too high (they cross the axis). Can anyone tell me how to move them down? I've tried adj=, padj=, mar=, and various other things, but cannot move them down. Thanks. -Ben labs - paste('sample', 1:10) plot(1:10, xaxt='n', xlab='') axis(1,

RE: [R] how to move x-axis labels down

2005-01-31 Thread Wittner, Ben
i686 os linux-gnu system i686, linux-gnu status major2 minor0.1 year 2004 month11 day 15 language R Thanks. -Ben -Original Message- From: Berton Gunter [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 4:49 PM To: Wittner, Ben Subject: RE: [R