I have a couple if issues with the code below.
1. as.Table=TRUE has no effect
2. the minor tick marks on top of the top panels are drawn in the strips and
not on the axes.
Any ideas what's wrong? There are probably better ways to add minor tick
marks...
Thanks for any help.
Rene
In the example R script below, horizontal gray gridlines are drawn at y
coordinates where the points are drawn with the code:
panel.abline(h=y, v=xScale, col.line=gray)
How do I change this so that the horizontal gray gridlines are drawn at y
coordinates where the y labels are drawn? The
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 20, 2007 9:44 PM
To: Rene Braeckman; r-help@stat.math.ethz.ch
Subject: Re: [R] Different gridlines per panel in xyplot
Am 20 Feb 2007 um 20:52 hat Rene Braeckman geschrieben:
From: Rene Braeckman [EMAIL PROTECTED
: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rene Braeckman
Sent: Tuesday, February 20, 2007 8:52 PM
To: r-help@stat.math.ethz.ch
Subject: [R] Different gridlines per panel in xyplot
In the example R script below, horizontal gray gridlines are drawn at y
coordinates where the points
I am trying to avoid that dotplot sorts my x-values. They are in the correct
order in the data.frame and the connections between the x-y values follows
this order, but the placement of the x-values on the x-axis is re-ordered.
In the following example, the order should be d1, d8 and d15. However,
The R script below gives values of 1 for all minimum values when I use a
custom function in summaryBy. I get the correct values when I use FUN=min
directly. Any help is much appreciated.
The continuous information provided in this forum is fabulous as are the
different R packages available.
Rene
AM
To: Rene Braeckman
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] Problem in summaryBy
On 2/15/2007 1:34 PM, Rene Braeckman wrote:
The R script below gives values of 1 for all minimum values when I use
a custom function in summaryBy. I get the correct values when I use
FUN=min directly. Any
I like to re-arrange a table (sTable) based on the value of one the rows
(Analyte) as shown below. Blocks of data with different values for Analyte
need to be stacked below each other. Any easy way to do this or any advice
where to look?
Since it may be possible to get this in an earlier stage
other code can do it.
Rene
-Original Message-
From: hadley wickham [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 15, 2007 11:56 AM
To: Rene Braeckman
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] How to re-arrange data in table?
I like to re-arrange a table (sTable) based
the cast and get the same results in the file? Or convert the
array into a table?
Thanks again for all your help,
Rene
Irvine, California, USA
-Original Message-
From: hadley wickham [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 15, 2007 12:46 PM
To: Rene Braeckman
Cc: r-help
, row.names=FALSE,
col.names=TRUE, qmethod=double, append=TRUE)
}
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rene Braeckman
Sent: Thursday, February 15, 2007 1:59 PM
To: 'hadley wickham'
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] How to re-arrange data
I use key= instead. Much more flexible. I set the parameters in
trellis.par.set for the plot and then take these settings in key to get
them in the legend. space= is part of the key= settings.
As in this (to stick with your example):
library(lattice)
lg - c(alfa,beta,gamma)
a - rep(lg, 200)
b -
I had the same problem some time ago. Below is a function that I picked up
on the web somewhere (can't remember where; may have been a newsletter).
It's based on the tseries function but the difference is that this function
produces a data frame with a column containing the dates of the quotes,
and discussions on this forum are the best.
Rene
-
Rene Braeckman, PhD
Clinical Pharmacology Pharmacometrics
Irvine, California, USA
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
You can do something like this for a scatter plot:
x - c(a,b,c)
y - c(1,2,3)
xnum - rep(1:length(x))
plot(x=xnum, y=y, xlab=x, xaxt=n)
axis(side=1, at=xnum, labels=x)
This fakes a numerical axis and suppresses the y-axis labels that you then
draw with the axis function the way that you want
If these are the only variables, you are missing Type. Swim and Type are
both conditioning variables that you need to provide. Maybe your intention
is to use Sex instead of Type.
Try:
?xyplot
And look under x as the 1st argument for xyplot.
Rene
-Original Message-
From: [EMAIL
I will give this a try. However, this is based on row and columns of the
panels and not on the SUBJ and DOSE information that I need to calculate the
continuous curve.
Rene
-Original Message-
From: Petr Pikal [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 14, 2006 1:18 AM
To:
Thanks for your quick response. This works but the problem is that I can't
define the title ahead before N is defined or changed.
The idea is that the title is defined ahead, passed to a function that makes
many plots, and N is incremented for each plot.
One way to accomplish this would be to
cat doesn't work with bquoted arguments. At least not with the simple
cat(xxx, ccc).
Rene
_
From: Jeffrey Robert Spies [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 14, 2006 1:58 PM
To: Rene Braeckman
Cc: r-help
Subject: Re: [R] Plot title with numeric variables
How about using
19 matches
Mail list logo