Re: [R] Question on Differentiating Two Populations in R

2004-08-08 Thread Jim Brennan
If I am understanding correctly you can have a look at ? t.test and ? wilcox.test depending on assumptions. Jim - Original Message - From: James R. Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, August 07, 2004 9:38 PM Subject: [R] Question on Differentiating Two

[R] Forcing Sweave text to fit

2004-08-08 Thread Doran, Harold
List I am preparing a document in Sweave where I would like the R output on the file. So I have used echo=T= text @ In some cases, I have text that is very long. Consequently, the tex file has my text going way out into the margins and the document looks a little sloppy. Is there a way

Re: [R] Forcing Sweave text to fit

2004-08-08 Thread Deepayan Sarkar
On Sunday 08 August 2004 11:24, Doran, Harold wrote: List I am preparing a document in Sweave where I would like the R output on the file. So I have used echo=T= text @ In some cases, I have text that is very long. Consequently, the tex file has my text going way out into the margins

[R] R packages install problems linux - X not found (WhiteBox EL 3)

2004-08-08 Thread Dr Mike Waters
Good evening everyone, I am used to using R under Windows, but have done an install of 1.9.1 under WhiteBox linux 3 (based on RHEL 3). This all went without a hitch, along with most of the additional package installs. However, while trying to install car and rgl I hit a problem regarding the X

[R] vectorized lines

2004-08-08 Thread Mikkel Grum
Hi, I thought that the following code would give me a set of parallel lines on a plot as in the second example. q-c(-2253,-2119,-1985,-1850) p-c(1,2,3,4) a-rep(min(p),4) b-rep(max(p),4) plot(p,q) # example 1 lines(c(a,b),c(q,q)) Now this gives me the lines I really want: # example 2

Re: [R] vectorized lines

2004-08-08 Thread Uwe Ligges
Mikkel Grum wrote: Hi, I thought that the following code would give me a set of parallel lines on a plot as in the second example. q-c(-2253,-2119,-1985,-1850) p-c(1,2,3,4) a-rep(min(p),4) b-rep(max(p),4) plot(p,q) # example 1 lines(c(a,b),c(q,q)) Now this gives me the lines I really want: #

Re: [R] R packages install problems linux - X not found (WhiteBox EL 3)

2004-08-08 Thread Marc Schwartz
On Sun, 2004-08-08 at 12:32, Douglas Bates wrote: Dr Mike Waters wrote: I am used to using R under Windows, but have done an install of 1.9.1 under WhiteBox linux 3 (based on RHEL 3). This all went without a hitch, along with most of the additional package installs. However, while trying

Re: [R] R packages install problems linux - X not found (WhiteBox EL 3)

2004-08-08 Thread Marc Schwartz
On Sun, 2004-08-08 at 12:53, Marc Schwartz wrote: In the case of the RGL package, you might want to review this recent thread: https://www.stat.math.ethz.ch/pipermail/r-help/2004-August/thread.html Correction on the above URL. I pasted the wrong one here. It should be:

Re: [R] vectorized lines

2004-08-08 Thread Jim Brennan
abline(h=q) might be useful Jim - Original Message - From: Mikkel Grum [EMAIL PROTECTED] To: RHelp [EMAIL PROTECTED] Sent: Sunday, August 08, 2004 1:26 PM Subject: [R] vectorized lines Hi, I thought that the following code would give me a set of parallel lines on a plot as in the

[R] manipulating strings

2004-08-08 Thread Stephen Nyangoma
Hi I have a called fil consisting of the following strings. fil [1] 102.2 639104.2 224105.1 1159 107.1 1148 108.1 1376 [6] 109.2 1092 111.2 1238 112.2 349113.1 1204 114.1 537 [11] 115.0 303116.1 490117.2 202118.1 1864 119.0 357

FW: [R] R packages install problems linux - X not found (WhiteBoxEL 3)

2004-08-08 Thread Dr Mike Waters
-Original Message- From: Dr Mike Waters [mailto:[EMAIL PROTECTED] Sent: 08 August 2004 20:11 To: '[EMAIL PROTECTED]' Subject: RE: [R] R packages install problems linux - X not found (WhiteBoxEL 3) -Original Message- Correction on the above URL. I pasted the wrong one here. It

Re: [R] manipulating strings

2004-08-08 Thread Marc Schwartz
On Sun, 2004-08-08 at 13:58, Stephen Nyangoma wrote: Hi I have a called fil consisting of the following strings. fil [1] 102.2 639104.2 224105.1 1159 107.1 1148 108.1 1376 [6] 109.2 1092 111.2 1238 112.2 349113.1 1204 114.1 537 [11] 115.0

RE: [R] R packages install problems linux - X not found (WhiteBoxEL 3)

2004-08-08 Thread Marc Schwartz
On Sun, 2004-08-08 at 14:10, Dr Mike Waters wrote: snip Thanks for the responses guys. I used to have RH9 installed on this machine and I found out about the separate developer packages then. I thought that I had got the relevant XFree devel package installed, but although it showed up in

Re: [R] manipulating strings

2004-08-08 Thread Gabor Grothendieck
Stephen Nyangoma S.Nyangoma at cs.rug.nl writes: : : Hi : I have a called fil consisting of the following strings. : : fil : [1] 102.2 639104.2 224105.1 1159 107.1 1148 :108.1 1376 : [6] 109.2 1092 111.2 1238 112.2 349113.1 1204 :114.1 537 : [11]

RE: [R] R packages install problems linux - X not found (WhiteBoxEL 3)

2004-08-08 Thread Prof Brian Ripley
On Sun, 8 Aug 2004, Marc Schwartz wrote: On Sun, 2004-08-08 at 14:10, Dr Mike Waters wrote: snip Thanks for the responses guys. I used to have RH9 installed on this machine and I found out about the separate developer packages then. I thought that I had got the relevant XFree

[R] (REPOST) Simple main effects in 2-way repeated measure ANOVA

2004-08-08 Thread Giuseppe Pagnoni
Hi all I am running a 2-way repeated measure anova with 1 between-subjects factor (Group=treatment, control), and 1 within-subject factor (Time of measurement: time1, time2). I extract the results of the anova with: summary(aov(effect ~ Group*Time + Error=Subj/Time, data=mydata)) Now, this

Re: [R] (REPOST) Simple main effects in 2-way repeated measure ANOVA

2004-08-08 Thread Prof Brian Ripley
Why has this been REPOSTed? It was delivered last Thursday. On Sun, 8 Aug 2004, Giuseppe Pagnoni wrote: I am running a 2-way repeated measure anova with 1 between-subjects factor (Group=treatment, control), and 1 within-subject factor (Time of measurement: time1, time2). I extract the

[R] Time zones

2004-08-08 Thread David Scott
I am analysing some data collected over a number of months from Allentown, PA, which is just north of Philadelphia. I am using as.POSIXct for dates and times, and I need to get the timezone specification correct. Going on the documentation for DateTimeClasses, I believe one way to specify the

[R] returns the value of a polynomial of degree n evaluated at x.

2004-08-08 Thread McClatchie, Sam (PIRSA-SARDI)
Background: OS: Linux Mandrake 9.1 release: R 1.9.0 editor: Xemacs 21.4 frontend: ESS 5.1.23 - Colleagues Is there a function in R that is similar to polyval in matlab? (y = polyval(p,x) returns the value of a polynomial of degree n evaluated at x. The

RE: [R] returns the value of a polynomial of degree n evaluated a t x.

2004-08-08 Thread Liaw, Andy
Try something like: install.packages(polynom) library(polynom) predict(polynomial(rev(p)), x) HTH, Andy From: McClatchie, Sam (PIRSA-SARDI) Background: OS: Linux Mandrake 9.1 release: R 1.9.0 editor: Xemacs 21.4 frontend: ESS 5.1.23 -