Displaying 5 results from an estimated 5 matches for "ducan".
Did you mean:
duncan
2007 Jan 28
2
reposTools
Dear List,
I tested the example in the reposTools vignette:
library(reposTools);
Loading required package: tools
genRepos("Test
Repository", "http://biowww.dfci.harvard.edu/~jgentry/","newRepos");
Error in rep.int(colnames(x), nr) : unimplemented type 'NULL' in 'rep'
Could someone help me out with this one?
I'd appreciate all help....
I am
2010 Nov 23
3
how to update my own function
Hello all,
I wrote a function with many arguments. Then I need to call it many times
with changes on some arguments only. Is there any way to write a function or
have a method to "update" it, like the relationship between lm() and
update()?
Many thanks,
Edwin Sun
------------
This is the sample code.
> test <- function(y, z) {
+ x <- y +1
+ w <- z * 2
+ result
2011 Dec 23
2
Custom XML Readers
I need to construct a custom XML reader, the files I'm working with are in
funky XML format:
<str name="author">Paul H</str>
<str name="country">USA</str>
<date name="created_date">2010-02-16</date>
I want to read the file so it looks like:
author = Paul H
country = USA
created_date=2010-02-16
Does any one know how to
2006 Dec 09
7
Simulation with R
An apparatus exists whereby a collection of balls is displaced to the
top of a stack by suction. A top level (Level 1) each ball is shifted
1 unit to the left or 1 unit to the right at random with equal
probability. The ball then drops down to level 2. At Level 2, each
ball is again shifted 1 unit to the left or 1 unit to the right at
random. The process continues for 15 levels and the balls are
2023 Dec 17
2
[External] Re: zapsmall(x) for scalar x
I think what's been missed is that zapsmall works relative to the absolute
largest value in the vector. Hence if there's only one
item in the vector, it is the largest, so its not zapped. The function's
raison d'etre isn't to replace absolutely small values,
but small values relative to the largest. Hence a vector of similar tiny
values doesn't get zapped.
Maybe the line