Re: [R] R Connection with Teradata (Windows)

2009-02-12 Thread Shoaaib Mehmood
roject.org/posting-guide.html<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. > -- Regards, Rana Shoaaib Mehmood (+92) 333 550 4531 [[alternative HTML version deleted]] ___

Re: [R] MS Excel Data

2007-11-30 Thread Shoaaib Mehmood
have spaces and other non-alphanumeric characters which R cannot > > > easily digest. One could separately scan() just the vector of column > > headers > > > and use regular expressions to extract the names. But for small > tables, I > > > find it easier just to crea

Re: [R] testing independence of categorical variables

2007-11-25 Thread Shoaaib Mehmood
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 PROT

[R] testing independence of categorical variables

2007-11-22 Thread Shoaaib Mehmood
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.

Re: [R] plotting coxph results using survfit() function

2007-11-20 Thread Shoaaib Mehmood
ag_Death)~X+Y, data= datFrame) Help On Nov 14, 2007 9:08 AM, Stephen Weigand <[EMAIL PROTECTED]> wrote: > On Nov 13, 2007 5:53 AM, Shoaaib Mehmood <[EMAIL PROTECTED]> wrote: > > > i want to make survival plots for a coxph object using survfit > > function. mod.phm i

[R] sorting factor levels by data frequency of levels

2007-11-16 Thread Shoaaib Mehmood
e) now if i use levels function to print factor levels they are shown sorted by alphabetical order. the output is shown below >levels(statefac) [1] "act" "nsw" "nt" "qld" "sa" "tas" "vic" "wa" I WANT THE FACTOR LE

[R] plotting coxph results using survfit() function

2007-11-13 Thread Shoaaib Mehmood
"contr.treatment") : contrasts can be applied only to factors with 2 or more levels any help will be appreciated. -- Regards, Rana Shoaaib Mehmood __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-he