Displaying 20 results from an estimated 49 matches for "lmdvr".
2009 Sep 19
3
Lattice: combine the same strip?
Hello R helpers,
I am producing a figure with dual strips, i.e., x~y | S1 + S2, where S1 and
S2 are two strips. For example, in figure 2.1 at
http://lmdvr.r-forge.r-project.org/figures/figures.html.
In this case, I would like to combine the the top strip, since all three
pictures in the same row have the same level based on the first strip. In
other words, instead of
| -- S11 -- | -- S11 -- | -- S11 -- |
| -- S21 -- | -- S22 -- | -- S23 -- |
I wou...
2011 Feb 02
2
grey scale graphs
Hi everyone,
Does anyone know how to get "black and white theme" (grey scale,, I
would say) graphs using lattice or ggplot2, as it is shown in this
webpage: http://lmdvr.r-forge.r-project.org/figures/figures.html?
I am using Sweave, and I cannot get that color configuration.
I have added the following option: trellis.device(color=FALSE) but I got
a pdf file with color graphs.
Thank in advance.
--
Sebasti?n Daza
sebastian.daza at gmail.com
2009 May 05
2
Lattice: use levelplot as panel for wireframe
Hi,
I want to draw a figure similar to http://dsarkar.fhcrc.org/lattice/book/images/Figure_13_07_stdBW.png
from http://lmdvr.r-forge.r-project.org/figures/figures.html (figure
13.7) . However instead of using a contour plot as a panel for the
wireframe I want to use a levelplot. Can somebody help me with this?
Thanks in advance for any help,
Kind regards,
Anton Bossenbroek
2008 Oct 04
1
Number format in log-scaled lattice xyplots
For a non-log-scaled y-axis, I was able to change the appearance of the
y tick labels in an xyplot by using a custom function for
yscale.components. However I couldn't get that approach to work for when
scales=list(y=list(log=TRUE)).
What I'm trying to do is make the y-tick labels show up as something
like (10, 100, 1000, etc.) rather than the default (10^1.0, 10^2.0,
10^3.0, etc.).
2010 Mar 03
1
How to create a line and bar panel chart with two different axes?
I need to create a line and bar panel chart with two different axes. I tried
in lattice but couldn't get it worked. Here is my code:
data(barley)
barchart(yield ~ variety | site, data = barley,
groups = year, layout = c(1,6), stack = F,
auto.key = list(points = FALSE, rectangles = TRUE, space =
"right"),
ylab = "Barley Yield
2010 Nov 30
2
xyplot : superimposed 2 groups in different panels
Hello,
I would like to plot the following xyplot : for each date of fff (1 date per
panel), bbb=f(aaa) for the two groups (ddd=1 and ddd=2) superimposed.
I can do it by group (see below) but not together.
I looked at http://lmdvr.r-forge.r-project.org/figures/figures.html but I
haven't found what I was looking for (to be honest, I haven't understood all
the examples).
Any help will be welcome.
Thanks in advance,
Ptit Bleu.
# aaa : x-axis
# bbb : y-axis
# ddd : group 1 or group 2
# fff : 2 different dates
aaa<...
2008 Dec 10
2
How to Break Axis in Lattice Plot
Dear All,
I have searched the following problem in the R help achives, and there did
not seem to be solutio for it.
The problem is how to break the axis in the xyplot (lattice plot). I read
the posts using the package plotrix, buy it doesn't work with the xyplot,
which is lattice based.
A simple example is attached below:
xyplot(c(1:10,100)~c(1:10,100))
What I would like to do is
2009 Jun 18
1
lattice logaritmic scale (basis "e" ), rewriting labels using xscale.component
Hi there,
sorry for troubling everybody once again, I've got a problem rewriting
Sarkar's function for
rewriting the tick locations in a logaritmic way (s.
http://lmdvr.r-forge.r-project.org/code/Chapter08.R):
His example works for log 2 but I need log e (natural logarithm). My
problem is that if I replace
2 with "e" (using paste()), I get the error message that the location
isn't a numeric value.
Is there any way to get this working somehow or do...
2008 May 02
1
Phil Spector's book
...nd it to
>>> anyone who
>>> wants to learn how to use lattice, at any level they desire.
>>
>> Thanks for the great review :-)
>>
>> As Karl mentioned, there is a website with code and figures from the
>> book at
>>
>>
>> http://lmdvr.r-forge.r-project.org/
>>
>> I also hope to eventually write some short vignettes on topics not
>> covered in the book, and put them up here. Feel free to suggest
>> topics
>> to me. And of course, please report any typos and errors.
>>
>> -Deepayan
&g...
2008 Apr 30
2
Lattice book
Dear all,
I haven't seen this mentioned and presumably Dr. Deepayan Sarkar is
too polite to advertise!
I just received a flyer from Springer: A new book on Lattice released today!!
http://www.springer.com/statistics/computational/book/978-0-387-75968-5?cm_mmc=NBA-_-Apr-08_UK_1753460-_-product-_-978-0-387-75968-5
2008 Oct 17
1
wrireframe
Dear all,
Does anyone know how to overlay a 3d line on a wireframe plot? I would also
like to be able to keep the legend that you get when using the option:
drape = TRUE
when using the option: shade = TRUE.
In addition, I would like to know how to keep the axes while getting rid of
the box, I use this:
par.box = list(col = NA)
to get rid of the box but that also causes the axes to disappear.
2008 Nov 30
2
Graphics for proportion within factor
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }I
am looking to draw what I hoped was a simple plot of proportion WITHIN
a strata, save % males by site. I seem to be able to get proportion of
males, by
site, where the proportion is across the whole dataset, but not the
proportion within each site.
thanks in advance,
Rob
[[alternative HTML version deleted]]
2009 Apr 03
1
US county map question
Hi R-help:
I'm just an old guy and new to this list... But have been using R for
years now.
I want to make a map of counties in the US with shaded colors that
depend on the level of variable "Y" that I want to map.
I have the US county and state fips codes and the Y variable.
How do I do this?
Please reply to pzs6@cdc.gov
Thanks,
Phil Smith
pzs6@cdc.gov
[[alternative HTML
2009 Jun 10
1
Two-sided log axis
Hi,
I have two curves that are best displayed using a logarithmic y-axis. I want
to plot the difference of these curves, which means I would need a log scaling
on both the negative and the positive side (i.e. the y-axis should be -100 -10
-1 0 1 10 100). Zero values should not be discarded.
Is there an easy way to do that?
Thanks,
John
2009 Jun 19
1
Fancy Ticks in Plots
Dear All,
I am pretty satisfied with R for my plotting, but there are a few
subtleties which I cannot figure out.
Consider figure 1 in the paper at the link below
http://cxnets.googlepages.com/univ_citations.pdf
Can I have the same kind of ticks in an R-generated figure (that is to
say: ticks along the 4 axis, and in a log-log plot I'd like a larger
tick for any power of 10).
I did a bit
2009 Dec 11
1
Combining 3D/2D plots
Dear All,
This is my first post to this mailing list (and yes, I did read
http://www.r-project.org/posting-guide.html ) so please forgive any faux
pas.
I'm trying to make a visualization that looks like this
http://www.gradient-da.com/img/temperature%20surface%20plot%20470x406.JPG(found
through google). The idea is to have a 3D surface plot overlapping a
2d representation of a surface.
I can
2010 Jan 09
1
lattice, add text to xyplot
Hello listers,
Does anybody know how to add text to an xyplot without whipping out
the existing curve?
That's all.
For instance,
Lets say you generate a graph like this
A <- data.frame(x = rnorm(100), y = rnorm(100))
xyplot(y ~ x, data = A)
How would you add 'Hello world'?
I tried 6.02E23 different partial solutions found on the web and
failed. I just need one EXAMPLE that
2008 Nov 13
1
how to plot a variable's histogram in the levels of a second variable
Goodevening to everyone,
I am trying to create a clustered barplot for the following 2 variables who have more cases but as an example i am giving you 10 items:
sex聽 socio-economic status
1聽聽聽聽 1
2聽聽聽聽 2
2聽聽聽聽 2
2聽聽聽聽 3
2聽聽聽聽 2
1聽聽聽聽 4
1聽聽聽聽 1
1聽聽聽聽 1
2聽聽聽聽 3
2聽聽聽聽 1
where sex: 1:man, 2:woman
聽聽聽聽聽聽聽聽聽聽 socio-economic status:1:Low, 2:Medium, 3:High, 4:Very High
Does anybody came across with
2009 Apr 07
1
axis values on lattice log-scale plot
I'm plotting the following (stripped of inessentials)
xyplot(sd ~ distance | wshed,data=sdvar.df,scales=list(x=list
(log=TRUE),y=list(log=TRUE)))
sdvar.df is a data frame, sd and distance are numeric, wshed is an
ordered factor
trying to replicate the action of log="xy" in plot()
The plot works fine but the axis values at the ticks are in
scientific notation,
e.g. 10^1.5,
2009 Jul 31
1
colored 3D pillar plots
hi,
I'd like to do graphs like shown on the right panel on the following link:
http://www.clinchem.org/cgi/content/full/53/8/1544/F1
(if link doesn't work see attached file)
Any help and ideas highly appreciated, thanks in advance.
Thomas von K?nel
Human Genetics
Uni Berne