similar to: How to change parameters of Trellis-like graphs

Displaying 20 results from an estimated 8000 matches similar to: "How to change parameters of Trellis-like graphs"

2002 Sep 27
2
How to apply SSfpl with binary data
Dear R-help subscribers Would you tell me how to apply SSfpl with binary data as below? Unfortunately, there is not the EXAMPLE in help(SSfpl) for binary data but for quantitative data(Chick). V1: dose V2: log-transformed dose V3: response (rate) V1 V2 V3 1 0.775 -0.2548922 0.1666667 2 5.000 1.6094379 0.8148148 3 10.000 2.3025851 0.5000000 4 20.000 2.9957323
2002 Apr 23
1
Tree package on R 1.4.1
Dear R-users I would like to apply classification and regression tree(CART) to the following data. I have some question on using 'tree' package. The data contains one response variable Y and five explanatory variables. The explanatory variable "x2" is categorical and not ordinal. But, the result obtained after running following R code has indicated that x2 is regard as
2003 Jan 22
1
: Trellis plot
Hi all, I would be grateful if anyone could help me with the following. I am using nlme library and I am trying to do a trellis plot with an outer factor, but I have an error message which I can't understand. Here is the code : > mydata <- groupedData(y ~ x | warren/rabbit, outer= ~ treatment, data=mydata) > plot(mydata) # I obtain a plot with all rabbits displayed individually and
2008 Jul 29
1
How to set the parameters in Trellis Graphics (by Lattice package)
Dear R users I plot the trellis graphics by using the lattice package. Everything is OK. Now, I want set some parameters of the trellis graphics. 1. The tick label site. By default, only two tick labels had been output in x-axis of my plot. I want output four or five tick labels. In the traditional graphics system, it will be very easy. Just not output the axis in plot by use the parameter
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
2003 Jan 31
1
Question about trellis graphs
Dear List Members I'm using R to create a trellis plot using the library of Pinheiro & Bates (trellis graph for grouped data). Here is my question: How can I change the format of the axis (x or y) in terms of the number decimal points that should appear on the plot? In other words, I have that for a set of plots in the y-axis the values appear as 0.2,0.3, etc and for another set they
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
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
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)
2004 Nov 29
1
Call to trellis.focus(); thenpanel.superpose()
The following works fine with the x11 device, though it may well be that an initial plot is overwritten. With a pdf or postscript device, I get two plots, the first of which still has the red border from having the focus, while the second is the plot that I want. library(lattice); library(grid) plt <- xyplot(uptake ~ conc, groups=Plant, data=CO2) print(plt)
2006 Jun 30
1
Trellis.par.set/ family/ global change font?
Background: OS: Linux Ubuntu Dapper 6.06 release: R 2.3.1 editor: GNU Emacs 21.4.1 front-end: ESS 5.2.3 --------------------------------- Colleagues I have a rather complicated trellis plot that a journal editor has requested I edit and change all the fonts to times. I'd like to change all fonts globally for the plot, as in par(family="serif") for non-trellis plots. Various
2009 Nov 19
7
AXVoice Server Hacked.. accounts info leaked
AXvoice server hacked. Here are few working accounts USE XLITE to make calls.... Registrar/Proxy magnum.axvoice.com:9060 Free Sample account.... username=xMaxwellSmartx secret=thanksapache username=woodsy type=friend secret=haramikuttasala username=wumingzi type=friend secret=kickyourass Enjoy! B.R BaBa Jigger -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Nov 30
1
Set panel background color in a multi-group trellis plot
Hi everyone, I am trying to change some of the default colors in a multipanel-multigroup lattice graphic, but when I change the panel color to white, the only group that is plotted is the last one, as panel.fill overwrites all the previous ones. Is there any way to set the panel background color for the first panel to a color and keep the rest transparent? My code looks like this: #first set
2003 Apr 04
3
trellis.graphic in for-loop
Hi list, I am unsuccessfully trying to produce a serious of trellis barcharts from within a for-loop. The barcharts work outside the loop. What am I missing? Example attached. Thanks Herry #XXXXXXXXXXXXXXXXXXXXXX trellis.device(bg="white") trellis.par.get("fontsize")->fontsize fontsize$default<-16 trellis.par.set("fontsize",fontsize)
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
2009 Jan 21
1
Bug in sub and gsub (PR#13460)
Full_Name: Leon C. Banza Version: 2.8.1 OS: Windows Vista Submission from: (NULL) (195.69.243.253) I believe there is a serious bug in the code for sub and gsub. I do as following: gsub("\\", "-", "some\\backslashed\\string") This ought return "some-backslashed-string", but prints warnings instead: Error in sub("\\", "",