Questions tagged [trellis]

Trellis is a method for visually displaying multiple complex dependencies

Trellis display is a framework for the visualization of multivariable datasets. Its most common interpretation is in the lattice package in R. The idea for trellis was originally developed in 1995 at Bell Labs, and is described here.

64 questions
7
votes
3 answers

Mount.nfs: Connection timed out ... - Vagrant - Trellis

I'm trying to run vagrant up for the first time, but I'm getting this error: ==> default: Mounting NFS shared folders... The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed! mount -o…
deleting
  • 429
  • 1
  • 8
  • 19
5
votes
2 answers

Google Chrome localhost error NET::ERR_CERT_AUTHORITY_INVALID without option to dismiss

I am developing a website using Roots.io stack (Trellis + Bedrock + Sage). I am working, locally, on several sites and they're all working fine. Until today I reboot my computer > execute vagrant up > attempt to access the local development URL…
Spencer Hill
  • 1,043
  • 2
  • 15
  • 38
5
votes
1 answer

Suppress axis in lattice plot

I am using caret's featurePlot function to create a lattice plot. The X and Y axes show up in the diagonal boxes (see picture). I want to suppress these axes-- both the tickmarks and labels. Thought I could set scales$draw to NULL, but that did…
ahoffer
  • 6,347
  • 4
  • 39
  • 68
4
votes
2 answers

Plotting empirical and fitted semivariogram in ggplot

I am investigating spatial autocorrelation in my data using semivariograms. My data: Response <- c(21L, 36L, 30L, 29L, 30L, 45L, 100L, 0L, 0L, 0L, 0L, 0L, 59L, 18L, 24L, 23L, 26L, 29L, 23L, 21L, 14L, 30L, 43L, 14L, 8L, 0L, 0L, 0L, 0L, 0L, 23L,…
James
  • 1,164
  • 2
  • 15
  • 36
4
votes
2 answers

identify sub-panel in existing splom by clicking

I'd like to be able to generate a basic splom plot in R and then use my mouse to click on one of the sub-panels (panel.pairs, specifically) and have R return either the coordinates of that sub-panel, or even better, the names of the corresponding…
theEricStone
  • 301
  • 1
  • 7
3
votes
2 answers

How to plot two lines by factor in a trellis graph?

Define: df <- data.frame( line1 = rep(seq(1,5,by=1),2), line2 = rep(seq(2,6,by=1),2), index = rep(seq(1,5,by=1),2), factor=rep(c("a","b"),each=5)) where line1 and line2 are two variables, say height and weight. This…
Fred
  • 1,833
  • 3
  • 24
  • 29
3
votes
1 answer

How are trellis axis limits calculated?

Say I want to create an ordinary xyplot without explicitly specifying axis limits, then how are axis limits calculated? The following line of code produces a simple scatter plot. However, axis limits do not exactly range from 1 to 10, but are…
fdetsch
  • 5,239
  • 3
  • 30
  • 58
2
votes
0 answers

R - Change key colours in ancova (HH package)

I'm using the ancova() function in R (HH package) with a factor with more levels than the default 7 colours for lattice graphics. This means that ancova() fails to plot some of my panels as it can't find a colour to use. I've tried trellis.par.set…
R_usr
  • 75
  • 5
2
votes
1 answer

trelliscopejs R package only one trelliscope figure visible in html file

I am having a problem rendering more than one trelliscopejs displays in an html file created with Rmarkdown. I'm using self_contained=TRUE in order to render displays in html. The problem is that only the first display is rendered correctly: …
balkon16
  • 1,338
  • 4
  • 20
  • 40
2
votes
1 answer

Strip with two lines title - R lattice plot

I'm having difficulties to write correctly a strip name in a lattice plot. Here is a data example: resposta<-rnorm(90) preditor1<-rep(rep(c("a","b"),each=15),3) preditor2<-rep(c("sp1","sp2","sp3"),each=30) And I'm doing the following…
Augusto Ribas
  • 251
  • 1
  • 3
  • 13
2
votes
1 answer

How do I add reference lines in trellis dot plots in R in the lattice package

The following piece of code produces a trellis dot plot exactly as I would like it, but I would like to automatically add reference lines to the four panels. I have tried searching for examples of code that will let me do this, but so far no luck. …
2
votes
1 answer

Adjust space between axis ticks in lattice

I created a simple Dotplot() using this data: d <- data.frame(emot=rep(c("happy","angry"),each=2), exp=rep(c("exp","non-exp"),2), accuracy=c(0.477,0.587,0.659,0.736), Lo=c(0.4508,0.564,0.641,0.719),…
Geek On Acid
  • 6,330
  • 4
  • 44
  • 64
1
vote
1 answer

Density plot by subgroups

I have a big data frame that look like this: GeneSymbol Sample1 Sample2 Sample3 Sample4 A value11 value12 value13 value14 A value21 value22 value23 value24 B etc. etc. B B …
NewUsr_stat
  • 2,351
  • 5
  • 28
  • 38
1
vote
0 answers

bwplot coding and customise plot

I need some help with a graphic. I want to add the boxplot of the complete data. I've done it on the graph but got two colours on the box plot. I also need help figuring out how to make the names of the data mechanisms easier to read. For example,…
Ibrahima
  • 11
  • 3
1
vote
2 answers

Vega Wordcloud Faceting

i really like the look of the vega Word Clouds: https://vega.github.io/vega/examples/word-cloud/ I'm currently using the spec from the link as follows in colab: spec = "insert spec here" #Option one: from altair import…
1
2 3 4 5