Dear Baptiste,
thank you for your help. I tried to built in your suggestions into the splom.
Below is the result. I decided to create the plotmath-expressions outside the
function splom2, this will allow me later to horizontally shift (via phantom,
for example) the table entries so that they
On 20 April 2011 19:23, Marius Hofert m_hof...@web.de wrote:
Dear Baptiste,
thank you for your help. I tried to built in your suggestions into the splom.
Below is the result. I decided to create the plotmath-expressions outside the
function splom2, this will allow me later to horizontally
Dear Baptiste,
many thanks, that worked :-)
For the alignment, I made a new minimal example and posted it under the subject
grid.table + splom: how to nicely align panel entries.
Cheers,
Marius
On 2011-04-20, at 10:22 , baptiste auguie wrote:
On 20 April 2011 19:23, Marius Hofert
Dear guys,
I'm almost there... how can I fix the final problems?
Cheers,
Marius
PS: the info function is the one I will then try to call within splom...
library(lattice)
library(gridExtra)
## trial 1
info - function(a,b){
grid.table(as.expression(substitute(expression(alpha==alph,
Hi,
This is always a challenge with expressions vs calls, etc. grid.table
expects an input that can be coerced into a matrix of unevaluated
expressions. This seems to work,
info - function(a,b){
grid.table(c(bquote(alpha==.(a)), bquote(beta==.(b))),
parse=TRUE, # parse labels as
Dear Baptiste,
there is one tricky part left: how can I create a matrix with the grid.table()
objects as output? Is this possible? If not, maybe one can try to work with
panel.splom (which can address single panels and thus call info() for each
row-column index pair (i,j)), but I'm not sure if
Hi,
You may want to wait advice from someone who actually understands (the
labyrinth that is) lattice's help for splom, but the following might
be a start. I didn't understand what values you actually wanted
displayed in the lower triangle panels, so I made up some random ones
in a 3x3 matrix of
Dear expeRts,
I would like to create a scatter plot matrix with splom(). The lower panel
should
contain some additional information about the samples shown in the upper panel
plot, see the splom() call below. Now two questions came up:
(1) The lower panels show tau and alpha on top of each
On Apr 18, 2011, at 4:43 PM, Marius Hofert wrote:
Dear expeRts,
I would like to create a scatter plot matrix with splom(). The lower
panel should
contain some additional information about the samples shown in the
upper panel
plot, see the splom() call below. Now two questions came up:
Hi,
Does this help?
library(gridExtra)
my.title = function(expressions) {
grid.table(expressions, parse=TRUE,
theme=theme.list(gpar.corefill = gpar(fill = NA, col = NA),
core.just = left))
}
e = expression(alpha,text, italic(italic),
hat(beta),
On 19 April 2011 17:06, Marius Hofert m_hof...@web.de wrote:
Dear Baptiste,
thanks for your answer.
Unfortunately, I get the error Error using packet 1 invalid 'times'
argument when executing your code. Hmm... not sure where the problem is.
Oops, – sorry, my mistake. For this code to work
11 matches
Mail list logo