search for: ffrowapply

Displaying 2 results from an estimated 2 matches for "ffrowapply".

2009 Apr 03
1
bigglm "update" with ff
Hi, since bigglm doesn't have update, I was wondering how to achieve something like (similar to the example in ff package manual using biglm): first <- TRUE ffrowapply ({ if (first) { first <- FALSE fit <- bigglm(eqn, as.data.frame(bigdata[i1:i2,,drop=FALSE]), chunksize = 10000, family = binomial()) } else { fit <- update(fit, as.data.frame(bigdata[i1:i2,,drop=FALSE]), chunksize = 10000, family = binomial()) } }, X=bigdata, VERBOSE = TRUE...
2007 Nov 02
0
applying duplicated, unique and match to lists?
...names(x)[MARGIN] } }else{ i <- id(x, fromLast = fromLast, hashFUN=hashFUN) } i } # xx this is yet without a final identity check agains md5 collisions # row identity for ff and R matrices (less overhead compared to id.ff via ffapply ) ffrowid <- function(x, ...){ id(ffrowapply(x, apply(x[i1:i2,,drop=FALSE], 1, md5), return="unlist", use.names=FALSE, ...)) } if (FALSE){ a <- ff(0, dim=c(100000,10),dimorder=2:1) ffapply(a, a[i1:i2]<-runif(i2-i1+1)) r <- ffrowhash(a) } if (FALSE){ n <- 100000 m <- 10 x <- ff(0, dim=c(n,m)) x[,dim...