[R] sapply(pred,cor,y=resp)

2011-10-09 Thread William Claster
Hello. I am wondering why I am getting NA for all in cors=sapply(pred,cor,y=resp). I suppose that each column in pred has NAs in them. Is there some way to fix this? Thanks > str(pred) 'data.frame':   200 obs. of  13 variables:  $ mnO2: num  9.8 8 11.4 4.8 9 13.1 10.3 10.6 3.4 9.9 ...  $ Cl  :

[R] (no subject)

2011-10-04 Thread William Claster
Hi. I am trying to install using the following. Can someone suggest what is wrong? I am using Windows 7 64bit, and R 2.10.1 ('C:\Users\Bill\Desktop\DMwR_0.2.1.zip', repos=NULL ) Warning in install.packages("C:UsersBillDesktopDMwR_0.2.1.zip", repos = NULL) :   argument 'lib' is missing: using 'C:\

[R] experimenting (like Weka Experimenter)

2011-10-04 Thread William Claster
Hi. I am not that good at R but I was wondering if there is either a tool or a strategy for testing many different models in R in a batch. I have used something in Weka called the Experimenter interface which helps with doing this kind of thing. Thank you. Andy [[alternative HTML versio