Displaying 7 results from an estimated 7 matches for "plotmo".
Did you mean:
ploteo
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, package='pls' )
>
> nir <- gasoline$NIR
>...
2011 Sep 14
1
substitute games with randomForest::partialPlot
I'm having trouble calling randomForest::partialPlot programmatically.
It tries to use name of the (R) variable as the data column name.
Example:
library(randomForest)
iris.rf <- randomForest(Species ~ ., data=iris, importance=TRUE, proximity=TRUE)
partialPlot(iris.rf, iris, Sepal.Width) # works
partialPlot(iris.rf, iris, "Sepal.Width") # works
(function(var.name)
2015 Jun 26
1
[R-pkg-devel] Guidelines for S3 regression models
...unnecessary burden on the user when both data.frames and matrices can
> easily be supported by predict.
>
> To mitigate such issues, I'm going out on a limb and presenting some
> guidelines for writers of S3 regression model functions (this document
> is currently part of the plotmo package):
I think this is a nice and useful starting point. It's probably not
comprehensive (yet) but will surely help.
You could add something more about writing the formula interface and the
correct processing of model.frame, terms, model.response, model.matrix,
model.weights, model.offs...
2007 May 10
0
New package "earth"
The "earth" package is now available on CRAN.
Earth builds models using Friedman's MARS.
Earth's principal advantages over the existing function mda::mars are that
it is much faster and provides plotting and printing methods. The general
purpose model plotting function "plotmo" may also be useful to people who
are not interested in earth itself.
Example:
> a <- earth(Volume ~ ., data = trees)
> summary(a, digits = 2)
Call:
earth(formula = Volume ~ ., data = trees)
Expression:
23
+ 5.7 * pmax(0, Girth - 13)
- 2.9 * pmax(0, 13 - Girth)
+ 0.72...
2007 May 10
0
New package "earth"
The "earth" package is now available on CRAN.
Earth builds models using Friedman's MARS.
Earth's principal advantages over the existing function mda::mars are that
it is much faster and provides plotting and printing methods. The general
purpose model plotting function "plotmo" may also be useful to people who
are not interested in earth itself.
Example:
> a <- earth(Volume ~ ., data = trees)
> summary(a, digits = 2)
Call:
earth(formula = Volume ~ ., data = trees)
Expression:
23
+ 5.7 * pmax(0, Girth - 13)
- 2.9 * pmax(0, 13 - Girth)
+ 0.72...
2008 Jun 12
1
Problems with mars in R in the case of nonlinear functions
Hi,
I'm trying to use mars function in R to interpolate nonlinear
multivariate functions.
However, it seems that mars gives me a fit which uses only very few
basis function and
it underfits very badly.
For example, I have tried the following code to test mars:
require("mda")
f <- function(x,y) { x^2-y^2 };
#f <- function(x,y) { x+2*y };
# Grid
x <-
2012 Apr 15
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* disclapmix (0.1)
Maintainer: Mikkel Meyer Andersen
Author(s): Mikkel Meyer Andersen and Poul Svante Eriksen
License: GPL-2
http://crantastic.org/packages/disclapmix
disclapmix makes inference in a mixture of Discrete Laplace
distributions using the EM algorithm.
* EstSimPDMP (1.1)
Maintainer: Unknown
Author(s):