search for: lowess

Displaying 20 results from an estimated 182 matches for "lowess".

Did you mean: lowest
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 ? M...
2004 Jan 21
0
Please make lowess() generic (was: Reorganization of pac kagesin the R distribution)
I don't really see the point. lowess() is a two-dimensional smoother only so the main point would only be to allow lowess(y ~ x, dat) instead of lowess(dat$x, dat$y). Bill V. -----Original Message----- From: r-devel-bounces@stat.math.ethz.ch [mailto:r-devel-bounces@stat.math.ethz.ch] On Behalf Of Warnes, Gregory R Sent: Wednesday,...
2020 Sep 06
1
Error in ?lowess
The lowess() help page refers to documentation in "src/appl/lowess.doc". This was moved to "src/library/stats/src/lowess.doc" in 2007. This patch fixes it: Index: src/library/stats/man/lowess.Rd =================================================================== --- src/library/stats...
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 war...
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 an...
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 misunderstand, the lowess function only returns the independent variable and the smoothed dependent variable,...
2005 Jul 05
0
lowess output looks wrong (PR#7891)
...Murdoch On 5/23/2005 2:35 PM, pelzc at ohsu.edu wrote: > Full_Name: Carl Pelz > Version: 2.1.0 & 2.0.1 > OS: Windows 2000 > Submission from: (NULL) (137.53.64.158) > > > # Paste this all into an R session for a graphical demonstration of BUG... > # I?ve found a bug in lowess in R versions 2.0.1 & 2.1.0 (Windows binary > versions). > # Running on Windows 2000 system. > # Someone noticed a similar problem and reported it under ID 4459. > > # Data to reproduce... > R <- c(3.0, 3.5, 4.5, 5.0, 10.0) > T <- R > T <- 1.5*T + 0.1*(T^2)...
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 Sonneborn, MS Programmer Analyst Department of Public Health Sciences University of California, Davis (530) 754-9516
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 [[alternativ...
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 speculate what causes it, I am including a short R snippet and a short data set that demonstrates it. is this a bug or a feature? * it would be nice if lowess was a little better...
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" "...
2010 Oct 26
2
anomalies with the loess() function
Hello Masters, I run the loess() function to obtain local weighted regressions, given lowess() can't handle NAs, but I don't improve significantly my situation......, actually loess() performance leave me much puzzled.... I attach my easy experiment below #------SCRIPT---------------------------------------------- #I explore the functionalities of lowess() & loess() #because...
2009 Mar 14
1
Problem with figure size when embedding fonts
Dear Colleagues: I need to make a graphic that uses the Nimbus rather than Helvetica font family so that the font can be embedded in the encapsulated postscript file. This is to satisfy a requirement from a journal for electronic submission of figures. I do the following: postscript('lowess.eps', onefile=FALSE, pointsize=18, horizontal=FALSE, family='NimbusSan') spar(mfrow=c(3,2)) . . . dev.off() At this point lowess.eps looks fine. When I run: embedFonts('lowess.eps') or embedFonts('lowess.eps', options='-sPAPERSIZE=letter') the figu...
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) y.predict<-predict(y.loess) lines(GNI,y.predict) But when I do this (I get no error messages) the plot lo...
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 http://www.consortium-chicago.org/people/sl/sl....
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) onl...
2005 Mar 01
0
Fun and games with lowess()
...for the "unseen" x value as per the board. Then since the tutorial had ended, I thought I'd get a little bit fancy. I created some sample data where the x values were uniform random between 0 and 8, and the y value was x^2 plus some gaussian noise. I then plotted the raw data, and a lowess() curve, explaining to the students that the lowess() curve was a more sophisticated method than we'd covered in class (I had mentioned locally weighted regression during the lecture). Finally I plotted the true y=x^2 line so that we could compare the lowess() curve to the true curve. The stude...
2004 Sep 20
2
Getting the real names of variables within functions
Greetings. These days I find myself writing a lot of functions to handle routine things. One of these is a function to create a scatterplot of variables and draw a lowessed line so I can get some idea if there's any relationship between them. lowessed.plot <- function(x, y) { plot(x, y) lines(lowess(x, y)) } However, there's a slight problem: the plot axes come out labeled "x" and "y", which isn't what I want. I want the plo...
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...
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...