Displaying 20 results from an estimated 4000 matches similar to: "getting panel.loess to use updated version of loess.smooth"
2010 Oct 19
3
scatter.smooth() fitted by loess
Hi there,
I would like to draw a scatter plot and fit a smooth line by loess.
Below is the data.
However, the curve line started from 0, which my "resid" list doesn't
consist of 0 value.
It returned some warnings which I don't know if this is the reason
affecting such problem. Here I also attached the warning messages.
Please let me know if there is a solution to fix this. Thank
2006 Jul 07
1
LOESS (PR#9064)
Hello,
I found a little BUG in loess <stats>. It does not receive the iterations
parameter.
It can be debugged in the following way:
THIS IS AN EXCERPT FROM THE CODE:
....
fit <- simpleLoess(y, x, w, span, degree, parametric, drop.square,
normalize, control$statistics, control$surface, control$cell,
iterations, control$trace.hat)
Replace argument iterations with
2011 Jun 11
1
Is there an implementation loess with more than 4 parametric predictors or a trick to similar effect?
Dear R experts,
I have a problem that is a related to the question raised in this earlier
post
https://stat.ethz.ch/pipermail/r-help/2007-January/124064.html
My situation is different in that I have only 2 predictors (coordinates x,y)
for local regression but a number of global ("parametric") offsets that I
need to consider.
Essentially, I have a spatial distortion overlaid over a
2008 Feb 25
1
r44608 fails make check-all in scatter.smooth example
Dear List,
Having had my appetite sufficiently whetted by Prof. Ripley's email
about the new graphics capabilities in Unixes, I wanted to try them out.
I updated to svn r44608, configured with the following options:
R is now configured for x86_64-unknown-linux-gnu
Source directory: ..
Installation directory: /usr/local
C compiler: gcc -O3 -g -std=gnu99
2004 Apr 09
1
loess' robustness weights in loess
hi!
i want to change the "robustness weights" used by loess. these
are described on page 316 of chambers and hastie's "statistical models in S"
book as
r_i = B(e_i,6m)
where B is tukey's biweight function, e_i are the residulas, and m is the
median average distance from 0 of the residuals. i want to
change 6m to, say, 3m.
is there a way to do this? i cant
2011 Jun 16
0
Update: Is there an implementation of loess with more than 3 parametric predictors or a trick to a similar effect?
Dear R developers!
Considering I got no response or comments in the general r-help forum
so far, perhaps my question is actually better suited for this list? I
have added some more hopefully relevant technical details to my
original post (edited below).
Any comments gratefully received!
Best regards,
David Kreil.
----------
Dear R experts,
I have a problem that is a related to the question
2007 Feb 05
1
Build error with last R-devel tarball
Hi,
On Windows, with last R-devel tarball (r40647) from
ftp://ftp.stat.math.ethz.ch/Software/R/R-devel_2007-02-04.tar.gz
I get the following build error:
E:\biocbld\bbs-2.0-bioc\R\src\gnuwin32> make
...
...
---------- Making package utils ------------
adding build stamp to DESCRIPTION
installing NAMESPACE file and metadata
installing R files
Error in namespaceExport(ns, exports) :
2003 Dec 25
3
Problem plotting with xyplot
Hi all,
I am just learning R and I am trying to work through the book "Applied
Longitudinal Data Analysis" by Singer & Willett. I have some code for this book
that supposedly works in S-Plus (I don't have S-Plus so I can't verify that) and
I am trying to run the examples in R. Most of the examples run, but I have
one plot that gives me an error message. I have
2008 Apr 29
4
Applying user function over a large matrix
Respected R experts,
I am trying to apply a user function that basically calls and
applies the R loess function from stat package over each time
series. I have a large matrix of size 21 X 9000000 and I need
to apply the loess for each column and hence I have
implemented this separate user function that applies loess
over each column and I am calling this function foo as follows:
2006 Jul 07
0
User Error (was LOESS (PR#9064))
Please do as we ask (repeatedly) and study the help page before posting.
'family' is a separate argument, not part of loess.control, as the help
page correctly documents. If you use
cars.lo2 <- loess(dist ~ speed, cars, family = "symmetric",
control = loess.control(surface = "direct", iterations = 20))
cars.lo2$pars$iterations
it prints *20*, as it is
2008 Jul 08
1
R crash with ATLAS precompiled Rblas.dll on Windows XP Core2 Duo
I noticed a problem using R 2.7.1 on Windows XP SP2 with the precompiled
Atlas Rblas.dll. Running the code below causes R to crash. I started R
using Rgui --vanilla and am using the precompiled Atlas Rblas.dll from
cran.fhcrc.org dated 17-Jul-2007 05:04 for Core2 Duo.
The code that causes the crash:
x <- rnorm(100)
y <- rnorm(100)
z <- rnorm(100)
loess(z ~ x * y)
loess(z ~ x) does
2000 Mar 28
1
loess.smooth dumps core
Has the loess.smooth() function changed? It used to work, but now it causes R
to abort with a segmentation fault. I stole the function points.lines() from
V&R 1st ed. pp. 67--68, but now it only works if I remove the line with
loess.smooth. Here's the function I'm using:
points.lines <- function(x, y, ...)
{
cor1 <-round(cor(x, y, use="pairwise"), digits=2)
2001 Aug 06
1
panel.loess
Hi,
I'm not sure what the recommended thing to do here would be:
In the lattice library, panel.loess needs to use loess.smooth(), which is
in the modreg library. Now should I
(1) make lattice depend on modreg, and call require(modreg) in zzz.R
OR
(2) use autoload("loess", "modreg")
I like the second option better, as a particular session might not need
panel.loess.
2010 Feb 07
2
predicting with stl() decomposition
Hi mailinglist members,
I’m actually working on a time series prediction and my current approach is
to decompose the series first into a trend, a seasonal component and a
remainder. Therefore I’m using the stl() function. But I’m wondering how to
get the single components in order to predict the particular fitted series’.
This code snippet illustrates my problem:
series <-
2011 Jun 11
0
Is there an implementation of loess with more than 3 parametric predictors or a trick to a similar effect? [re-posting as plain text to pass char-set filter]
Dear R experts,
I have a problem that is a related to the question raised in this earlier post
??? https://stat.ethz.ch/pipermail/r-help/2007-January/124064.html
My situation is different in that I have only 2 predictors
(coordinates x,y) for local regression but a number of global
("parametric") offsets that I need to consider.
Essentially, I have a spatial distortion overlaid over a
2010 Apr 29
3
control span in panel.loess in xyplot
Dear R gurus..
Is it possible to control span settings for different values of a grouping
variable, when using xyplot? an example code shown below
d=data.frame(x=rep(sample(1:5,rep=F),10),y=rnorm(50),z=rep(sample(LETTERS[1:2],rep=F),25))
xyplot(y~x,data=d,groups=z,panel=panel.superpose,panel.groups=panel.loess(span=c(2/3,
3/4,1/2))
or something like..
2010 Sep 29
1
Obtaining lattice equivalent smoothed (loess) plot in ggplot
Hello,
I have been struggling to do a plot in ggplot(2) that's of lattice equivalent. The following code shows the lattice plot.
2013 Jan 18
1
lattice: loess smooths based on y-axis values
Hi there,
I'm using the lattice package to create an xy plot of abundance vs. depth for 5 stages of barnacle larvae from 5 species. Each panel of the plot represents a different stage, while different loess smoothers within each panel should represent different species.
However, I would like depth to be on the y-axis and abundance to be on the x-axis, because this is more intuitive as an
2009 Nov 19
1
loess smoothing
Hello,
In reading the loess description I see:
span: the parameter alpha which controls the degree of smoothing.
The default seems to be 0.75. Would it be possible to expand on this decription so I can avoid trail and error? Can I increase this pass 'span' > 1? Qualitatively to what degree changing this value affects the smoothing of the data?
Thank you.
Kevin
2023 Mar 23
1
loess plotting problem
Thanks, John.
However, loess.smooth() is producing a very different curve compared to the
one that results from applying predict() on a loess(). I am guessing they
are using different defaults. Correct?
On Thu, 23 Mar 2023 at 20:20, John Fox <jfox at mcmaster.ca> wrote:
> Dear Anupam Tyagi,
>
> You didn't include your data, so it's not possible to see exactly what
>