Displaying 20 results from an estimated 400 matches similar to: "xyplot and lsegments"
2003 May 12
1
plot.ranef.lme (PR#2986)
library(nlme)
data(Phenobarb)
na.include <- function(x)x
phe1 <- nlme(conc~phenoModel(Subject, time, dose, lCl, lV),
data = Phenobarb,
fixed = lCl+lV~1,
random= pdDiag(lCl+lV~1),
start = c(-5,0),
na.action = na.include,
naPattern = ~!is.na(conc))
phe.ranef <- ranef(phe1,augFrame=TRUE)
plot(phe.ranef, form=lCl~Wt+ApgarInd)
[Error in max(length(x0),
2009 Jul 16
2
GGPLOT Clipping Regions
Hi there,
I'm trying to find out the command to stop clipping to plot region in
ggplot.
I have a bar chart (axis flipped) with labels on the bars, but the
labels are clipped at the plot region box.
I know it's possible to turn this off for base and lattice, but how
about ggplot?
par(xpd=NA)
The ggplot2 manual doesn't seem to mention it, and a search for
ggplot and
2003 Jan 06
1
Re - segments within a lattice graph
Hi,
The solution to my problem is to use
'lsegments' instead of 'segments' within lattice commands.
(Although I wont forget again,
a comment in the segments help file referring to 'lsegments'
might help others not to make the same mistake in the future.)
My thanks to Renaud Lancelot.
Regards,
John.
John Gavin <john.gavin at ubsw.com>,
Quantitative Risk Models
2009 Feb 11
1
How to tell if lattice is current device?
Dear R-helpers,
I have a function that adds some segments to the current plot, but if
I the current plot is made with any of the lattice functions (in my
case, levelplot),
I should use lsegments rather than segments.
How can I tell if the current device was made with plot() or e.g.
levelplot() or another lattice function?
dev.cur() does not help me, it just tells me "windows 2".
2007 Sep 07
1
contourplot lines, text, and mtext
If I have a contourplot (in the lattice package) and I want to add
straight lines to it, how do I do this?
I see that there are llines() and lsegement() functions for lattice
plots, but they don't seem to do anything in this case:
library(lattice)
library(KernSmooth)
x=rnorm(10000)
y=x+rnorm(x,0,.5)
a=bkde2D(cbind(x,y),.7)
z=as.vector(a$fhat)
grid=expand.grid(x=a$x1,y=a$x2)
grid$z=z
2005 Oct 19
3
adding error bars to lattice plots
Dear R-Users,
how to include error bars within lattice?
How should the panel = function(x,y,...){
looks like?
Does panel.arrows works here as well?
I appreciate any help on this.
Regards,
Mario AT
[[alternative HTML version deleted]]
2010 Apr 06
1
lattice package: line end style
First, apologies for no example data but I don't think it's needed in
this case,
Q: Can (and if so how ) the line end style be changed for 'cloud' plots?
I've tried par(lend=2), trellis.par.set(add.line = list(lend=2)) and
much googling but to no avail
Thanks in advance
Dan
P.S. the reason for this is that the round end looks bad at lwd=3 or
more
Daniel Alcock
Malaria
2016 Oct 28
2
mischeduler
Hi,
Regarding the mischeduler, I wonder
// For loops that are acyclic path limited, aggressively schedule for
// latency. This can result in very long dependence chains scheduled in
// sequence, so once every cycle (when CurrMOps == 0), switch to normal
// heuristics.
if (Rem.IsAcyclicLatencyLimited && !Zone->getCurrMOps() &&
tryLatency(TryCand, Cand, *Zone))
2002 Aug 12
1
question about cloud() in lattice package
Hi all,
I have been previously been using scatterplot3d package to create some graphs but unfortunately it does not allow me to rotate the
plot on all three axis. The cloud() function in the lattice package does allow me to do so. When I was using scatterplot3d I was
using a script (Shown Below) to calculate the mean, quartiles and range limits for all three axis and I was representing that on the
2016 Mar 15
2
GSoC Proposal : Path Profiling Support
This proposal adds support for path profiling [Ball96] to LLVM. Path
profiling compactly represents acyclic paths in a directed acyclic graph
representation of the control flow graph of a routine. Instrumentation can
be added to uniquely identify paths executed at runtime.
Path profiles enable precise enumeration of the sequence of basic blocks
executed in order for a particular path. Using path
2003 May 13
1
several regression lines in panel of xyplot (trellis graphics)
Dear r-help,
I need to draw xyplot() graphs with several regression lines:
one line for the whole range of x (the variable on the horizontal
axis) and two additional lines for subranges of x.
Is it possible to make first regression line (panel.lmline(x,y,...);)
to be drawn on the whole graph
and regression lines of the subsets to be drawn only over their subsets?
I have defined
2015 May 13
8
[LLVMdev] RFC: Convergent attribute
Below is a proposal for a new "convergent" intrinsic attribute and MachineInstr property, needed for correctly modeling many SPMD/SIMT programming models in LLVM. Comments and feedback welcome.
—Owen
In order to make LLVM more suitable for programming models variously called SPMD
and SIMT, we would like to propose a new intrinsic and MachineInstr annotation
called
2013 Mar 05
3
[LLVMdev] tbaa metadata representation
Hi all,
A while ago there was a discussion on changing the current "set of trees"
representation of TBAA metadata to be more expressive, prompted by the need
to support C structs. Dan Gohman also talked about the issue here:
http://llvm.org/devmtg/2012-11/Gohman-AliasAnalysis.pdf. It was suggested
that the trees be replaced by a type DAG then. While working on this
compiler
2009 Sep 16
1
cycles in a graphical model
Hi,
Is there is any R package or existing codes in R to detect cycles in a graphical model or DAG (Directed Acyclic Graph) ?
Thanks.
[[alternative HTML version deleted]]
2011 Jul 11
3
Intransitive DAG
Aloha all,
I have an adjacency matrix for an acyclic digraph that contains
transitive relations, e.g. (u,v), (v,w), (u,w). I want a DAG with only
intransitive relations. Can someone point me to an R function that will
take my adjacency matrix and give me back one with only intransitive
relations? In the example, I'd like to get rid of (u,w) and keep (u,v)
and (v,w).
All the best,
Tom
--
2003 Aug 21
2
levelplot behaviour for panel with constants
In the example:
x = rep(c(0,0,1,1),4)
y = rep(c(0,1,0,1),4)
z = c(1,0,1,0,0,0,1,1,0,1,0,0,1,1,1,1)
f = as.factor(c(rep("a",4),rep("b",4),rep("c",4),rep("d",4)))
levelplot(z~x+y|f,data.frame(x=x,y=y,z=z,f=f))
I noted that the last ("d") plot remains empty. I guess the
reason for this is that the values are constant (1), but I consider
it more
2002 Apr 08
2
user coordinates and rug plots in lattice graphics
Dear R list members,
I'd like to produce rug plots at the bottom of panels in a trellis display
(using the lattice package), but par("usr") doesn't return user coordinates
for panels, and consequently rug fails, as the following example (suggested
to me by Georges Monette) illustrates:
> x <- rnorm(50)
> y <- rnorm(50)
> f <-
2011 Mar 09
2
[LLVMdev] Question about TableGen when adding LLVM Backend.
Hello all,
I have some question about usage of TableGen when adding a new LLVM Backend.
There are three place to use TableGen in basic steps of document "Writing an
LLVM Compiler
Backend":
2. Describe the register set of the target. Use "TableGen" to generate code
for register definition, register aliases, and register classes from a
target-specific RegisterInfo.td input
1997 Nov 30
2
nmbd crashing as domain controller
Hi,
We've been over this before many times, I think... it's about nmbd
crashing in 1.9.17 (all patchlevels, AFAIK).
Various suggestions have been suggested (cron jobs to kill off / restart
nmbd every hour) but no fixes to nmbd itself (I think).
Do the Samba team know of a fix (or could they do one; if they know what
the problem is)? A new [fast] machine added to our network recently
2007 Oct 07
3
[LLVMdev] Predication before CodeGen
Hi,
I am planning to generate code for a peculiar architecture with _no_ branch
instructions (!), but with predicated loads and stores to memory. This means
the architecture is not Turing complete, is going to waste a lot of
computation, and any input program that can hope to get compiled for this
architecture must have loops that can be fully unrolled, and all its
functions must get fully