Displaying 20 results from an estimated 10000 matches similar to: "legend on a lattice (developmental package) plot"
2002 Dec 04
1
using edit.data.frame
dum is a simple data frame transferred to Splus using the dump()
command in Splus and the source() in R. All fields are numeric. There
are no missing data. The data frame looks like it is should:
> apply(dum,2,mode)
yrcl sland s02 s234
"numeric" "numeric" "numeric" "numeric"
> apply(dum,2,is.vector)
yrcl sland s02 s234
2001 Jul 17
2
R-help archives after June 21 2001
Could someone please point me to a source for the archives of this news
group after June 21.
I was subscribed to a digest version, but it stopped arriving after that
date.
Anne
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anne E. York
National Marine Mammal Laboratory
Seattle WA 98115-0070 USA
e-mail: anne.york at noaa.gov
Voice: +1 206-526-4039
Fax: +1 206-526-6615
2002 Dec 16
1
applying a different function to rows of a dataframe
Here is a simple example of what I would like to do:
Given a data frame foo with variables x and fn. Suppose fn is a vector of
characters which correspond to names of previously defined functions
which have only one argument. I would like a vector returned where fn is
applied to x
foo <- data.frame(x=c(2,5,7), fn = letters[c(6,7,6)])
foo$fn <- as.character(foo$fn)
"f" <-
2002 Jan 04
1
glm deviance question
I am comparing the Splus and R fits of a simple glm.
In the following, foo is generated from rbinom with size = 20 p = 0.5.
The coefficients (and SE's0 of the fitted models are the same, but the
estimated deviances are quite different. Could someone please tell me why
they are so different? I am using R version 1.3.1 and Splus 2000 release 3
on windows 2000.
++++++++++++++++++++++
foo
2002 May 23
3
separating a digest into separate messages
Could someone suggest a mail reader that will parse a digest from r-help
into separate messages?
Preferably, this reader would allow replies or forwards of separate
messages. I use pine on a Sun running SunOS 5.7. If there were an add-on to
pine that would accomplish this task, that would be even better.
Anne
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anne E. York
National Marine Mammal Laboratory
2000 Oct 18
1
reference for round
The help for the round function states:
round rounds the values in its first argument to the specified number of
decimal places (default 0). Note that for rounding
off a 5, the IEEE standard is used, ``go to the even digit''. Therefore
round(0.5) is 0 and round(-1.5) is -2.
Could someone provide a reference for this standard?
Thanks, Anne
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anne E.
2002 Feb 14
1
apropos("plotmath") curiousity
?plotmath produces the helpscreen for plotmath.
Why does apropos("plotmath") return only character(0)?
> apropos("plotmath")
character(0)
>
> version
_
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status
major 1
minor 4.1
year 2002
2001 Nov 01
0
overly light printing HP 8000
Points, axes and axes labels on graphs printed from R are very
light- almost unreadable. I am using the gui interface on the windows
version to print the plot on the screen to an HP 8000 set as a postscript
printer or PCL printer; the postscript output is light and the PCL output
is very light. If I specify lwd =2 in the plot command, the lines are
readable, but the points (open circles, in
2001 Sep 27
4
using the pfe editor with R 1.1.3 under windows 2000
I am in the process of setting up R1.3.1 on a new computer running windows
2000. I am having problems running the PFE text editor simultaneously
within R for editing functions and outside R for editing
ordinary text files. The PFE editor behaves as I expected, if it is opened
in R AND but no other PFE window is open outside R. Similarly, it also
works fine if I am editing a text file outside
2001 Feb 21
1
glm predict problem with type = "response"
The standard errors produced by predict.glm with type = "response" seem
wrong. Here is an example using R 1.2 windows version along with the same
problem in Splus. The standard errors for type = "link" are the same in
both systems.
R1.2> set.seed(10)
R1.2> ytest <- 100*.95^(0:9) + rnorm(10,sd = 5)
R1.2> ytest
[1] 103.96964 97.60590 88.43220 85.90504
2000 Feb 23
2
Files unavailable on CRAN
I've been trying to download from CRAN the floppy versions of the R source
files:
R-release-1.tar.gz, R-release-2.tar.gz
I tried the servers in Seattle, Madison, and the Vienna
Technical University. In each case, the file(s) were unavailable.
Anne
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anne E. York
National Marine Mammal Laboratory
Seattle WA 98115-0070 USA
e-mail: anne.york at noaa.gov
2000 Feb 23
0
Thank you!
Thank you very much for your help, your fuction runs on R without
any change, and the results are the same that your obtain with Splus,
but there still a small difference.
In SAS
W=0.960439
With your shapiro.wilk.test
W=0.9606107
But the p-values are almost the same.
Thank you very much for your help.
> Here is a function for the Shapiro-wilk test that I obtained from StatLib.
> Using
2003 Feb 24
3
Legend in plot: symbol for mean and standard deviation
Dear list,
I am facing the following problem with the legend of a plot that display
the mean and variance of a measurement y as a function of x, the mean
being represented by a dot and the variance by a vertical line.
My problem is that I am unable to display the symbol (dot + vertical
line) in the legend.
any help is welcome,
thanks
marco
--
2002 Dec 17
3
cleaning up after example()
Dear R-help,
I find the example() function is extremely useful in many ways. However,
there's a minor inconvenience: for long examples, it leaves lots of objects
in the workspace. While it's sometimes useful to have the objects around
for further exploration, other times they just add to the clutter. Does
anyone have a good way of cleaning up afterward? If not, would R core
consider
2002 Jan 25
4
How to add error bars to plot(x,y)in R?
Dear R Experts,
Is there a way in R to add an error bar (say in the y direction) for each data point?
Thanks
Ming Chow
--
__________________________________________________________________
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help",
2002 Jan 25
4
How to add error bars to plot(x,y)in R?
Dear R Experts,
Is there a way in R to add an error bar (say in the y direction) for each data point?
Thanks
Ming Chow
--
__________________________________________________________________
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help",
2000 Jan 28
1
Activating Graphics History
I'm having trouble finding documentation on how
to activate the "record graphics history" option via
a command line (as opposed to having to use the menu).
I would like to store a series of graphics. The readme says:
`The History menu allows the recording of plots. When plots have been
recorded they can be reviewed by PgUp and PgDn, saved and replaced.
Recording can be turned
2003 Apr 14
6
Charts to M$Word - what's the best format
Hi
I'm exporting some graphs from R to M$Word. I used png, jpeg and bmp and
the quality is poor when comparing with the postscript.
What is the best way to export a chart to be included in a M$Word file ?
Thanks
EJ
2002 Jan 25
2
Mapping (followup) + package installation
Hi,
I'm looking to create a few basic world maps in R (for
Windows). A while back someone asked for the same
thing and was referred to the (*.tar) files at:
ftp://ftp.mcs.vuw.ac.nz/pub/statistics/map/
which I downloaded.
However, I am unable to install them, and clearly I'm
not doing something properly (I'm your basic moron
when it comes to installation, so please understand).
2003 Feb 28
3
Tabulating
Hello,
I wonder if someone could send me suggestions on how to solve the following problem:
I have a vector of an arbitrary size (ex. data<-c(10,10,11,10,12,11,10,12,11,11,10,11)) and use the table function, which gives the following result
10 11 12
5 5 2
that''s fine, but what I would like to do now is:
construct new classes based on the number of classes from table, 10