prettyR --- Shoaaib Mehmood <[EMAIL PROTECTED]> wrote:
> i cant find help for xtab. Which package contains > this function > > On Nov 24, 2007 12:16 PM, G Ilhamto > <[EMAIL PROTECTED]> wrote: > > hi shohaib, > > have you tried xtab instead of chisq.test? > > > > Ilham > > > > > > > > On Nov 22, 2007 6:16 AM, Shoaaib Mehmood > <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > hi, > > > > > > is there a way of calculating of measuring > dependence between two > > > categorical variables. i tried using the chi > square test to test for > > > independence but i got error saying that the > lengths of the two > > > vectors don't match. Suppose X and Y are two > factors. X has 5 levels > > > and Y has 7 levels. This is what i tried doing > > > > > > >temp<-chisq.test(x,y) > > > > > > but got error "the lengths of the two vectors > don't match". any help > > > will be appreciated > > > -- > > > Regards, > > > Rana Shoaaib Mehmood > > > > > > > > > ______________________________________________ > > > R-help@r-project.org mailing list > > > https://stat.ethz.ch/mailman/listinfo/r-help > > > PLEASE do read the posting guide > > http://www.R-project.org/posting-guide.html > > > and provide commented, minimal, self-contained, > reproducible code. > > > > > > > > > > > -- > Regards, > Rana Shoaaib Mehmood > (+92) 333 550 4531 > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, > reproducible code. > Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! Canada Messenger at http://ca.beta.messenger.yahoo.com/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.