Displaying 6 results from an estimated 6 matches for "ref3".
Did you mean:
ref
2013 May 02
3
Lattice xyplot multipanels
...ed(q$grp, levels=unique(q$grp))
q$dcol <- unlist(sapply(q$D,function(x)
switch(x,"D1"="orange","D2"="blue","D3"="red", "D4"="seagreen",
"D5"="black")))
q2 <- q[order(q$G,q$D,q$a,q$t),]
ref3 <- subset(q2, !duplicated(a))
xyplot(b~t|G,data=q2,groups=grp,type="l",as.table=T,
layout=c(3,1), par.strip.text = list(lines = 2),
panel=panel.superpose,
panel.groups=function(x=x,y=y,subscripts=subscripts,groups=groups,...,group.number)
{
require(grid)
panel....
2013 Apr 30
0
Grouped spaghetti plots in multipanel graphs
...ed(q$grp, levels=unique(q$grp))
q$dcol <- unlist(sapply(q$D,function(x)
switch(x,"D1"="orange","D2"="blue","D3"="red", "D4"="seagreen",
"D5"="black")))
q2 <- q[order(q$G,q$D,q$a,q$t),]
ref3 <- subset(q2, !duplicated(a))
xyplot(b~t|G,data=q2,groups=grp,type="l",as.table=T,par.settings=my.theme,
layout=c(3,1), par.strip.text = list(lines = 2),
scales=list(x=list(rot=90,rela='free',cex=1.3),
y=list(log=F,at=10**c(0:7),labels=10**c(0:7))),...
2012 Feb 20
1
counting characters starting point
I have three character strings represented below as seq1, seq2, and seq3. Each string has a reference character different from the other. Thus, for seq1, the reference character is U, seq2, S (3rd S from left where A is leftmost character) and for seq3 Y.
seq1 = PQRTUWXYseq2 = AQSDSSDHRSseq3 = EEZYJKFFBHO
I wish to generate a 3 by 26 matrix where 3 represent seq1, seq2, seq3 and 26 the letters of
2011 Jul 06
3
Reshape from long to wide format with date variable
...data.frame(id,date,ref)
> data1
id date ref
1 034 1997-09-28 2
2 034 1997-10-06 2
3 016 1997-11-04 1
4 016 2000-09-27 1
5 016 2003-07-20 2
6 340 1997-11-08 1
7 340 1997-11-08 1
I would like to have it like this:
> data2
id date1 date2 date3 ref1 ref2 ref3
1 034 1997-09-28 1997-10-06 NA 2 2 NA
2 016 1997-11-04 2000-09-27 2003-07-20 1 1 2
3 340 1997-11-08 1997-11-08 NA 1 1 NA
All I tried the reshape package but ended up in multiple variables for each
of the dates and that is not what I would like to have.
Tha...
2012 Jun 23
9
[PATCH 0/5] btrfs: lz4/lz4hc compression
WARNING: This is not compatible with the previous lz4 patchset. If you''re using
experimental compression that isn''t in mainline kernels, be prepared to backup
and restore or decompress before upgrading, and have backups in case it eats
data (which appears not to be a problem any more, but has been during
development).
These patches add lz4 and lz4hc compression
2012 Jan 15
0
patching ?merge to allow the user to keep the order of one of the two data.frame objects merged
...<- data.frame(
ref = c( 'Ref1', 'Ref2' )
, label = c( 'Label01', 'Label02' )
)
y <- data.frame(
id = c( 'A1', 'C2', 'B3', 'D4' )
, ref = c( 'Ref1', 'Ref2' , 'Ref3','Ref1' )
, val = c( 1.11, 2.22, 3.33, 4.44 )
)
x
y
merge( x, y, by='ref', all.y = T, sort=F )
merge( x, y, by='ref', all.y = T, sort=F, keep_order = 1 ) # this
wouldn't "help" (since we wanted to order the merged df using y)...