[Rd] do_optimhess vs. fdHess ...

2004-07-03 Thread Ben Bolker
for its design, but I don't see any explanations lurking in the do_optimhess code ...) [this is in R 1.9.0, but I don't see anything in the NEWS file for 1.9.1 that indicates anything has changed ...] thanks, Ben Bolker __ [EMAIL

Re: [Rd] overhaul of mle

2004-06-14 Thread Ben Bolker
Hmmm. I'm still struggling with this a little bit. I do now see, I guess, how to use lexical scoping to get the same thing accomplished as mll <- function(p1,p2,p3,data1,data2,data3) [although it still seems like the long way around]. Peter, I appreciate why you're trying to define things this

Re: [Rd] overhaul of mle

2004-06-11 Thread Ben Bolker
Peter Dalgaard wrote: Ben Bolker <[EMAIL PROTECTED]> writes: *** Changed type of fullcoef from "numeric" to "list", and return fullcoef rather than unlist(fullcoef) from mle [couldn't see a rationale for this -- it destroys a lot of the information in fullcoef

[Rd] overhaul of mle

2004-06-10 Thread Ben Bolker
some of the code could be improved, especially in issues relating to eval() -- I'm not very good at that stuff. I apologize for changing so much at once, I got kind of carried away. I look forward to comments on the various bits & pieces ... Ben Bolker *** = changes d

[Rd] bad interaction between RandomFields 1.1.11 and Sweave

2004-05-11 Thread Ben Bolker
uggest testing interactive() to see if the code was running in batch mode or not, but I just tried that with Sweave() and it thinks that interactive() is TRUE when running Sweave. Oh well. Any one else have a solution? Ben Bolker -- 620B Bartram Hall[EMAIL PROTEC

[Rd] mle

2004-05-06 Thread Ben Bolker
is beyond "R-core" ... if whoever's working on it would like to take me up on the offer, can you let me know? Ben Bolker -- 620B Bartram Hall[EMAIL PROTECTED] Zoology Department, University of Floridahttp://www.zoo.ufl.edu/bolker Box 118525

Re: [Rd] proposal for "strict" versions of subsetting operators

2003-10-28 Thread Ben Bolker
1,100,by=4) which will not put the answers where they want them. Nevertheless, this is a trap my students fall into. I can imagine that implicit floor() is convenient, which is why I was suggesting this "feature" as an option, FALSE by default -- similar to the check.bounds option.

Re: [Rd] proposal for "strict" versions of subsetting operators

2003-10-28 Thread Ben Bolker
hough ExtractSubset in subset.c might be the place to do this ... Ben Bolker -- 620B Bartram Hall[EMAIL PROTECTED] Zoology Department, University of Floridahttp://www.zoo.ufl.edu/bolker Box 118525 (ph) 352-392-5697 Gainesvill

[Rd] Re: [R] R - S compatibility table (fwd)

2003-10-20 Thread Ben Bolker
cinct list of these differences, with a disclaimer ... I would be willing to maintain such a list, but since I don't ever use S-PLUS it would be a little bit hard ... http://www.math.uwaterloo.ca/~dbabinea/webpage/function.htm gives a few differences. Ben Bolker -- 620B Bartram Hall

[Rd] extending boxplot with space() argument?

2003-09-11 Thread Ben Bolker
A student asked me if it was possible to draw boxplots where the boxes themselves were grouped: I was able to hack boxplot.formula() to do the right thing, more or less, by incorporating an argument (space) and some code from barplot. with the extended boxplot.formula() below, the following

Re: [Rd] CRAN scripts?

2003-03-04 Thread Ben Bolker
ple prefer more, smaller bits on CRAN? Ben On Tue, 4 Mar 2003, Dirk Eddelbuettel wrote: > On Tue, Mar 04, 2003 at 11:39:51AM -0500, Ben Bolker wrote: > > do people think that I should bite the bullet and submit my packages to > > CRAN instead? > > Yes please

[Rd] CRAN scripts?

2003-03-04 Thread Ben Bolker
ed by CRAN maintainers to generate the PACKAGES file, and to generate PACKAGES.html from PACKAGES. Are those something that could be made available? Or do people think that I should bite the bullet and submit my packages to CRAN instead? Ben Bolker -- 318

[Rd] RE: [R] barplot default colors

2003-02-05 Thread Ben Bolker
[Taking this to R-devel] > In the danger of taking this a bit off-topic, are there any "guidelines" on > what aspect of R should and should not be compatible with Splus? barplot() > in Splus does not use varying colors for the bars by default. Meanwhile, > lattice uses the gray background /

Re: [Rd] help page for anova.glm/variation between S-PLUS and Rbehavior

2003-01-27 Thread Ben Bolker
gument. > > On Mon, 27 Jan 2003, Ben Bolker wrote: > > > > >When using test="F" in stat.anova() / anova.glm(), R uses the assumed > > dispersion parameter for the specified family (e.g. scale=1 for binomial), > > while S-PLUS automatically uses the

[Rd] help page for anova.glm/variation between S-PLUS and R behavior

2003-01-27 Thread Ben Bolker
imated dispersion for F-tests even for the binomial and Poisson families: see ?quasibinomial.)" ? Ben Bolker -- 318 Carr Hall[EMAIL PROTECTED] Zoology Department, University of Floridahttp://www.zoo.ufl.edu/bolker Box 118525

Re: [Rd] rmultinom() -- how \\ via own C code?

2003-01-27 Thread Ben Bolker
I use multivariate random values frequently -- multinomial (using code contributed to the R-list by Ian Wilson), Dirichlet (using ratios of gamma/sum(gamma)), multivariate normal (using mvrnorm() from MASS, which I wish were called rmvnorm instead!) I have functions for them in some of my home-