similar to: lattice - change background strip color in one panel

Displaying 20 results from an estimated 700 matches similar to: "lattice - change background strip color in one panel"

2008 Jun 22
1
two newbie questions
# I've tried to make this easy to paste into R, though it's probably so simple you won't need to. # I have some data (there are many more variables, but this is a reasonable approximation of it) # here's a fabricated data frame that is similar in form to mine: my.df <- data.frame(replicate(10, round(rnorm(100, mean=3.5, sd=1)))) var.list <- c("dv1",
2010 Oct 17
1
lattice xyplot - formatting of multiple Y variables when using subgroups
Hi all, Using xyplot I want to print to Y variables (y1, y2) versus X, conditional on the group. How can I obtain a line (type="l") for one relationship (ie. y1 ~ x) and points (type="p") for the other (y2 ~ x) ? library(lattice) # create some sample data df<-data.frame(group=as.factor(c(rep("a",4), rep("b",4))), # grouping variable for conditional
2019 Mar 29
0
[PATCH v2 1/3] common/mlpcre: add offset flag for PCRE.matches
This way it is possible to change where the matching start, instead of always assuming it is the beginning. --- common/mlpcre/PCRE.ml | 2 +- common/mlpcre/PCRE.mli | 5 ++++- common/mlpcre/pcre-c.c | 16 +++++++++++++--- common/mlpcre/pcre_tests.ml | 11 ++++++++--- 4 files changed, 26 insertions(+), 8 deletions(-) diff --git a/common/mlpcre/PCRE.ml b/common/mlpcre/PCRE.ml
2019 Feb 25
0
[PATCH 1/3] common/mlpcre: add offset flag for PCRE.matches
This way it is possible to change where the matching start, instead of always assuming it is the beginning. --- common/mlpcre/PCRE.ml | 2 +- common/mlpcre/PCRE.mli | 5 ++++- common/mlpcre/pcre-c.c | 16 +++++++++++++--- common/mlpcre/pcre_tests.ml | 15 ++++++++++++--- 4 files changed, 30 insertions(+), 8 deletions(-) diff --git a/common/mlpcre/PCRE.ml b/common/mlpcre/PCRE.ml
2010 Jul 06
1
xyplot: filtering out empty plots
Hello, I would like to know how I can filter out empty plots in xyplot, when stratifying on some variables. Example: I have a dataset in which I plot CONC ~ TIME, stratified for patient ID(1,2,..,100), FORM(1,2) and BOOST (1,2). Some patients (ID's) do not have values for all stratification conditions. I.e. one patient may have values for FORM=1 and BOOST=1,2, while others may have data on
2011 Oct 02
0
Arimax First-Order Transfer Function
Dear list members, I am a (very) recent convert to R and I am hoping you can help me with a problem I'm having. I'm trying to fit a first-order transfer function to an ARIMA intervention analysis using the "arimax" function. The data was obtained from McCleary & Hay (1980) (via Rob Hyndman's Time Series Library: http://robjhyndman.com/tsdldata/data/schizo.dat). It has
2010 Sep 02
2
reshape to wide format takes extremely long
Hello, I have a data.frame with the following format: > head(clin2) Study Subject Type Obs Cycle Day Date Time 1 A001101 10108 ALB 44.00000 98 1 2004-03-11 14:26 2 A001101 10108 ALP 95.00000 98 1 2004-03-11 14:26 3 A001101 10108 ALT 61.00000 98 1 2004-03-11 14:26 5 A001101 10108 AST 33.00000 98 1 2004-03-11 14:26 I want to transform this
2009 Mar 23
1
lattice multipanel strip placement - with two factors
Hi, I'm making a multipanel lattice densityplot figure with 2 factors (3 and 20 classes in each factor) with the following statement (the type="percent" is there to prevent plotting the actual points which detract from the figure - is there another way of doing this?): densityplot(~End-Begin | Type * Chromosome, data=Mon, layout=c(5,12), xlab="Element
2001 Nov 22
1
Bug in dev.print? (PR#1179)
Dear "Debuggers", please have look a the following: > plot(0:1,0:1,type="n") > points(c(0,0.5,1),c(0,0.5,1)) > dev.print(device = postscript, width=5 , height=5, file="test1.ps") windows 2 ># This worked > dev.print(device = pdf, width=5 , height=5, file="test1.pdf") windows 2 ># That also >
2011 Nov 17
1
how to read a free text file into individual variables
hi ,I am writing a soft package based on R. But when I try to read a configure file showed as below. How can I read the parameter in this text file. How can I read the parameter into each variable in this file ? configinfo<-scan(file(configfile),ok=TRUE,n=-1) scan seems need every line have same column ? configinfo <- readLines(configfile,ok=TRUE,n=-1) methodnum <-
2009 Mar 28
2
Output an RWeka model via sink
When I sink the output of an RWeka model to a text file, the output file appears empty: library(RWeka) model = LogitBoost(Species~.,data=iris) print(model) sink("output.txt") print(model) #file output.txt is created, but it is blank sink() Am I doing anything wrong? [[alternative HTML version deleted]]
2006 Jun 01
0
Problem with some ogg players when using apache 2.0 as a proxy in front of icecast
dstjohn a ?crit : > I specifically rremember some clients requiring a icy-meta-interval: 8024 > response header for http streams, i know winamp for a fact does this, > since you are using an apache server as a proxy > it doesn't send any meta interval headers where as icecast2 and > shoutcast both send that header. > I haven't the opportunity to test this yet. What I
2008 Dec 04
1
xspline, graphical parameters and MAXNUMPTS
Hello, I am having two difficulties with xspline: 1) Passing lty=2 (via ...) appears to have no effect 2) Apparently depending on the current plot axes, I may or may not get the failure: add_point - reached MAXNUMPTS (25200) This happens both on Linux/R 2.8.0 (details below) and Windows Vista/R 2.8.0 patched (2008-10-21 r46766) Simplest case: plot(c(0,1),c(0,1))
2016 Nov 13
1
dgamma density values in extreme point
Dear R-Devel group, My name is Alexey, a data scientist from Moscow, currently working for Align Technology Inc. We have recently had a discussion of the results that the dgamma function (stats) returns for an extreme point (x == 0). <dgamma(0,1,1,log = FALSE) [1] 1 and <dgamma(0,0.5,1,log = FALSE) [1] Inf Density appears to be defined in point zero for the distribution with the
2006 Jul 27
1
Monitor traffic/bandwidth by mountpoint
Found this: http://bonehunter.rulez.org/~algernon/blog/2005/03/31/#munin_icecast Traffic monitoring by mountpoint like this ought to be built into icecast server. Thanks, Shannon -----Original Message----- From: icecast-bounces@xiph.org [mailto:icecast-bounces@xiph.org] On Behalf Of Thomas B. Ruecker Sent: Wednesday, July 26, 2006 6:19 PM To: icecast@xiph.org Subject: Re: [Icecast] Monitor
2005 Oct 21
3
Problems with example(Grid) in grid package
The following: library(grid) grid.newpage() example(Grid) has the yaxis label partly cut off and the x axis label does not appear at all. Also ?grid.multipanel in that example brings up documentation for grid-internal but this would not seem to be internal if its part of an example. I am using: > R.version.string # Windows XP [1] "R version 2.2.0, 2005-09-20"
2004 Apr 25
1
multipanel display of levelplots?
I cannot achieve a multipanel display of several levelplots. Here is part of my code. At first, create the layout: push.viewport(viewport(layout=grid.layout(1, 2))) Then for the left panel: push.viewport(viewport(layout.pos.col=1,layout.pos.row=1)) push.viewport(viewport(width=0.6, height=0.6)) levelplot(z~x*y, grid) pop.viewport() Similar code for the right panel. However, there is always
2003 Jul 14
2
Multipanel weighted regression lines.
Dear R-users, I am trying to create a multipanel scatter plot which displays weighted regression lines for each subgroup. I am having diffuculty figuring out how the Trellis multipanel plotting functions work, in general. Does someone know where there are some beginners examples on how to create and use panel.xxx functions in conjunction with the xyplot functions? Back to the matter at hand
2013 Jun 24
0
Dibujar rectas sobre varios un grafico multipanel
Eric En http://www.inside-r.org/packages/cran/latticeExtra/docs/panel.lmlineq utilizan una diferencia, panel.ablineq en lugar de abline. ¿funcionará con ese cambio? Javier Marcuzzi -----Original Message----- From: neo Sent: Monday, June 24, 2013 4:49 PM To: "Marcuzzi, Javier Rubén" ; Lista R Subject: Re: [R-es] Dibujar rectas sobre varios un grafico multipanel -----BEGIN PGP
2013 Apr 30
0
Grouped spaghetti plots in multipanel graphs
Dear Rxperts, Is there a simpler way to generate multipanel grouped individual profile plots? All individuals of a group within a panel have the same color. As of now I am using lattice::xyplot to get the desired effect. Please feel free to suggest other ideas. Also, I am trying to create a generalized function which goes on similar lines like this.. grpPlot <- function(dat, mpgrp=quote(G),