Re: [R] error in unique() command

2013-02-23 Thread Uwe Ligges
On 15.02.2013 13:05, Amir Kasaeian wrote: Dear all, Good day! I have a question in my codes, would you please help me how to rectify it? these are my coded but at the last line I received the error! mac_30 = read.dta("MAC results4.dta") mac_30 map_30 = read.dta("MAP results4.dta") map_30 mac_

[R] error in unique() command

2013-02-15 Thread Amir Kasaeian
Dear all, Good day! I have a question in my codes, would you please help me how to rectify it? these are my coded but at the last line I received the error! mac_30 = read.dta("MAC results4.dta") mac_30 map_30 = read.dta("MAP results4.dta") map_30 mac_30$weight = 1/nrow(mac_30) mac_30 map_30$weigh