search for: zappo

Displaying 3 results from an estimated 3 matches for "zappo".

Did you mean: zappa
2006 Oct 13
2
bug: Editing function formals deletes the environment
First, here's the specific bug I have. Later I'll say why I care. > ls(zappo) Error in try(name) : object "zappo" not found # good. > f = function(zappo) { function(y) zappo + y } > g = f(1) > g(1) [1] 2 > formals(g) $y > formals(g)$y > formals(g)$y = 2 > g function (y = 2) zappo + y > g(1) Error in g(1) : object "zappo"...
2005 Jul 21
3
vectorising ifelse()
Hi All, is there any chance of vectorising the two ifelse() statements in the following code: for(i in gp){ new[i,1] = ifelse(srow[i]>0, new[srow[i],zippo[i]], sample(1:100, 1, prob =Y1, rep = T)) new[i,2] = ifelse(drow[i]>0, new[drow[i]>0,zappo[i]], sample(1:100, 1, prob =Y1, rep = T)) } Where I am forced to check if the value of drow and srow are >0 for each line... in practical terms, I am attributing haplotypes to a pedigree, so I have to give the haplotypes to the parents before I give them to the offspring. The vectors *zippo* a...
2009 Nov 03
2
DNS log file question
...client 174.88.12.107#60140: query (cache) 'www.warehousedeals.com/A/IN' denied Nov 3 12:30:43 inet04 named[18110]: client 174.88.12.107#60140: query (cache) 'www.warehousedeals.com/A/IN' denied Nov 3 12:30:45 inet04 named[18110]: client 174.88.12.107#60147: query (cache) 'www.zappos.com/A/IN' denied Nov 3 12:30:45 inet04 named[18110]: client 174.88.12.107#60147: query (cache) 'www.zappos.com/A/IN' denied Nov 3 12:30:53 inet04 named[18110]: client 174.88.12.107#60156: query (cache) 'www.flipkart.com/A/IN' denied Nov 3 12:30:53 inet04 named[18110]: client...