[R] is there a way to do dense rank in R

2010-07-01 Thread Suresh Singh
I have not been able to find a way to do dense rank in R Here is an example of what I need rank() gives the following 5 rank 1 7 rank 2 7 rank 2 9 *rank 4* but I want 5 rank 1 7 rank 2 7 rank 2 9 *rank 3* * * thanks SS [[alternative HTML version deleted]]

[R] XTFEVD implementation in R

2010-07-05 Thread Suresh Singh
Is there a package in R for XTFEVD procedure (Plümper & Troeger)? Also, are there any examples of Hausman-Taylor implementation in R? I understand that it can be done using plm package but could not find examples with actual data Thank you, Suresh Singh Fisher College of Business The Ohio S

[R] package for rank ordered logit

2010-07-16 Thread Suresh Singh
Is there a package in R that can run rank-ordered logit? Thanks, Suresh __ 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,

Re: [R] package for rank ordered logit

2010-07-16 Thread Suresh Singh
Hebrew) | www.biostatistics.co.il (Hebrew) | > www.r-statistics.com (English) > -- > > > > > On Fri, Jul 16, 2010 at 6:15 PM, Suresh Singh wrote: >> >> Is there a pac

[R] Namibia becoming NA

2010-07-17 Thread Suresh Singh
I have a data file in which one of the columns is country code and NA is the code for Namibia. When I read the data file using read.csv, NA for Namibia is being treated as null or "NA" How can I prevent this from happening? I tried the following but it didn't work input <- read.csv("padded.csv",h