search for: microgram

Displaying 8 results from an estimated 8 matches for "microgram".

Did you mean: micrograms
2005 Jun 15
2
Plotting second axes outside xyplot
...of axes outside the right hand side of the graph. This is my progress so far: EE <- equal.count(ethanol$E, number=9, overlap=1/4) xyplot(NOx ~ C | EE, data = ethanol, prepanel = function(x, y) prepanel.loess(x, y, span = 1), xlab = "Compression Ratio", ylab = "NOx (micrograms/J)", panel = function(x, y) { panel.grid(h=-1, v= 2) panel.xyplot(x, y) panel.loess(x,y, span=1) panel.axis(side = "right", at = c(1, 3), labels = c(1, 3), outside = T) }, aspect = "xy&...
2009 Jul 02
2
Passing expression as argument to do.call
...rated in the short example below, concatenating lists objects and an expression creates an expression object, which is not an acceptable argument for do.call. Is there a way to avoid that? Thanks you Sebastien foo <- list(x=1:10, y=1:10) mylist <- list(pch=6, col=2) title <- "1 microgram" title2 <- expression ("1 " mu "g") do.call(plot, c(foo, mylist, main=title)) class(c(foo, mylist, main=title2)) do.call(plot, c(foo, mylist, main=title2))
2012 Aug 16
4
Variables and greek letters in a plot title
Hello This is a problem I encountered repeatedly and I found no answer that made me really happy. I hope it is not too trivial. I would like to give the concentration of a substance in a plot title: 5 ug/ml substance the '5' would be a variable and the ug should be micrograms (with greek letter mu). It is the mu that causes the problems for me. I failed using various combinations of paste, expression and bquote. I would be very grateful if someone could help me (or point me to the solution, which I might have overlooked). Thank you very much Dominik -- Dominik Refa...
2010 Jul 12
2
Xyplot or Tin-R problem?
...the following script from xyplot Examples using Tin-R on Windows and saw no plot produced. EE <- equal.count(ethanol$E, number=9, overlap=1/4) xyplot(NOx ~ C | EE, data=ethanol, prepanel = function(x,y) prepanel.loess(x, y, span=1), xlab="Compression Ratio", ylab="NOx (micrograms/J)", panel = function(x,y) { panel.grid()(h = -1, v=2) panel.xyplot(x,y) panel.loess(x,y, span=1) }, aspect = "xy") The Rgui showed > source(.trPaths[5]) Without any error msg. Did I miss anything? Please enlighten me. Richard [[alter...
2008 Nov 19
0
Buggy trellis.focus() with xyplot in JavaGD ?
...ry(lattice) require(stats) EE <- equal.count(ethanol$E, number=9, overlap=1/4) ## Constructing panel functions on the fly; prepanel xyplot(NOx ~ C | EE, data = ethanol, prepanel = function(x, y) prepanel.loess(x, y, span = 1), xlab = "Compression Ratio", ylab = "NOx (micrograms/J)", panel = function(x, y) { panel.grid(h=-1, v= 2) panel.xyplot(x, y) panel.loess(x,y, span=1) }, aspect = "xy") 2.- resize to window be rectangular and to have large margins on all sides. 3.- run trellis.focus() and try to sel...
2008 Nov 19
1
Buggy trellis.focus() with xyplot ?
...ry(lattice) require(stats) EE <- equal.count(ethanol$E, number=9, overlap=1/4) ## Constructing panel functions on the fly; prepanel xyplot(NOx ~ C | EE, data = ethanol, prepanel = function(x, y) prepanel.loess(x, y, span = 1), xlab = "Compression Ratio", ylab = "NOx (micrograms/J)", panel = function(x, y) { panel.grid(h=-1, v= 2) panel.xyplot(x, y) panel.loess(x,y, span=1) }, aspect = "xy") 2.- resize to window be rectangular and have large margins in the left hand and right hand side. 3.- run trellis.f...
2010 Apr 09
2
lattice background grid
Hi, I wonder if anyone knows how to control color and darkness of the background grid generated by ' type = c("g", "p") ' in a lattice plot (e.g., in xyplot). The documentation does not seem to offer a way to change them. Thanks a lot! Wen
2008 Dec 19
1
Misuse of $<matn expressions>$ in Rd files
'Writing R Extensions' tells you that $ needs to be escaped in Rd files outside \code and similar. So I was surprised to find that ca 80 CRAN packages have constructions like (from ISwR) \item{\code{folate}}{ a numeric vector, folate concentration ($\mu$g/l). } This does not render sensibly in non-latex conversions, and it is what we have \eqn{} for. That $ needs to be