Displaying 20 results from an estimated 6000 matches similar to: "apropos("plotmath") curiousity"
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 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
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
2001 Jul 30
1
legend on a lattice (developmental package) plot
Is there a way to put a legend on an xyplot -- eg, something akin to the
key function? Or, is there a way to get the R legend function to work on a
lattice plot?
To the people who have done the work on lattice and grid: Thanks for making
lattice. I'm finding it very useful.
Anne
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anne E. York
National Marine Mammal Laboratory
Seattle WA 98115-0070 USA
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.
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 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
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
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
2004 Nov 18
1
Declaration of RuleThickness() in src/main/plotmath.c (PR#7380)
Full_Name: Wolfgang Huber
Version: R-2.0.1
OS: HP-UX B.11.23 ia64
Submission from: (NULL) (81.104.215.6)
Hi,
I hope I am not missing something basic... I am using a somewhat exotic compiler
and OS, but if I understand what I am seeing the problem is more general:
In src/main/plotmath.c, the following function is defined
/* Thickness of rules */
static double RuleThickness()
{
return
2012 May 12
2
Plotmath bug or my misunderstanding?
This is a followup to a recent post on using atop() to obtain
multiline expressions.
My reading of the plotmath docs makes it clear that issuing (in base
graphics) the specification
par(cex = 2)
doubles symbols and regular text in subsequent plotmath expressions.
However, it is unclear to me what specifying cex _within_ the
annotation function using plotmath should do, and the following seems
2008 Apr 02
1
Trouble combining plotmath, bquote, expressions
I'm using R-2.6.2 on Fedora Linux 9.
I've been experimenting with plotmath.
I wish it were easier to combine expressions in plotmath with values
from the R program itself. There are two parameters in the following
example, the mean "mymean" and standard deviation "mystd". I am able
to use bquote to write elements into the graph title like
mu = mymean
and R will
2003 Aug 07
2
plotmath under windows (PR#3672)
Full_Name: Murray H Smith
Version: 1.7.1
OS: Windows2000
Submission from: (NULL) (202.36.29.1)
This alleged bug is Windows specific and occurs when using Windows metafile
plots.
The problem does not occur in a Linux version.
It does not occur in the pt rintout when a graphic is saved to a postscript file
under Windows.
The problem came to light when using plotmath to label a plot with
2011 Jan 20
4
puzzled with plotmath II
sorry, I forgot my sessionInfo: please see below.
-------- Original Message --------
Subject: puzzled with plotmath
Date: Thu, 20 Jan 2011 12:48:18 +0100
From: Claudia Beleites <cbeleites at units.it>
To: R Help <r-help at r-project.org>
Dear all,
I'm puzzled with matrix indices in plotmath.
I'm plotting matrix elements: Z [i, i], and I'd like to put that as label.
2004 Apr 14
1
ltext, plotmath, and substitute
I am interested to use plotmath functions within a panel function but am having
some problems getting the code right. Within each panel I am plotting the data,
fitting a regression line, and would like to print the regression equation.
Here is a trivial example of what I'd like to do:
# generate simple data
tmp.df <- data.frame(id = rep(1:4, each=4),
time = rep(1:4, 4),
das =
2008 Dec 31
3
Plotmath with values?
I hope to use the plotmath facility to print titles that mix
math and values of R variables.
The help for "plotmath" has an example, which after repeated
reading, I find baffling. Likewise, I have read the help file
for "substitute" (wqhich seems to be needed) without ever
understanding what it does, other than being used in some magic
incantations.
I would like to do
2000 Sep 12
1
Variable value in expression (plotmath)
Hello,
I have a problem with the plotmath facility and haven't found any solution
in the FAQ and Online-Help.
I am trying to incorporate the value of a variable in an expression for an
axis with plotmath.
Considering having
> gamma <- 10
I'd like to have a plot with
> plot( .... , xlab=expression(gamma==10))
but depending on the true value of the variable.
How can I