Re: [R] categorical data

2006-08-10 Thread Christian Oswald
Hello, thats what I need, a list sorted first after year and then after categorie. But I get an error message df df cate bc [1,] 2006 a1 1 1 [2,] 2006 a2 2 2 [3,] 2005 a1 3 3 [4,] 2004 a3 1 1 [5,] 2004 a2 2 2 [6,] 2005 a1 3 3 [7,] 2003 a2 11 11 [8,] 2003 a1 2 2

Re: [R] categorical data

2006-08-10 Thread Petr Pikal
Hi On 10 Aug 2006 at 9:19, Christian Oswald wrote: Date sent: Thu, 10 Aug 2006 09:19:06 +0200 From: Christian Oswald [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Subject:Re: [R] categorical data Send reply to: [EMAIL

Re: [R] categorical data

2006-08-10 Thread Christian Oswald
:Re: [R] categorical data Send reply to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Hello, thats what I need, a list sorted first after year and then after categorie. But I get an error message df df cate bc [1,] 2006 a1 1

[R] categorical data

2006-08-09 Thread Christian Oswald
Dear List, I neeed a grouped list with two sort of categorical data. I have a data .frame like this. yearcat.b c 1 2006a1 125 212 2 2006a2 256 212 3 2005a1 14 12 4 2004a3 565 123 5 2004

Re: [R] categorical data

2006-08-09 Thread Marc Schwartz (via MN)
On Wed, 2006-08-09 at 18:07 +0200, Christian Oswald wrote: Dear List, I neeed a grouped list with two sort of categorical data. I have a data .frame like this. yearcat.b c 1 2006a1 125 212 2 2006a2 256 212 3 2005a1 14

[R] Categorical data (Monte Carlo exact p-value)

2003-03-26 Thread Jorge Magalhes
In R program, I can perform categorical data test analysis like Odds ratio test in stratified 2x2 contingency tables? I do that in statistical package StatXact, but i would like perform the same test in R environment. Thanks very much Jorge Magalhães

Re: [R] Categorical data (Monte Carlo exact p-value)

2003-03-26 Thread Spencer Graves
A search in the standard R documentation for Fisher's exact test reveals a command fisher.test, and a search for Chi-square reveals a chisq.test. Spencer Graves Jorge Magalhães wrote: In R program, I can perform categorical data test analysis like Odds ratio test in stratified 2x2