Displaying 20 results from an estimated 6000 matches similar to: "Error in ?lowess"
2001 Oct 23
1
lowess C code
Hi,
I understand that the core of lowess() function is written in C.
Is the C source code available and if yes, how can I get to it?
I want to write a multidimensional extension of lowess() if you know of
anybody who has implemented this already I would greatly appreciate any
references or pointers.
thank you very much,
pawel
2008 May 20
1
S4 generic for lowess
Hi,
A lowess method is defined in our package for one of our S4 classes. To
explicitely define the generic this is being used
if (!isGeneric("lowess"))
setGeneric("lowess", useAsDefault = lowess)
This works fine for many other methods inherited from various R
packages. In this case a warning is issued in R CMD check:
* checking R code for possible problems ... NOTE
2006 Oct 12
3
Bug in lowess
x <- c(0,7,8,14,15,120,242)
y <- c(122,128,130,158,110,110,92)
lowess(x,y)
$x
[1] 0 7 8 14 15 120 242
$y
[1] 122.0000 128.0000 132.2857 158.0000 110.0000 -4930.0000
110.0000
R version 2.2.1, 2005-12-20, i486-pc-linux-gnu
attached base packages:
[1] "methods" "stats" "graphics" "grDevices" "utils"
2004 Jan 21
1
Please make lowess() generic (was: Reorganization of packages in the R distribution)
As I've mentioned a number of times. I find it very useful to have lowess()
become a generic function so that a lowess.formula() can be defined.
Below is a patch that makes both changes, as well as updating the
corresponding help documentation.
Gregory R. Warnes
Manager, Non-Clinical Statistics
Pfizer Global Research and Development
Tel: 860-715-3536
? DESCRIPTION
? Makefile
?
2001 Mar 12
2
residuals from lowess fit
Colleagues
----------------------------------
System info:
R version rw1022 on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I would like to access the residuals from a lowess fit (function lowess() )
as an aid to assessing whether I am over-smoothing or under-smoothing
a dataset (as in Cleveland's book "Visualizing data", section 3.3)
Unless I
2003 Nov 26
1
lines(lowess()) trouble
hi: apologies for taking up everyone's time. my problem is probably
documented somewhere, but I again cannot find it. (which reminds me: I cannot
find a search engine that allows me to search the archives of this very useful
mailing list.)
* it seems that lines(lowess()) fails to plot certain line segments. (and,
what does it do at the x-min and x-max of a data set?) Rather than
2003 Apr 10
3
A Question on lowess() function
Hi, all,
I want to use lowess(x, y) where x and y are vectors of length of 4000+. In
fact, x and y are log of some vectors. So, some of the elements are NaN.
lowess() can not take away those elements then do the fitting. It will give
the error message and do nothing.
1. Can anybody tell me how to get rid of those NaN's and use lowess()?
2. How to get the LOWESS fitting values for any
2008 Aug 05
2
95% CI bands on a Lowess smoother
Hi there,
I'm plotting some glass RI values just by plotting
plot(x)
then I put on my lowess smoother
lines(lowess(x))
now I want to put on some 95% Confidence Interval bands of the lowess
smoother, but don't know how??
Thanks
--
Gareth Campbell
PhD Candidate
The University of Auckland
P +649 815 3670
M +6421 256 3511
E gareth.campbell@esr.cri.nz
gcam032@gmail.com
[[alternative
2001 Dec 08
1
lowess() as a generic function
Hi All,
I've been providing a generic version of lowess() in my 'gregmisc' library,
along with a 'lowess.formula' and 'lowess.default'.
Can/should these be moved into base?
-Greg
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else
2012 Sep 24
2
add lowess predicted line to scatter plot
Hi,
I have a scatter plot of the variables GNI and Lifeexp (Gross National
Income and Life Expectancy, both metric). So I plotted them and I want to
add a regression line and a lowess line. I use lowess and not loess because
I have missing values. My code:
plot(GNI,Lifeexp)
abline(lm(Lifeexp~GNI), col="red")
y.loess<-loess(Lifeexp~GNI,na.
action = na.exclude)
2009 Feb 02
1
xyplot with lowess curves
I am trying to change the attributes of the lowess lines fit to an
xyplot command, but have been unsuccessful in my search of the online
help. Right now, both the points and lowess line come out in the same
color (blue). I am unsure how I can change the properties of the lowess
line separately.
xyplot (
SnowLineElevation ~ Year | Model,
data = data,
ylim = c(0,1800),
type =
2011 Jun 04
1
nonparametric logistic regression based on locally weighted scatterplot smoothing (lowess)
Dear UseRs:
Recently, I have read an article regarding the association between age and
lymph node metastases.
http://jco.ascopubs.org/content/27/18/2931.long
In statistical analysis, the authors stated "Because a nonlinear
relationship between age and lymph node involvement was expected based on
existing literature, lymph node involvement was also regressed on age using
nonparametric
2010 Nov 22
1
how to sample lowess/loess into matrix ?
code:
x <- rnorm(32)
y <- rnorm(32)
plot(x,y)
lines(lowess(x,y),col='red')
Now I need to sample the lowess function into matrix where one series will
be X and other will be values of lowess at particular X.
--
View this message in context: http://r.789695.n4.nabble.com/how-to-sample-lowess-loess-into-matrix-tp3053458p3053458.html
Sent from the R help mailing list archive at
2006 Jan 04
5
multiple lowess line in one plot
I'm using this code to plot a smoothed line. These two columns of data
really represent 4 groups and I'd like to plot a separate line for each
group but have them all in the same plot. The R-Docs for lowess do not
seem to indicate some type of "GROUPS=var_name" option. What would be
the syntax for this?
plot(AWGT ~ lipid )
lines(lowess(lipid , AWGT, f=.8))
--
Dean
2012 Sep 10
1
lowess regression
Dear all,
please do you have any recommendation about a more advanced function in R
for lowess/loess regression ?
the basics lowess() or loess() do not perform as well as I would expect.
thanks very much,
Bogdan
[[alternative HTML version deleted]]
2003 Mar 27
2
Na action with Lowess smoothing
Hi there,
I cant seem to find a way for the lowess smoothing function to handle "NA"
values.
Can anyone help??
Regards,
Wayne
Dr Wayne R. Jones
Statistician / Research Analyst
KSS Group plc
St James''s Buildings
79 Oxford Street
Manchester M1 6SS
Tel: +44(0)161 609 4084
Mob: +44(0)7810 523 713
KSS Ltd
A division of Knowledge Support Systems Group plc
Seventh Floor St
1999 Jan 28
1
NAs spoil lowess smoothing
Can anyone explain to me what this error message means, why I'm getting it, and
how to fix it?
lines(lowess(xdat, ydat, f=.5), col=3)
Error: NAs in foreign function call (arg 1)
______________________________________________________________________
Stuart Luppescu -=-=- University of Chicago
ºÍʸ ¤ÈÃÒÆàÈþ¤ÎÉã(EUC) -=-=- s-luppescu at uchicago.edu
2005 Apr 14
2
use the source code in my own c code
Hi there,
I am trying to use the source code for lowess (lowess.c in the src\appl
directory of R sources).
The problem is that some other files are included in lowess.c that I
don't know where to find them!
Any idea what I need to do to get able to use the source code?
Thanks in advance,
Mehrnoush
[[alternative HTML version deleted]]
2006 Sep 08
1
Confidence intervals on Lowess (eg SiZer from J.S.Marron)
Hi,
I have some very noisy, relatively sparse data; a biological response of
roughly
~8 subjects at ~8 times points). I've been following the data trend using a
lowess
line, over-plotted with several values of bandwidth, 'f <- seq(0.3, 0.9,
by=0.1)'.
At this point, we have no models for these data.
I wonder if there is any way under R to assign some sort of confidence
interval to
2003 Nov 26
1
re: lines(lowess())
beginner's mistake on my part. the fitted turned out to have negative values
in it, so the logplot failed. apologies.
it still would be nice to have more docs on lowess, but this has nothing to do
with my question.
regards, /iaw