search for: anopheles123

Displaying 4 results from an estimated 4 matches for "anopheles123".

2011 Aug 30
0
Problem resolved: thanks! RE: column names with rbind loop
...It does so by default. It needs to have some sort of character vector to use, so if there is none, it makes up names. I don't understand why you didn't use, ... header =TRUE, for both read operations. -- David. > > > ________________________________________ > From: Weidong Gu [anopheles123 at gmail.com] > Sent: Tuesday, August 30, 2011 12:00 PM > To: Vining, Kelly > Cc: r-help at r-project.org > Subject: Re: [R] column names with rbind loop > > How about to add a conditional statement to get the header from 1st > file > > for(i in all.files) { > if (i==a...
2011 Jul 13
3
adding text to spplot
hi all, I have a plot to which i would like to add text labels. And i cant find a way...here is the code : enaD2<-idw(D2~1, loca=dva, newdata=grd) pts = list("sp.points", dva, pch = 20, cex=1.5, col = "darkred spplot(enaD2, "var1.pred",sp.layout=pts, main = "globina 60 cm", sub="D2",
2011 Nov 26
3
Question about randomForest
I've been using the R package randomForest but there is an aspect I cannot work out the meaning of. After calling the randomForest function, the returned object contains an element called prediction, which is the prediction obtained using all the trees (at least that's my understanding). I've checked that this prediction set has the error rate as reported by err.rate. However, if I
2011 Jul 19
2
strang behaviour of mice package
I am using mice package for multiple imputation. For one data (attached), mice doesn't impute all missing values. Specifically, some variables were not imputed at all. the reproducible code library(mice) test.df<-read.table(c:\\test.txt',header=T,sep=',') mi<-mice(test.df,maxit=10,m=5) sum(is.na(complete(mi,1))) >129 and x41, x50... were not imputed at all. Any