Re: [R] Plot bivariate joint pdf

2009-05-11 Thread beetle2
Thank you for your suggestions. When you talked about the double itegral did you mean solve the pdf for 1 variable by \int \int_{0}^{1} X+y dydx x^2/2 + x/2 Where this is a function of one variable. Do I then plot this function ? regards David Winsemius wrote: On May 11, 2009, at

Re: [R] Set working directory by dragging text file onto R shortcut? [WinXP, unfortunately]

2009-05-11 Thread Duncan Murdoch
On 11/05/2009 6:30 PM, Mark Na wrote: Hi R-helpers, I must use WinXP at work, and I'm missing a particular feature that's available in R on my Mac at home... In WinXP I would like to launch R by dragging and releasing a text file on top of the R shortcut on my desktop. Then, I would like the

[R] Bootstrap error rate of logistic disrmination model

2009-05-11 Thread bigi001 bigi001
Hi, i am trying to find an appopriate R function which will estimate the bias associated with the apparent error rate of my logistic discriminant model (groups = 2, covariates = 3). I have read that bootstrapping can be used for this. Does anyone have any ideas on how I can go about doing this?

Re: [R] Looking for a quick way to combine rows in a matrix

2009-05-11 Thread jim holtman
Try this: key - rownames(a) key[key == AT] - TA do.call(rbind, by(a, key, colSums)) V2 V3 V4 V5 AA 1 5 9 13 TA 5 13 21 29 TT 4 8 12 16 On Mon, May 11, 2009 at 4:53 PM, Crosby, Jacy R jacy.r.cro...@uth.tmc.eduwrote: I'm working with genotype data in a frequency table:

[R] how to specify xlim in forestplot

2009-05-11 Thread Waverley
Hi, I am using rmeta forestplot function. The values to plot and their 95% upper and lower are of both positive and negative values such that I need to specify the x axis range. Looks like forestplot can only allow positive values for x. Is that true? Can someone help me? in plot you can just

Re: [R] how to specify xlim in forestplot

2009-05-11 Thread C.H.
The plot function in meta (not rmeta) can specify xlim. http://cran.r-project.org/web/packages/meta/index.html Regards, CH On Tue, May 12, 2009 at 9:08 AM, Waverley waverley.paloa...@gmail.com wrote: Hi, I am using rmeta forestplot function.  The values to plot and their 95% upper and

[R] times family unavailable in postscript device (Ubuntu Linux)

2009-05-11 Thread Paul Johnson
I'm running Ubuntu 9.04. I could use some advice about fonts in postscript devices. sessionInfo() R version 2.9.0 (2009-04-17) i486-pc-linux-gnu locale:

Re: [R] Set working directory by dragging text file onto R shortcut? [WinXP, unfortunately]

2009-05-11 Thread Gabor Grothendieck
One additional way to use this is to place RGuiStart.bat on your desktop and then you can drag a folder to it. On Mon, May 11, 2009 at 7:14 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: There are a several possibilities using batchfiles whose home page is at:

Re: [R] Warning trying to plot -log(log(survival))

2009-05-11 Thread Steven McKinney
Hi John, I can't reproduce your case with built-in data sets. Your data set is small. Can you show the data for the variables involved in your example? (Time30, Died, Rx, Age) Steven McKinney, Ph.D. Statistician Molecular Oncology and Breast Cancer Program British Columbia Cancer

Re: [R] Warning trying to plot -log(log(survival))

2009-05-11 Thread John Sorkin
Time30 is simply Time/30 and reflects months of follow-up. A copy of my data follows: Time,Time30,Died,Age,Rx 3,0.1,0,40,2 8,0.26667,1,21,2 10,0.3,1,18,2 12,0.4,0,42,2 16,0.5,1,23,2 17,0.56667,1,21,2 22,0.7,1,13,2 64,2.1,0,20,2 65,2.16667,0,15,2

Re: [R] Warning trying to plot -log(log(survival))

2009-05-11 Thread Steven McKinney
Hi John, Thanks for the data. I put your data in a plain text file and read it in without any problems. jsdf - read.csv(js.csv) jsdf Time Time30 Died Age Rx 1 3 0.1000 40 2 2 8 0.2671 21 2 310 0.3331 18 2 412 0.4000 42 2 5

[R] How to generate pdf in more than 1 papes

2009-05-11 Thread Xiaogang Yang
I have a problem, everytime I plot in pdf, I could only draw in one page, does anyone know how to generate more than one page for example, I have 10 pics to plot in pdf, each page only could be plotted 5 pics, so how can I generate just one pdf of 2 pages, instead of two pdf Thank you --

Re: [R] How to generate pdf in more than 1 papes

2009-05-11 Thread Yihui Xie
pdf() WILL draw all graphs in a single pdf file by default (onefile = TRUE) # you didn't tell us your R version R.version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 9.0 year

[R] Can anyone suggest some r packages for Experimental Designs, specifically for choice and conjoint??? (or is intersted in helping me make 1)

2009-05-11 Thread Chris Howden
Afternoon everyone, I've spent the last week or so looking at all the experimental design packages I can find in R. AlgDesign, design.conf and BHH2 being the best one I could find. Unfortunately none of these do a particularly good job for complex designs, in particular for conjoint or

<    1   2