Re: [R] Wilcox paired test error message

2013-06-24 Thread peter dalgaard
On Jun 24, 2013, at 15:21 , Sarah Goslee wrote: > G'morning. > > On Mon, Jun 24, 2013 at 2:22 AM, peter dalgaard wrote: >> >> On Jun 23, 2013, at 22:30 , Sarah Goslee wrote: >> >>> Hi, >>> >>> If you're doing exactly as described below, then you need to add the >>> data argument to wilcox.te

Re: [R] Wilcox paired test error message

2013-06-24 Thread Sarah Goslee
G'morning. On Mon, Jun 24, 2013 at 2:22 AM, peter dalgaard wrote: > > On Jun 23, 2013, at 22:30 , Sarah Goslee wrote: > >> Hi, >> >> If you're doing exactly as described below, then you need to add the >> data argument to wilcox.test so R knows where to find beforesmall and >> aftersmall. But if

Re: [R] Wilcox paired test error message

2013-06-23 Thread peter dalgaard
On Jun 23, 2013, at 22:30 , Sarah Goslee wrote: > Hi, > > If you're doing exactly as described below, then you need to add the > data argument to wilcox.test so R knows where to find beforesmall and > aftersmall. But if so, that's a rather uninformative error message. > > Saraj Not really, if

Re: [R] Wilcox paired test error message

2013-06-23 Thread David Winsemius
On Jun 23, 2013, at 11:34 AM, ruth parker wrote: > Hi, > I've been trying to run a wilcox paired test on some data > beforesmall aftersmall > [1,]63.5 512.0 > [2,]54.5 237.5 > [3,]52.5 161.5 > [4,]78.0 153.5 > [5,]53.5 68.0 > [6,]

Re: [R] Wilcox paired test error message

2013-06-23 Thread arun
HI, May be this helps: dat1<- read.table(text=" beforesmall aftersmall 63.5  512.0 54.5  237.5 52.5  161.5 78.0  153.5 53.5   68.0 50.5   65.5 69.0   52.0 76.0   59.0 68.0   66.5 75.5   66.5 67.0   45.5 81.0   54.5 49.0   44.0 51.0   42.5 53.0

Re: [R] Wilcox paired test error message

2013-06-23 Thread Sarah Goslee
Hi, If you're doing exactly as described below, then you need to add the data argument to wilcox.test so R knows where to find beforesmall and aftersmall. But if so, that's a rather uninformative error message. Saraj On Sun, Jun 23, 2013 at 2:34 PM, ruth parker wrote: > Hi, > I've been trying t