Deepayan Sarkar [EMAIL PROTECTED] writes:
On 9/4/07, Patrick Drechsler [EMAIL PROTECTED] wrote:
what is the correct way of removing the top and right axes
completely from a lattice xyplot? I would like to have a plot similar
to using the bty=l option for traditional plots
Hi,
what is the correct way of removing the top and right axes
completely from a lattice xyplot? I would like to have a plot similar
to using the bty=l option for traditional plots.
An example:
--8---cut here---start-8---
rm(list=c(ls()))
library(lattice)
y
Deepayan Sarkar [EMAIL PROTECTED] writes:
On 7/30/07, Patrick Drechsler [EMAIL PROTECTED] wrote:
what is the recommended way of adding a strip to a lattice plot?
See ?strip.default.
In the example below I would like to add the value of mean(y) to a new
strip.:
--8---cut here
Hi,
is there a grayscale setting for lattice plots?
I like the default color settings. I also like the settings that are
available for setting black and white with something like this:
--8---cut here---start-8---
ltheme - canonical.theme(color = FALSE)
Patrick Drechsler [EMAIL PROTECTED] writes:
is there a grayscale setting for lattice plots?
Solved using
## Set background color of strips to grayscales:
strip.background - trellis.par.get(strip.background)
trellis.par.set(strip.background = list(col = grey(7:1/8)))
## Set color
Hi,
what is the recommended way of adding a strip to a lattice plot?
In the example below I would like to add the value of mean(y) to a new
strip.:
--8---cut here---start-8---
library(lattice)
## Small sample data set:
p0 - xyplot(uptake ~ Type | Treatment,
Deepayan Sarkar [EMAIL PROTECTED] writes:
On 7/30/07, Patrick Drechsler [EMAIL PROTECTED] wrote:
The Gmane interface seems to have some lag at the moment...
Deepayan Sarkar [EMAIL PROTECTED] writes:
On 7/28/07, Patrick Drechsler [EMAIL PROTECTED] wrote:
is there a grayscale setting
The Gmane interface seems to have some lag at the moment...
Deepayan Sarkar [EMAIL PROTECTED] writes:
On 7/28/07, Patrick Drechsler [EMAIL PROTECTED] wrote:
is there a grayscale setting for lattice plots?
I like the default color settings. I also like the settings that are
available
Prof Brian Ripley [EMAIL PROTECTED] writes:
On Sat, 14 Jul 2007, Patrick Drechsler wrote:
is there an R function to convert unixtime to one of the R time
formats (using chron or POSIXct)?
Example data:
unixtime year month day hour
1183377301 2007 7 2
Hi,
is there an R function to convert unixtime to one of the R time
formats (using chron or POSIXct)?
Example data:
unixtime year month day hour
1183377301 2007 7 2 13
I would like to only use the first column.
If such a function does not exist: What would
:
| lattice
| 0.14-17
`
--
Patrick Drechsler
Department of Zoology
University of Cambridge
Downing Street
Cambridge CB2 3EJ, UK
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
twice inserts a literal underscore. To stop
| this smart behaviour, add (ess-toggle-underscore nil) to your
| .emacs after ess-site has been loaded;
`
HTH
Patrick
--
Patrick Drechsler tel: +44 1223 334441
Department of Zoology fax: +44 1223 336687
University
---cut here---end---8---
--
Patrick Drechsler
Department of Zoology
University of Cambridge
Downing Street
Cambridge CB2 3EJ, UK
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
Gavin Simpson [EMAIL PROTECTED] writes:
On Wed, 2007-03-07 at 15:33 +1000, Peter Dunn wrote:
But I recently received a new computer, and ever since I
have had a problem I've never seen before.
For example, I place the following in my Snw file:
Try this in the preamble of your Snw file:
Hi,
I am performing a two-way ANOVA (2 factors with 4 and 5 levels,
respectively). If I'm interpreting the output of summary correctly,
then the interaction between both factors is significant:
,
| ## Two-way ANOVA with possible interaction:
| model1 - aov(log(y) ~ xForce*xVel,
Chuck Cleland [EMAIL PROTECTED] writes:
Patrick Drechsler wrote:
[...]
To see the interactions in detail I call summary.lm:
,
| summary.lm(model1)
[...]
| xVel.L 1.079042 0.061859 17.444 2e-16 ***
| xVel.Q 0.339802 0.061439 5.531 6.03e-08 ***
| xVel.C
Knut M. Wittkowski wrote:
Apologies if this is the wrong list, but could somebody put the
information on how to create the graphs on
http://www.r-project.org/screenshots/screenshots.html (or a link to
these instructions) next to the graphs?
A nice reference for graphics with R can be found
Patrick Drechsler wrote on 11 Jul 2006 02:10:21 MET:
[...]
I am now confronted with the problem that I have data which
requires a modelII regression (also called reduced major axes
regression (RMA) or geometric mean regression). For this I use
the function modelII (see below).
What would
Hi,
for testing if the slope of experimental data differs from a
given slope I'm using the function
test_regression_against_slope (see below).
I am now confronted with the problem that I have data which
requires a modelII regression (also called reduced major axes
regression (RMA) or geometric
Eric Archer wrote on 20 Mar 2006 19:46:44 MET:
I'm getting some unexpected behavior with subsetting a data
frame (aircraft flight data) that I can't sort out. Here is a
simplified version of my data frame and problem:
flight
FlightID TailNo FlightDate HobbsTime FlightCost
Hi,
can anybody tell me how to contact the maintainer of the
concord package? The address given in the help file is not
valid anymore.
,
| help(package=concord)
|
| Information für Paket 'concord'
|
| Description:
|
| Package: concord
| Version: 1.4-2
| Date:
Marc Schwartz wrote on 19 Nov 2005 02:07:09 MET:
On Sat, 2005-11-19 at 00:37 +, Patrick Drechsler wrote:
can anybody tell me how to contact the maintainer of the
concord package? The address given in the help file is not
valid anymore.
[...]
A quick search of this month's r-help
Friedrich Leisch wrote on 08 Jan 2005 11:52:41 MET:
[...]
To me it sounds much more like you're one of those guys who
like it when others solve their problems for free. I gave you
an IMO perfectly working cookbook recipe and you didn't even
bother to tell me what did not work out for you,
Uwe Ligges wrote on 07 Jan 2005 09:16:09 MET:
Patrick Drechsler wrote:
I was wondering if it's possible to have fonts in plots to be
autoscaled to the same font size used by LaTeX in a
surrounding Sweave document.
See ?strwidth which might help for the required calculations.
Thanks
Hi Friedrich,
Friedrich Leisch wrote on 07 Jan 2005 09:49:04 MET:
thanks for taking the time!
On Thu, 06 Jan 2005 23:56:31 +0100,
Patrick Drechsler (PD) wrote:
I was wondering if it's possible to have fonts in plots to be
autoscaled to the same font size used by LaTeX in a
surrounding
Hi,
I was wondering if it's possible to have fonts in plots to be
autoscaled to the same font size used by LaTeX in a surrounding
Sweave document.
Here's a short example in which the fonts of the first plot are
barely readable:
--8schnipp-8---
Gabor Grothendieck wrote on 13 Oct 2004 07:16:07 MET:
Warnes, Gregory R gregory.r.warnes at pfizer.com writes:
: Since I'm still new to R: can somebody give me a pointer to the
: docs where to find instructions on a package (not a function)? I
: can find the man pages to specific
Hi Michael,
Michael Friendly wrote on 01 Oct 2004 16:09:45 MET:
I've generated a version of the classic dotplot of the barley
data with
[sniped R-code]
It looks fine with gv
The image is in landscape format when viewed with gv.
\begin{slide}
Gregory R. Warnes wrote on 01 Oct 2004 14:52:05 MET:
[...]
Here are the current proposals [for cut paste]:
library(ISwR)
data(energy)
attach(energy)
## 1
boxplot(expend~stature)
sample.size - tapply(expend, stature, length)
ss.ch - paste(N=, sample.size, sep=)
mtext(ss.ch,
Hi Marc,
Marc Schwartz wrote on 29 Sep 2004 14:08:19 MET:
On Wed, 2004-09-29 at 07:46, Patrick Drechsler wrote:
I was wondering if there is a ready made function or parameter
for indicating the sample size in boxplots?
[...]
Note that boxplot() returns values, which includes a variety
Hi Roger,
Roger Bivand wrote on 29 Sep 2004 14:09:17 MET:
On Wed, 29 Sep 2004, Patrick Drechsler wrote:
I was wondering if there is a ready made function or parameter
for indicating the sample size in boxplots?
Here's what I came up with so far:
library(ISwR)
data(energy)
attach
Martin Maechler wrote on 29 Sep 2004 17:11:13 MET:
Roger == Roger Bivand [EMAIL PROTECTED]
on Wed, 29 Sep 2004 15:09:17 +0200 (CEST) writes:
[snip]
Roger Perhaps use the names= argument (width can help too):
^^
Indeed!
Hi Frank,
Frank E. Harrell, Jr. wrote on 28 Sep 2004 10:38:27 MET:
[snip]
That's not the way to go. It's best to contact the package
maintainer (e.g., me) with a request.
Ok, personal mail sent.
Cheers
Patrick
--
Millions long for immortality who do not know what to do with
themselves on
Josep Perarnau wrote on 28 Sep 2004 10:38:12 MET:
[...search of listings package for latex...]
URL:http://www.ctan.org/tex-archive/macros/latex/contrib/listings/
HTH
Patrick
--
I hate quotations. Tell me what you know. (Ralph Waldo Emerson)
__
Hi,
well, it wasn't a Sweave problem after all. Seems to have
something to do with the function
`latex.summary.formula.reverse' in the package Hmisc.
Following change seems to help (at least for my purpose):
--8schnipp-8---
***
Hi,
I'm having trouble sweaving the following example:
--8schnipp-8---
\documentclass{article}
\begin{document}
\SweaveOpts{echo=FALSE}
@
=
rm(list=c(ls()))
library(Hmisc)
library(ISwR)
data(energy)
energy$log - log(energy$expend)
attach(energy)
@
Patrick Drechsler wrote on 26 Sep 2004 13:24:31 MET:
Is there a way to suppress the extra newline `\\' without editing
the Rnw file?
sorry, typo: s/Rnw/tex/
Patrick
--
Black Holes result from God
dividing the universe by zero.
__
[EMAIL
Hi Christoph,
Christoph Lehmann wrote on 25 Jun 2004 12:51:08 MET:
[...]
Quite often it happens, that the graphics are not at the place
where I expect them, but (often on a separate page) later on in
the pdf. How can I fix this, means how can I define, that I
want a graphic exactly here and
Hi,
I'm having trouble getting the function `npmc' working. I have a
2 column 30 row table called `mydata':
npmc(mydata, df=2, alpha=0.05)
Error in sort(unique.default(x), na.last = TRUE) :
`x' must be atomic
is.atomic(mydata)
[1] TRUE
Is there anything I have overlooked? Am I
Hi Brian,
thanks for the quick reply!
Brian Ripley wrote on 22 Jun 2004 15:38:38 MET:
On Tue, 22 Jun 2004, Patrick Drechsler wrote:
[...npmc...]
traceback()/dump.frames/debugger() to pinpoint the error?
Wasn't aware of those, thanks for the pointer.
Telling us where you got npmc from
Patrick Drechsler wrote on 11 Jun 2004 19:38:22 MET:
[...compile error concerning lxml2...]
JFTR:
Thanks to the help of David Meyer I was able to solve this
problem. One has to add the following lines to ~/.bashrc:
export CFLAGS=-I/usr/include/libxml2
export CPPFLAGS=-I/usr/include/libxml2
Hi,
can somebody give me an example on how to automatically replace
all labels in Sweave[1] R plots with corresponding PSFrag[2]
labels?
Thankful for any pointers,
Patrick
Footnotes:
[1] URL:http://www.ci.tuwien.ac.at/~leisch/Sweave/
[2]
Hi,
sorry if this is OT here. I'm trying to compile StatDataML[1] to
import Matlab data into R. The R part works fine but compiling
the Matlab part exits with this error message (following the
INSTALL instructions: autoconf - ./configure - make):
,[ [EMAIL
43 matches
Mail list logo