Dear Dr. Andreas Kiermeier and the R help Community,
Thank you for your idea on putting the plot command in a .First statement.
I tried putting the plot comamnd in a '.First' statement like the following:
x - c(1,2,3,4,5)
y - c(2,5,6,3,10)
.First - function() {
plot(x,y)
}
and had the same error
Liaw, Andy wrote:
You could try googling for delta method. I believe MASS even has code for
that...
Andy
also,
help.search(delta)
does give nothing usefull, so if it is in MASS it would be hidden, and
need a \concept
entry in the .Rd file.
The delta method is really nothimg more (or less)
AFAIK the impact of heteroscedasticity on smoothers in general is that
automatic smoothing parameter selection (e.g., via cv or gcv) could be
suboptimal. One possibility is to supply weights to smooth.spline(). The
problem is how to estimate the weights? One possibility is to smooth the
squared
The recommended way, I believe, is to _install_ the package (say in some
test directory) and try it out. Only when you have no problem loading the
package in R from that installation would you then try R CMD check.
When you install the package (as R CMD check does, in the directory
pkg.Rcheck),
See ?Startup and the rw FAQ for info on startup procedures. I assume by
Rprofile file you mean Rprofile.site. As ?options -- defaultPackages
states, the graphics library is one of those loaded by default but, as
?Startup states, **not** until after Rprofile.site is executed. Since
plot()is now
Bill,
P. 146 of Casella and Berger's Statistical Inference 1990 starts a
section on bivariate transformations.
Andrew
--
Andrew Robinson Ph: 208 885 7115
Department of Forest Resources Fa: 208 885 6226
University of Idaho E : [EMAIL PROTECTED]
PO Box
Berton,
Thank you for your response. Loading the graphics library in the .First
function worked.
John
Berton Gunter wrote:
See ?Startup and the rw FAQ for info on startup procedures. I assume by
Rprofile file you mean Rprofile.site. As ?options -- defaultPackages
states, the graphics library is
I was doing something very similar.
I found it tricky to work out how to find a confidence interval for the
'percentage' of the outcome (I call it proportion).
Some of my bins had all zeroes or all ones, so I couldn't work out how to
make a variance that was sensible. Also some bins had few
From: Weiwei Shi
Hi, there:
I made a function to do k-fold cross-validation as
below. Basically whenever I call cv(test) for example,
an error message like:
20Fold 1
Error in model.frame(formula, rownames, variables,
varnames, extras, extranames, :
variable lengths differ
No. You put the _whole_ thing into .First(), not just the plot statement.
One possibility is to have the code in a script file (say myscript.R) and
define .First as follows:
.First - function() source(myscript.R)
Haven't try it myself, though.
Andy
From: John Fisler
Dear Dr. Andreas
The well-supported and rapidly-growing Department of Biostatistics in
the Vanderbilt University School of Medicine, Nashville, Tennessee, has
multiple openings for persons with an MS or PhD in biostatistics, at all
levels. We are especially recruiting for the following positions.
- A senior
thomas tom_hoary at web.de writes:
Hello,
unfortunately I had to compile latest version of R-2.0.1 by myself. I'd
rather would prefer vendors binaries but since the current version of
Ubuntu defaults to 1.9.x I had to compile R on my own in order to be up
to date!
You could have gotten R
Hi, some time ago I asked R-help about aggregating data as a result I
was able to put together some code which includes the line
rain.ag - aggregate(newdata, list(hod6=cut(mindata,6 hours)), mean,
na.rm=T)
I also want to aggregate daily, and 30 minutely etc.
My question is why is it that I get
Karla Meurk ksm32 at student.canterbury.ac.nz writes:
:
: Hi, some time ago I asked R-help about aggregating data as a result I
: was able to put together some code which includes the line
:
: rain.ag - aggregate(newdata, list(hod6=cut(mindata,6 hours)), mean,
: na.rm=T)
:
: I also want to
On Wed, Jan 05, 2005 at 12:59:23AM +0100, thomas wrote:
2. install.packages(accuracy, zoo, abind)
Packages like zoo, abind and RODBC (from your other mail) are actually
available pre-built for Debian. If you file /etc/apt/sources.list points to
Debian and Ubuntu (and you can have Ubuntu at
I think you could just use the command: R CMD BATCH myplot.R
with no .First at all. myplot.R would hold:
win.metafile(filename = a.wmf, width = 5.7, height = 8.8, pointsize=12)
plot(1:10)
dev.off()
You may want a different output file format so replace the
win.metafile command with whatever
101 - 116 of 116 matches
Mail list logo