Displaying 20 results from an estimated 10000 matches similar to: "residuals from lowess fit"
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
?
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
2001 Mar 09
1
bringing up R documentation for my functions
Colleagues
----------------------------------
System info:
R version rw1022 on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I want to documnet a function I've written. I used
prompt(function.name)
to create an ascii R documentation file. I moved the .Rd file into a
subdirectory called
rw1022/library/my.functions/man
Now I want to load the help using
2001 May 31
1
graph/save file/jpeg/slow
Colleagues
----------------------------------
System info:
R version rw1022 on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I notice that saving a file from the menu bar in the graph window to
100% quality jpeg is very slow (more than 2 minutes). Is this something
to be avoided?
I know I can save the graph with postscript() in the script, or cut and
paste into
2001 Apr 01
1
ylab/ expression/ superscript to a bracket
Colleagues
----------------------------------
System info:
R version rw1022 on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I have some rather unusual units for acoustic volume backscattering
integrated over several metres depth and 10 transmits (which happens to
= 160 m along transect). I need to express these units in a graph label.
My problem
2001 May 31
2
windows nt/access other directories/ attach/system
Colleagues
----------------------------------
System info:
R version rw1022 on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
As recommended, I keep separate directories for projects, but also use
separate sub-directories for types of data (e.g. different oceanographic
instruments) within projects.
My problem is that I often need to access the objects and data (not
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
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
2001 May 23
3
New generic functions in "R base" {was `truncate'}
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---2088752589-1867062326-990643072=:2129
Content-Type: TEXT/PLAIN; charset=US-ASCII
1) What are the issues with making _existing_ functions in base into
generics?
EG, I've recently
2001 May 04
1
scoping error in xy.coords (PR#932)
Hola!
> rm(list=ls(all=TRUE))
> x <- 1:20
> y <- 1+x+rnorm(x)
> xy.coords(y ~ x,NULL)
... expected output, correct, but when called from inside lowess:
> lowess(y ~ x)
Error in xy.coords(x, y) : x and y lengths differ
> debug(xy.coords)
> lowess(y ~ x)
debugging in: xy.coords(x, y)
... long listing deleted
if (is.language(x)) {
if (inherits(x,
2001 Jun 29
2
Re: ESS and R ver 1.3.0/ graph menu/ save PDF
"SM" == S McClatchie <S.McClatchie> writes:
>
> SM> I notice that the new option under R ver. 1.3.0 to save a
> SM> graph as a pdf file from the graph window menu (file/ save as/ SM>
> PDF) works differently (extremely slowly) under ESS, whereas SM> it is
> almost instant from the R- gui.
>
> SM> Does the feature not work
2001 Jun 12
2
a problem with rep() ?
Colleagues
----------------------------------
System info:
Version 1.2.3 (2001-04-26) on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I am wondering if there is a problem with the function rep(). Both the
commands using rep() below were expected to produce 8 twos, but only
the second did.
x <- rep(2,40*(1-0.8))
length(x)
y <- rep(2,40*0.2)
length(y)
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
2001 Jan 18
1
ESS Default function template for R
Colleagues
----------------------------------
System info:
R version rw1020 on NT
ESS using emacs ver. 20.4
~/.emacs
; Default function template
(setq ess-insert-function-templates t)
----------------------------------
When loading a new function into the R workspace using ctrl-CD I would
like the default function template to come up, rather than a blank buffer. I
thought I had the Default
2001 Feb 26
1
trying to find the function banking()
Colleagues
----------------------------------
System info:
R version rw1020 on NT
ESS using emacs ver. 20.4
----------------------------------
Can anyone please tell me where to find the function "banking()"
containing Cleveland's solution to optimising graph aspect ratio? It is
mentioned in Venables and Riply 1994, pg. 112, Ex. 3.7, q. 3.5.
I have not found it (or perhaps
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)
2002 Sep 17
2
legend in image()
System info:
Linux slackware
R Version 1.5.1 (2002-06-17)
ESS 5.1.21
Emacs 21.2.1
-------------------
Colleagues
Is there a way to add a legend to an image plot? I don't see any
reference to legends in the documentation (so I suppose the answer is
no?). Although the documentation says image takes plot() parameters, it
isn't clear to me how the usual use of legend in a plot command
2003 Oct 01
3
problem downloading Red Hat R-1.7.1-1.i386.rpm
System info:
Red Hat 9.0
R Version 1.7.0
ESS 5.1.21
Emacs 21.2.1
-------------------
Colleagues
At work I've had to migrate from Mandrake 9.1 to Red Hat 9.0 and I'm
reinstalling R. I am having a problem downloading from
R-1.7.1-1.i386.rpm from /bin/linux/redhat/9/i386. Basically the download
does not complete. I am using mozilla, and when I click on the link the
screen corrupts with
2002 Sep 09
3
loading data from a specified directory
System info:
Linux slackware
R Version 1.5.1 (2002-06-17)
ESS 5.1.21
Emacs 21.2.1
-------------------
Colleagues
I have some text files in a certain directory and want to process them
sequentially. So I want to pass the filename identifier into a function
and loop through the processing of each file in turn.I've called the
file identifier f in this code segment:
image.dvm <- function
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