Dear lattice users, I am trying to produce a lattice graph with two conditioning variables. My problem is that I only want to show the strips for the levels of the second conditioning variable. I want to remove the strips for the levels of the first conditioning variable. I tried with the strip function, but if I tell it to return FALSE or NULL whenever which.given == 1, I just get empty space below the strips for the second conditioning variable. And I want to remove that space altogether. Is it somehow achievable in lattice? I also tried setting layout.heights$strip to 0 when which.given == 1, but it seems to only work globally, so either the strips for both conditioning variables vanish, or both are present. Any suggestions will be appreciated. Best regards,
lattice question: removing strips
2 messages · Martin Ivanov, Pascal Oettli
Hello, Please provide a "commented, minimal, self-contained, reproducible code", as requested. Regards, Pascal
On 10 February 2014 19:48, Martin Ivanov <tramni at abv.bg> wrote:
Dear lattice users, I am trying to produce a lattice graph with two conditioning variables. My problem is that I only want to show the strips for the levels of the second conditioning variable. I want to remove the strips for the levels of the first conditioning variable. I tried with the strip function, but if I tell it to return FALSE or NULL whenever which.given == 1, I just get empty space below the strips for the second conditioning variable. And I want to remove that space altogether. Is it somehow achievable in lattice? I also tried setting layout.heights$strip to 0 when which.given == 1, but it seems to only work globally, so either the strips for both conditioning variables vanish, or both are present. Any suggestions will be appreciated. Best regards,
______________________________________________ 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.
Pascal Oettli Project Scientist JAMSTEC Yokohama, Japan