Re: [R] Cluster analysis question

2009-02-08 Thread Stephen Weigand
Dan, I don't use the flexclust package, but if I understand your question correctly, you can use your own distance measure to calculate a dissimilarity matrix and pass that to, e.g., agnes() in the cluster package. Stephen On Fri, Feb 6, 2009 at 9:42 AM, Jim Porzak wrote: > Dan, > > Check out F

Re: [R] Log transformation and -Inf values for use in glm()

2009-02-07 Thread Stephen Weigand
Paul, On Fri, Feb 6, 2009 at 3:25 PM, Paul Warren Simonin wrote: > Hello, > I am writing regarding log transformation of data in a single matrix > column, and subsequent use of these data in a glm model fit. I have a data > matrix in which I am using the log function to transform the values. Th

Re: [R] Capturing coxph warnings and errors

2008-06-17 Thread Stephen Weigand
On Tue, Jun 17, 2008 at 9:47 AM, Daniel Brewer <[EMAIL PROTECTED]> wrote: > Hi, > > I have a script that takes a subset of genes on a microarray and tries > to fit a coxph model to the expression values for each gene. This seems > to work fine but in some cases it produces warnings and/or errors.

Re: [R] Lattice: Superpose bwplot and dotplot [newbie question]

2008-06-16 Thread Stephen Weigand
On Mon, Jun 16, 2008 at 4:40 PM, Lord Yo <[EMAIL PROTECTED]> wrote: > > Hello everyone > > I have dataset containing a monetary value (ABS) and two factors (Fct, > Group). I am able to create useful using: > > bwplot(ABS~Group|Fct) > and > dotplot(ABS~Group|Fct) > > Question: What do I have to do

Re: [R] changing the police of my graph's title

2008-06-15 Thread Stephen Weigand
On Sun, Jun 15, 2008 at 8:15 AM, hanen <[EMAIL PROTECTED]> wrote: > hi; > > i want to change the police of the title of my graph.i tried to use > font.title and cex.title but there was no changing in characters fount. > > is there any one who could help me? > -- Try 'font.main' and 'cex.main'. Th

Re: [R] Function for AUC?

2007-12-16 Thread Stephen Weigand
RSiteSearch("AUC") would lead you to http://finzi.psych.upenn.edu/R/Rhelp02a/archive/46416.html On Dec 13, 2007 12:38 PM, Armin Goralczyk <[EMAIL PROTECTED]> wrote: > Hello > > Is there an easy way, i.e. a function in a package, to calculate the > area under the curve (AUC) for drug serum levels

Re: [R] plotting coxph results using survfit() function

2007-11-13 Thread Stephen Weigand
On Nov 13, 2007 5:53 AM, Shoaaib Mehmood <[EMAIL PROTECTED]> wrote: > i want to make survival plots for a coxph object using survfit > function. mod.phm is an object of coxph class which calculated results > using columns X and Y from the DataFrame. Both X and Y are > categorical. I want survival

Re: [R] a repetition of simulation

2007-11-12 Thread Stephen Weigand
Dear Sigalit, On Nov 12, 2007 2:18 PM, sigalit mangut-leiba <[EMAIL PROTECTED]> wrote: > Hello, > I have a simple (?) simulation problem. > I'm doing a simulation with logistic model and I want to reapet it 600 > times. > The simulation looks like this: > > z <- 0 > x <- 0 > y <- 0 > aps <- 0 > ti

Re: [R] how to export.RDA file to a text file?

2007-09-24 Thread Stephen Weigand
On 9/24/07, Jittima Piriyapongsa <[EMAIL PROTECTED]> wrote: > Hi, > > Does anyone know how to export .RDA file (in R program) to a normal text file > (readable by any text editor)? Also, how to export an object in R program > into a > text file (not .RDA file)? > > Thank you. > Jittima You may be

Re: [R] Inferences for ratios of non-normal means

2007-09-11 Thread Stephen Weigand
Paul, On 9/11/07, JRG <[EMAIL PROTECTED]> wrote: > On 11 Sep 2007 at 22:10, Robert A LaBudde wrote: > > > I think a ratio of two normals has a Cauchy distribution, which > > doesn't have a variance (the singularity in the denominator), so the > > Central Limit theorem does not apply. > > > > The C