Re: [R] t.test & formatting question

2004-04-16 Thread christopher ciotti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony Plate wrote: > as.numeric() (and its siblings) strip the names from vectors, e.g.: > > > as.numeric(t.test(rnorm(1001))$statistic) > [1] -0.6320304 > > > > hth, > > Tony Plate Thanks for the quick response. - -- chris ciotti ([EMAIL PROTECTED]) P

[R] t.test & formatting question

2004-04-16 Thread christopher ciotti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all - I'm trying to format some data where I only need one of the values returned from a test, say a t-test in this instance. I have the following: > R.version.string [1] "R version 1.9.0, 2004-04-12" > x <- rnorm(1001) > t.test(x)$statistic

Re: [R] Single Factor Anova

2004-04-02 Thread christopher ciotti
Liaw, Andy wrote: So what is your question? With R-1.8.1 on WinXPPro, I get: Obviously I was asking about how one would go about running one. I appreciate your answer. Thanks. -- chris ciotti ([EMAIL PROTECTED]) PGP ID: 0xE94BB3B7 __ [EMAIL PROTE

[R] Single Factor Anova

2004-04-02 Thread christopher ciotti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all - As I progress in R I am trying to automate functions I would have normally farmed out to Excel, SPSS or Statistica. Single factor anova is one of them. For example, a dataset from NIST StRD (http://www.itl.nist.gov/div898/strd/anova/At

Re: [R] setting x-y axis at origin

2004-03-15 Thread christopher ciotti
christopher ciotti wrote: Hello - I'm just getting into 'R' and am having trouble setting up the x-y axis to share (0,0). In the example posted here: http://geocities.com/chris_ciotti/Images/part1.pdf, each axis has a 0 which I do not want. Any help on getting a graph starting

[R] setting x-y axis at origin

2004-03-15 Thread christopher ciotti
Hello - I'm just getting into 'R' and am having trouble setting up the x-y axis to share (0,0). In the example posted here: http://geocities.com/chris_ciotti/Images/part1.pdf, each axis has a 0 which I do not want. Any help on getting a graph starting at (0,0) would be greatly appreciated.

Re: [R] creating a ps. file

2004-03-15 Thread christopher ciotti
[EMAIL PROTECTED] wrote: Dear all I wrote a routine. At the end of each cycle of the loop I would like to save the result (plot) in a postcriptfile. Of course if I just use dev.print in the following way: dev.print(device=postcript, 'c:/Rfigures/plot_1.ps") I overwrite my results with the secon