[R] help in M-estimator by R

2012-11-22 Thread Sarah_R_edu
hi guys and gals ... How are you all ... i have to do something in robust regression by R programm , and i have some problems as following: *the first :* suppose w(r) =1/(1 r^2) and r <- c(7.01,2.07,7.061,5.607,8.502,54.909,12.222) and i want to exclude some values from r so that (abs(r)>4.9 ).

Re: [R] help to ... import the data from Excel

2011-10-14 Thread Sarah_R_edu
*/David/* i used the following command : z <- read.xls(file="C:\\Users\\user\\Desktop\\LTS.xls",colNames=FALSE,rowNames=FALSE) z <- read.table(file="C:\\Users\\user\\Desktop\\LTS.xls") and i have the packages : xlsReadWrite and gdata , my R version is 2.13.2 (2011-09-30) but all these did not

Re: [R] help to ... import the data from Excel

2011-10-14 Thread Sarah_R_edu
/Michael Weylandt/ i used read.xls() and i install the packages : xlsReadWrite and getshlib before using this command but, did not work. anyway i waiting for you. thank you so much. (Flowers) - We are all like the bright moon, we still have our darker side -- View this message in cont

Re: [R] help to ... import the data from Excel

2011-10-14 Thread Sarah_R_edu
eyildiz ... if i installed the package (getshlib) appeared to me to selecting a CRAN mirror ... Any one to be selected ? Note: i am beginner to used the languge R /thanks eyildiz ( my prayers to you)/ http://r.789695.n4.nabble.com/file/n3905447/47756_429620173219_788668219_5025394_743078_n

Re: [R] help to ... import the data from Excel

2011-10-14 Thread Sarah_R_edu
I am tried z <- read.xls(file="C:\\Users\\user\\Desktop\\LTS.xls", colNames=FALSE, rowNames=FALSE) and the following massege is appeared: Error in .Call("ReadXls", file, colNames, sheet, type, from, rowNames, : Incorrect number of arguments (11), expecting 10 for 'ReadXls' My dear ,

[R] help to ... import the data from Excel

2011-10-11 Thread Sarah_R_edu
Hi every one i have problem in R program to import the data from excel , I have done the following: 1. install.packages("xlsReadWrite") 2. library(xlsReadWrite) 3. z<- read.xls("ReadXls",LTS,colNames=FALSE,sheet,type,form,rowNames=FALSE) and i got on the result: Error in read.xls("ReadX