Displaying 20 results from an estimated 130 matches similar to: "xyplots with differentiated first data points"
2013 Apr 26
4
Help with merge function
Dear all,
I'm trying to merge 2 dataframes, but I'm not being entirely successful and
I can't understand why.
Dataframe x1
State_prov Shape_name bob2009 bob 2010 bob2011
Nova Scotia Annapolis 0 0 1
Nova Scotia Antigonish 0 0 0
Nova Scotia Gly NA NA
2014 Nov 11
1
Xorg installation broken under docker
Hi,
I have been trying to build a docker image to run unit tests for the B2G project [1]. However when I try to install Xorg I get this error [2].
I have been searching on web but is still not clear for me if this is an issue or if I should proceed like this link [3] says.
Any idea?
Cheers,
Wander.
[1] https://wiki.mozilla.org/B2G
[2] https://pastebin.mozilla.org/7243239
[3]
2012 Jun 19
1
ANOVA help
Hi All,
I have a microarray dataset as follows:
expt1 expt2 expt3 expt4 expt 5
gene1 val val val val val
gene2 val val val val val
.
.
..
gene15000 val val val val val
The result is from the same organism in four different experiments. Also, there are 4 replicates of each
2006 Jul 30
2
Reading multiple txt files into one data frame
Hello All,
I have a device that spews out experimental data as a series of text
files each of which contains one column with several rows of numeric
data. My problem is that for each trial it gives me one text file
(and I run between 30 to 50 trials at a time) and I would ideally like
to merge all these text files into one large data frame with each
column representing a single trial. It is not
2009 Oct 18
1
Rscript not returning zero
Hi
I'm trying to run a R script in a computer grid using the Rscript
interpreter, but the Rscript is not returning zero (even when the
scripts processes succesfully) on its exit which causes the scheduler
to detect an error and not records the output.
Is there any way to get the Rscript returning zero ?
--
"A critical section of code is like a bathroom. Only one person is
allowed
2002 Apr 18
2
Changing tick mark labels
Hello,
Can anyone help me out with this problem?
After performing logistic regressions and testing the significance with
likelihood ratios, I have plotted the results using "termplot". I am
wondering, how to get the names of my variables to appear on the x-axis
rather than ascending numbers?
I have used:
termplot(fm, se=T, axes=FALSE, col.se="black")
axis(1, 1:4,
2006 Jan 31
2
Multiple xyplots on the same page
Hi,
I am using the "xyplot" function in the "lattice" package to generate
multiple plots, but I would like to have them plotted on the same page. I
would like to set something equivalent to the command: par(mfrow=c(2,2)),
in order that I can plot 4 xyplots on the same page. How can I do this in
"xyplot"?
I am using R version 2.1.1 on Windows.
Thanks very
2008 Jun 26
0
plot multiple xYplots
Dear All,
I'm having trouble ploting multiple xYplots (Hmisc) within the same pg
although I've done it before w/ xyplots. I've produced 4 similar plots
e.g.
rna.h<-xYplot(Cbind(RNA,Lo,Up)~HO|factor(MO,labels=c("April",
"May","June")),data=diel.data,method="bars",type="b",
keys="lines",pch=16,col=1,cap=.04,
2008 Jun 26
0
multiple xYplots
Dear All,
I'm having trouble ploting multiple xYplots (Hmisc) within the same pg
although I've done
it before w/ xyplots. I've produced 4 similar plots e.g.
rna.h<-xYplot(Cbind(RNA,Lo,Up)~HO|factor(MO,labels=c("April",
"May","June")),data=diel.data,method="bars",type="b",
2009 Sep 24
1
superimposing xyplots on same scale
I have two xyplots that i want to superimpose (code below). By default they
are displayed on slightly different y scales (one runs from 10 to 25, the
other from 10 to 30). I would like to force them both onto the same scale
(10 to 30) so the relation between the two is clear. Is there a way to do
this?
thanks much
pct_compl_chart <- xyplot(pct_compl ~ date,
col="red",
2008 Jan 30
2
Concatenate xyplots
Dear R-community,
I created 5 different xyplots and graphed all of them with the print command on one page (e.g.
print(graph1, split=c(1,1,1,5), more = T)
... print(graph5, split=c(1,5,1,5), more =T)
Using the above commands separates each graph by a white space. However, since the graphs do share the same x-axis, I was wondering if there is a way to concatenate graph1 through 5 so
2008 Oct 04
1
Number format in log-scaled lattice xyplots
For a non-log-scaled y-axis, I was able to change the appearance of the
y tick labels in an xyplot by using a custom function for
yscale.components. However I couldn't get that approach to work for when
scales=list(y=list(log=TRUE)).
What I'm trying to do is make the y-tick labels show up as something
like (10, 100, 1000, etc.) rather than the default (10^1.0, 10^2.0,
10^3.0, etc.).
2009 Nov 25
2
order of panels in xyplots
I'd like do a simple xyplot with customized order of panels and try to
understand how to use index.cond for that. Several attempts didn't
deliver the correct results. Now, I noticed the following:
> p <- xyplot(dur~roi|trial, data)
> p$index.cond
[[1]]
[1] 1 2 3 4 5 6 7 8 9 10
These numbers are "valid indexing vector for the integer vector
2009 Oct 27
2
Print several xyplots to the same page in a pdf file
Hello everybody,
I'm using the lattice package and the xyplot to make several graphs like below. However, I can just print the three grouped plots onto one page as I'm putting them into a pdf-file, which gives me a huge amount of pages... Is it possible to put them all, or at least more than one on the same page, for instance put three groups beside each other like columns?
...
2004 Feb 23
2
Error in multiple xyplots
Dear R-listers,
I got an error when I try to plot two grouped data into a single
win.metafile device:
library(lattice)
trellis.device(device="win.metafile",color=F,filename="Profiles-Var1.wmf")
par(mfrow=c(1,2))
# First plot
xyplot(log(v)~t|id,data=Con.20,
main="Group A: Control, Var-1",
xlab="ocasion",ylab="var1",
panel=function(x,y) {
2009 Jul 10
2
changing point style in xyplots depending on groups
hi,
i've got the following and would like to set the point style for A, B
and C myself (eg pch=1, 6 and 16)
library(lattice)
df <- data.frame(x = log(c(1, 0.5 ,0.2 ,0.12 ,0.06, 1, 0.5 ,0.2,
0.12,0.06, 1, 0.5 ,0.2 ,0.12,0.06)),
y = c(1, 2, 5, 14, 24, 51, 50, 50, 49, 54, 100, 101, 103, 97, 95),
gr =
2005 Sep 28
3
xyplots
Hi All,
I have a four panel xyplot. I wish to plot each point as an open or
filled circle depending on the value of an indicator variable.
I assume I need to use panel.superpose(), but I can't figure out the
syntax from lattice documentation.
Running R 2.1 under Mac OS X 10.4.2.
Any suggestions would be appreciated.
Nathan
Nathan Leon Pace, MD, MStat
University of Utah
Salt Lake
2007 Sep 05
2
Multiple xyplots
Hi everyone,
I'm hoping you can give me some pointers. I have a requirement to draw
multiple (103) xy line plots onto one output device. Ideally the plots
should be displayed in a hexagonal grid (example at
www.maladmin.com/example.jpg). I can calculate the locations for each
waveform but am wondering how to create multiple plotting areas. I have
come accross references to a package grid
2005 Oct 11
1
aligning column of xyplots and removing space between them
The code below displays three graphs in three rows and one column but:
1. I want to remove the space between the graphs (I tried playing with position=
arg to print.trellis but it seems quite difficult to get the right
values and all
my attempts had space between them or had overlapping graphs. Is
there a better way to do this?
2. the widths of the plots are not the same even though I specified
2010 Aug 13
2
Lattice xyplots plots with multiple lines per cell
Hello,
I need to plot the means of some outcome for two groups (control vs
intervention) over time (discrete) on the same plot, for various subsets
such as gender and grade level. What I have been doing is creating all
possible subsets first, using the aggregate function to create the means
over time, then plotting the means over time (as a simple line plot with
both control & intervention