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

2009-02-12 Thread Shoaaib Mehmood
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Regards, Rana Shoaaib Mehmood (+92) 333 550 4531 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] MS Excel Data

2007-11-30 Thread Shoaaib Mehmood
You should RODBC library. It has some functions to fetch data from excel. You can use the following code channel-odbcConnectExcel(filename.xls) # replace filename with the name of ur file xldata-sqlFetch(channel,excel sheet name, colnames = T) hope this helps Regards, Rana Shoaaib Mehmood

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 PROTECTED] wrote: hi, is there a way

[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.ch/mailman/listinfo/r-help PLEASE

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

2007-11-20 Thread Shoaaib Mehmood
, 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 is an object of coxph class which calculated results using

[R] sorting factor levels by data frequency of levels

2007-11-16 Thread Shoaaib Mehmood
WHICH HAS THE SECOND HIGHEST FREQUENCY AND SO ON. 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

[R] plotting coxph results using survfit() function

2007-11-13 Thread Shoaaib Mehmood
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-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html