search for: milborrow

Displaying 17 results from an estimated 17 matches for "milborrow".

2008 Oct 25
1
0 ^ NaN == Inf, why?
...008-10-20) i386-pc-mingw32 locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base Steve Milborrow www.milbo.users.sonic.net
2011 Jun 26
2
Issue with dataset inclusion in CRAN packages
I was glad to see the new rpart.plot package by Stephen Milborrow. I was however a bit concerned that Stephen distributed a dataset I created, and renamed the dataset (from titanic3 to ptitanic) in the process [with some justification, as some variables were omitted]. Fortunately Stephen included the script he used to download the dataset from our web site, and...
2015 Jun 26
1
[R-pkg-devel] Guidelines for S3 regression models
...ion match. Then Wald tests can be easily computed in functions like car::linearHypothesis(), car::deltaMethod(), lmtest::waldtest(), or lmtest::coeftest(). Thanks & best wishes, Achim > http://www.milbo.org/doc/modguide.pdf > > Your comments would be appreciated. > > Stephen Milborrow > > ______________________________________________ > R-package-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel > >
2008 Oct 25
1
R echoes integer literals incorrectly, under certain conditions (PR#13204)
Full_Name: Stephen Milborrow Version: R 2.8.0 OS: Windows XP Submission from: (NULL) (81.159.65.46) Under certain conditions, R 2.8.0 incorrectly echoes integer literals without the "L" suffix. R 2.7.2 is ok. To reproduce, create two files as follows: a.R containing: source("b.R", echo=TRUE) b.R contain...
2011 Jul 29
3
help with plot.rpart
...search/boston.csv", , sep=",", header = TRUE) ? library(rpart) ? fit=rpart (MV~ CRIM+ZN+INDUS+CHAS+NOX+RM+AGE+DIS+RAD+TAX+ PT+B+LSTAT) Please: Show me the tree. Mark -------- Original Message -------- Subject: Re: [R] help with rpart From: "Stephen Milborrow" <[1]milbo at sonic.net> Date: Fri, July 29, 2011 7:54 am To: <[2]mark at statcourse.com> Cc: <[3]sarah.goslee at gmail.com> Mark, check out my rpart.plot package. See also the PDF vignette that comes with the package. Steve [4]www.milbo.users.sonic.net...
2007 May 10
0
New package "earth"
...+ 5.7 * pmax(0, Girth - 13) - 2.9 * pmax(0, 13 - Girth) + 0.72 * pmax(0, Height - 76) Number of cases: 31 Selected 4 of 5 terms, and 2 of 2 predictors Number of terms at each degree of interaction: 1 3 (additive model) GCV: 11 RSS: 213 GRSq: 0.96 RSq: 0.97 Regards, Stephen Milborrow _______________________________________________ R-packages mailing list R-packages at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-packages
2007 May 10
0
New package "earth"
...+ 5.7 * pmax(0, Girth - 13) - 2.9 * pmax(0, 13 - Girth) + 0.72 * pmax(0, Height - 76) Number of cases: 31 Selected 4 of 5 terms, and 2 of 2 predictors Number of terms at each degree of interaction: 1 3 (additive model) GCV: 11 RSS: 213 GRSq: 0.96 RSq: 0.97 Regards, Stephen Milborrow _______________________________________________ R-packages mailing list R-packages at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-packages
2007 Aug 29
1
Modifying R_CheckStack for a speed increase
Greetings R developers, R will run a little faster when executing "pure R" code if the function R_CheckStack() is modified. With the modification, the following code for example runs 15% faster (compared to a virgin R-2.5.1 on my Windows XP machine): N = 1e7 foo <- function(x) { for (i in 1:N) x <- x + 1 x }
2008 Jan 16
0
Just-in-time compiler for R
...nb) ab[i + j] <- ab[i + j] + a[i] * b[j] The loop will run about 30% faster. That's not much of a speedup, but the code is still in early development and the figure will get much better. If you are interested there is more information at www.milbo.users.sonic.net/ra. Stephen Milborrow www.milbo.users.sonic.net
2008 Oct 25
0
R echoes integer literals incorrectly, under certain conditions (PR#13205)
On 25/10/2008 10:45 AM, milbo at sonic.net wrote: > Full_Name: Stephen Milborrow > Version: R 2.8.0 > OS: Windows XP > Submission from: (NULL) (81.159.65.46) > > > Under certain conditions, R 2.8.0 incorrectly echoes integer literals without > the "L" suffix. R 2.7.2 is ok. > > To reproduce, create two files as follows: > a.R containi...
2011 Mar 13
1
Excited about the near future...
Some already know, but I think it deserves a bit of a attention here as well: It looks like we're about to get new features in R that will be very powerful! That should be a good enough teaser for now... /Henrik PS ...and thanks for making it available plus credits to similar efforts by others.
2011 Apr 14
0
Postscript can be very slow in R 2.13-0
...bo.org/postscript/slow-postscript.R This is not exactly a bug, but is it a known issue? The hack used to produce fast.ps above is fragile and not suitable for regular use. Is there a option to the postscript() function (or could one be added) that would sacrifice sRGB support for speed? Stephen Milborrow www.milbo.users.sonic.net Version info: I'm using GSview 4.9 and Ghostscript 8.64. > R.version _ platform x86_64-pc-mingw32 arch x86_64 os mingw32 system x86_64, mingw32 status major 2 minor 13.0 year 2011 mont...
2011 Jul 21
1
Error: bad index in plotmo functions for MARS model (package earth)
Hello all useRs, I am tring make a simple surface plot ( 2 by 2 terms of a MARS model (with earth package) but I get the follow error message: > plotmo( mars ) Error: bad index (missing column in x?) I don't no how to workround this... :-( I thanks in advanced by some help! Thanks. Cleber ############### > > ### example code: > library( earth ) > data( gasoline,
2011 Aug 25
2
rpart: plot without scientific notation
While I'm very pleased with the results I get with rpart and rpart.plot, I would like to change the scientific notation of the dependent variable in the plots into integers. Right now all my 5 or more digit numbers are displayed using scientific notation. I managed to find this: http://tolstoy.newcastle.edu.au/R/e8/help/09/12/8423.html but I do not fully understand what to change, and to
2013 Nov 08
2
Earth (MARS) package with categorical predictors
It appears to be legitimate to include multi-level categorical and continuous variables in defining the model for earth (e.g. y ~ cat + cont1 + cont2) but is it also then possible use categoricals in the predict method using the earth result? I tried but it returns an error which is not very informative. Thanks Chris
2008 Apr 12
4
HOW TO AVOID LOOPS
> Looking for a simple, effective a minimum execution time solution. > > For a vector as: > > c(0,0,1,0,1,1,1,0,0,1,1,0,1,0,1,1,1,1,1,1) > To transform it to the following vector without using any loops: > (0,0,1,0,1,2,3,0,0,1,2,0,1,0,1,2,3,4,5,6) > Appreciate any suggetions. [[alternative HTML version deleted]]
2011 Mar 14
0
selection of hinge function with restrictions, machine learning, earth package,
On 2011-01-27 14:22, Rasti Matus wrote: > I have a few questions regarding machine learning packages in R, > e.g. earth package ... > > 1) How could I force the algorithm to generate knots only with > values < 90 for variable doy? Not possible in the current implementation. In principle it would be possible to extend earth so the user-defined "allowed" function