[R] hexplom question(s)

Greg Snow 538280 at gmail.com
Tue Feb 14 21:55:18 CET 2012


Assuming this is the hexplom function from the hexbin package (it is
best to be specific in case there are multiple versions of the
function you ask about), you can specify "lower.panel=function(...){}"
for a, and "as.matrix=TRUE" for c, for b I am not sure what exactly
you want to do, but look at the diag.panel.splom function in the
lattice package as a possible solution.

On Mon, Feb 13, 2012 at 5:16 PM, Debs Majumdar <debs_stata at yahoo.com> wrote:
> Hi,
>
>    I am trying to use the --hexplom-- function to draw a scatterplot matrix.
>
> The following works for me: hexplom(~file[,1:4], xbins=15,  xlab="")
>
> However, I want to make some changes to the graph:
>
> a) I only want to print/draw only one-half of the plot. Is there anyway to get rid of the plots in the lower triangular matrix?
>
> b) Is there anyway, I can overwrite the xlabels?
>
> c) Not very important, but the variables start from the bottom and goes up. E.g. I am plotting 4 variables ans I have a 4x4 matrix for the plot. Is there anyway I can reverse the diagonals? i.e I would like to list the variables and axes on 1x1, 2x2, 3x3 and 4x4 rather than the default where it lists the first variable on 4x1 follwed by 3x2, 2x3 and 1x4?
>
>
> Thanks,
>
> -Joey
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



-- 
Gregory (Greg) L. Snow Ph.D.
538280 at gmail.com



More information about the R-help mailing list