Top "Lattice" questions

lattice is a package that forms part of base R and allows the creation of trellis-type graphics.

Heatmap or plot for a correlation matrix

I tried to make a plot out of the correlation matrix and having three colours to represent the correlation coefficients …

r lattice
R lattice package: add legend to a figure

I am using the lattice package, and I want to add a legend to my figure. The documentation of auto.…

r legend lattice
How to add abline with lattice xyplot function?

I am trying to plot two variables: Eeff vs Neff using xyplot function of lattice package. I would like to …

r lattice
Reproducing lattice dendrogram graph with ggplot2

Is this possible to reproduce this lattice plot with ggplot2? library(latticeExtra) data(mtcars) x <- t(as.matrix(…

r graphics ggplot2 lattice ggdendro
Exact axis ticks and labels in R Lattice xyplot

I'm creating many plots (each as a separate image) that all must have identical axis limits. When using ylim, the …

r lattice axis-labels
R levelplot adjust axes

I want to plot the probability distribution function (PDF) as a heatmap in R using the levelplot function of the "…

r lattice levelplot
R levelplot colorkey label and color range

I am trying to make a levelplot (also displying contour lines) from the lattice package. I am having a couple …

r lattice removing-whitespace levelplot
How to change the order of the panels in simple Lattice graphs

Hi I am using the following code to generate an xyplot using lattice xyplot(Rate~Weight|Temp, groups=Week, rate, …

r plot lattice
3d plot in R - Patch

I have the following data in a data frame: **x** in (0,1) **y** in [0,1] **z** in [0,1] For example: X,Y,Z 0.1, 0.2, 0.56 0.1, 0.3, 0.57 ... …

r matlab 3d lattice wireframe
How to set strip label font size in lattice graphics in R

I've created a lattice plot with three panels. I can control the font size for the axis and tick labels, …

r graphics plot lattice