Displaying 9 results from an estimated 9 matches for "andrewjohnclose".
2009 Sep 30
1
xyplot key
Hi,
I'm having trouble matching the symbols/color of the key to match those
specifiec in the plot.
Here is the code I used:
xyplot(GCR+GCT ~ FRAC, data=RWF, type=c("g","p"),cex=1.2,pch=c(22,21),
xlab=expression(italic("f")),ylab=expression(italic("S")),
key=list(points=list(pch=c(22,21),cex=1.2),
text=list(c("Targeted Deletion","Random
2008 May 12
1
Mathematical annotation in lattice strip: Is it possible?
I have tried without success to find a way including the square root symbol
in lattice strips as part of my conditioning labels. I have tried
supplementing by creating a list of vectors using the var.name function
coupled with the expression function used in xlab/ylab.
xyplot(adjusted_Rand_index~cluster|distance_measure, main="Level of
agreement between partitions: Wards Method",
2009 Sep 26
1
Mixed font in lattice xyplot lables
Hi all, can anyone suggest a reason as mto why my xlab is plotting this text
at oposite ends of axis. I would like to represent my lable like this:
Moran's I ...but with the I in italics. For some reason they seperate and
position at oposite ends of the axis??
Thank you
library(lattice)
dat <- data.frame(x = rnorm(10),y = rnorm(10))
xyplot(y ~ x, dat,xlab=expression("Moran's
2009 Sep 28
1
xyplot & lmline: error message.
Hi, I am trying to produce an xyplot with a regression line. The data should
be represented as log/log but when I fit the lmline I receive an error
message - the plot is fine without the log transformation, but the then the
plot is meaningless. I know it must be something simple, but I just can't
see it. Hope someone can help...
Thanks.
xyplot(log(Pk)~log(k),data=rwpk,cex=1,
2008 May 02
1
Error in downViewport.vpPath(vpPathDirect(name)
Hi,
I am having trouble plotting a series of dendrograms using lattice and grid
code as found in Paul Murrells book R Graphics.
This is the error message I recieve:
Error in downViewport.vpPath(vpPathDirect(name), strict, recording =
recording) :
Viewport 'plot1.panel.1.1.off.vp' was not found
I have attached the code and also my data file. Should anyone have any
suggestions then
2008 Aug 13
1
re placing default labels in lattice
Dear all,
I am having a little trouble deciphering how to change the default x-axis
labels in a lattice xyplot (or any type of lattice plot for that matter). I
have tried using the "demo("labels") function but the code is truncated at
precisely the wrong moment!
All I am trying to do is to add superscript to two of the labels for which i
tried using the expression function. It
2008 Jul 30
1
Re creating Procrustes Plot in Lattice
Hi, I have been trying to create a function to generate a Procrustes plot,
generated from package "vegan"
in lattice.
standard vegan code as follows
library(vegan)
pro=protest(P1, P8, permutations=4999,choices=1:4)
plot(pro)
Now, here is the code for the function that I have failed to get to work
properly.
panel.procrustes=function(x,y)
}Pro=protest(x,y,permutations=4999,choices=1:4)
2008 May 12
1
inserting mathematical symbols in lattice strip
I have tried without success to find a way including the square root symbol
in lattice strips as part of my conditioning labels. I have tried
supplementing by creating a list of vectors using the var.name function
coupled with the expression function used in xlab/ylab.
xyplot(adjusted_Rand_index~cluster|distance_measure, main="Level of
agreement between partitions: Wards Method",
2009 Oct 12
0
function: ploting an igraph object within lattice
Hi, I would like to be able to develop a function to plot an igraph object
with lattice (trellis type displays will be usefull for grouping etc).
Anyway, I mostly feeble
Igraph requires that you convert two columns of data two an igraph object
and to be able to plot the graph...I have tried a very, very simplistic (if
not naive) approach and surprise, surprise, it didn't work.
First of all,