Displaying 20 results from an estimated 60000 matches similar to: "trellis dislays and R"
2000 Mar 14
2
TRELLIS (Splus) EQUIVALENT IN A FUTURE R ?
Dear R-Help,
I know that R already includes conditioning plots (two variables/factors)
but is there any intention to incorporate an equivalent of Trellis
(Splus) multi-conditional plots in R ?
Thanks,
Carlos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20000314/af50b46f/attachment.html
2000 Nov 23
1
FW: boxplot grouped by two variables: general issue
> On Tue, 21 Nov 2000, Vadik Kutsyy wrote:
>
> > Is there a quick way to make boxplots groups by two
> variables? By that
> > I mean, that if x axes have values ("A","B","C"), than at
> each value
> > there would be a few boxplots each for a value of second
> variable (say
> > ("1","2","3")).
>
2007 May 27
2
pie chart in lattice - trellis class
Dear all,
After going through the Lattice doc and R-help list and google, I got
the feeling that there is no function in lattice or other package to
compute a pie chart object of class "trellis". Although pie charts are
obviously not considered optimal even in the pie() doc ;-) , pie chart
trellis objects would be easy positioned e.g. over a map drawn with the
grids package.
Can
2004 Nov 26
1
Coplot Given text
Greetings:
I am unsuccessful in suppressing "Given : myvariable" from a coplot. There was such a question in the past but the thread breaks down. I am sure this is a "for dummies" question :-). I tried:
coplot(myvar~myvar | myvar, show.given=FALSE, xlab="....", ylab="...", main=" ")
and some other variations (including without main=" ")
2004 Jan 14
1
Trellis graph and two colors display
Hello,
I would like to display two groups of dots in different colors or style and additionnaly a linear regression for all the dots in
panel plots of a Trellis graph. Actually to get in each panel the equivalent of:
plot(x[mois==3],y[mois==3],col="blue")
points(x[mois==9],y[mois==9],col="red")
abline(lm(y~x), col="green")
"mois" being a grouping
2000 May 16
4
How do I add fitted curves to coplots?
G''day
I''ve been performing an analysis of some data by a follow the leader
method (Bad I know but it seems to work and I think I understand all the
steps now) and I''ve run into a problem. The analysis is for all practical
purposes identical to the non-linear mixed effects analysis performed on
Ludbrooks Rabbit data in the second edition of Venables & Ripley (page
2002 Aug 16
1
How to change parameters of Trellis-like graphs
Dear R-lists
I have just upgraded the version 1.5.1 from 1.4.1 in my laptop PC,
because, I have to prepare graphs by using the grid and lattice packages.
I tried it with 1.4.1, but I could not it.
After upgrade to 1.5.1, I have finished it.
Next, I tried to modify some graphs with as follows:
#
# setting color for graph
#
library(grid)
library(lattice)
background <- trellis.par.get()
2006 Nov 06
1
line width (all elements) in Trellis
Dear All,
I am hoping to implement a barchart using trellis graphics where all
elements have a line width of 2.
Using trellis.par.set(), I am able to make most elements lwd=2, but not
all. In particular, the top of the box (above the upper most strip) and
the left y-axis remain one point.
Code with a barchart() example is below. Any advice would be greatly
appreciated.
Thanks for your
2002 Mar 04
1
coplots
Hello list members,
I am new to this list and don't know very much about what R can do or how to
program it, but I am interested in plotting 4 variables as sequential
contour plots (or surface plots), something like the conditioning plots for
4 variables (coplot(X1~X2|X3+X4)). To be more specific, I need a tool that
will automatically create contour (orsurface) plots of X1 vs X2 vs X3 for
2004 May 18
1
Using pointsize with postscript trellis.device
I've been accustomed to specifying a postscript file and pointsize
like so:
trellis.device(postscript, file = "something.ps", pointsize = 8)
Using version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 9.0
year 2004
2008 Dec 31
2
Lattice trellis.focus() with pdf
Hi,
I have a the code for a plot that works perfectly running in R and
printing to a Quartz object but which doesn't work when I make the
trellis device a pdf.
The code is as follows:
----
trellis.device(device="pdf", new=TRUE)
trellis.par.set(my.theme())
dotplot(Y ~ X | C, groups=G, data=D, layout=c(2,1), ... )
trellis.focus("panel", 1, 1)
for (y in 1:5) {
2009 Nov 13
1
Trellis settings get lost when printing to pdf
Hi all,
I've got some problems when changing the trellis settings for the lattice plots. The plots look exactly as I want them to when calling show.settings() as well as when plotting them in the graphical window. But when printing to a pdf file, none of the settings are used!? Does anyone know what might have happened? Because the when changing the trellis settings, these should remain in
2005 Feb 01
2
How to write a new "top-level" Trellis/lattice function?
Hello,
I am trying to write a new "top level" Trellis/lattice function.
By "top-level", I mean a function like 'xyplot', 'histogram',
'bwplot', etc.
These functions all call 'trellis.skeleton', which I am unable to
call;
an attempt to invoke the function that does so yields the error
message:
-----
Error in do.call("trellis.skeleton",
2006 Jul 19
2
trellis.focus with postscript device
Hello.
First: R 2.3.1 on Windows XP.
I am trying to add information (sample size) to the Trellis strips which
I am successful using the trellis.focus function with the default
Windows device. However, I typically use the postscript device as I use
LaTeX and \includegraphic for incorporating graphs into stat reviews.
Here's some example code (apologies for the lack of creativity and
2001 Nov 29
3
Reset trellis plot backgroud color
Hello,
I run R on Windows 2000. When I load lattice library and plot some lme class
objects, the graphic window displays a dark-green color. Graphics look ok on
the screen, but lines and points become invisible whem I send the plot to a
printer because of the background color. Are there ways to reset the
background color? Both par(bg=) and windows() do not work. Any ideas?
Richard
2006 Apr 13
1
panel.abline() and trellis.focus() on multipage plots
Hi,
I'm recently working on a multipage bwplot() using the lattice package. In
this context I was trying to use the panel.abline() function individually on
certain panels but not all. After some research I found the trellis.focus()
and trellis.unfocus() functions which enabled me to do something like:
trellis.focus("panel", 1, 3)
do.call("panel.abline", list
2000 Nov 21
3
boxplot grouped by two variables.
Is there a quick way to make boxplots groups by two variables? By that
I mean, that if x axes have values ("A","B","C"), than at each value
there would be a few boxplots each for a value of second variable (say
("1","2","3")).
Thank You.
--
Vadim Kutsyy
http://www.kutsyy.com vadim at kutsyy.com
The University of
2000 Nov 21
3
boxplot grouped by two variables.
Is there a quick way to make boxplots groups by two variables? By that
I mean, that if x axes have values ("A","B","C"), than at each value
there would be a few boxplots each for a value of second variable (say
("1","2","3")).
Thank You.
--
Vadim Kutsyy
http://www.kutsyy.com vadim at kutsyy.com
The University of
2010 Nov 26
3
lattice: strange behavior (?) when using trellis.device(color=FALSE)
Dear expeRts,
I am not sure if I found a bug...
I would like to create a function that itself creates a lattice plot without
colors. Following http://www.mail-archive.com/r-help at r-project.org/msg64699.html
I use trellis.device() to set the colors to FALSE. Whenever I call the minimal
example below *with* trellis.device(), Quartz opens a window (I am working on a
MAC), which it shouldn't,
2009 Oct 15
1
Lattice package - Trellis
Hi,
I was trying to make a graph using trellis, and my code is:
-----------------------------------------------------------------
library(lattice)
makeGraph <- function(){
trellis.device()
tbg <- trellis.par.get("background")
tbg$col <- "white"
trellis.par.set("background",tbg)
# Test Data
mfr <- matrix(sample(1:100,50,replace=T),ncol=2)