Displaying 3 results from an estimated 3 matches for "mergedata".
Did you mean:
mergeddata
2009 Nov 25
1
draw circle on PCA plot
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091125/bf6c327e/attachment-0001.pl>
2006 Jan 31
0
lattice: combining panel.xyplot with panel.abline - is thispossible?
...xyplot(y~time|id, data=dat,type='l',
panel=function(x,y,subscripts,...){
panel.xyplot(x,y,subscripts,...)
panel.abline(v=dat[subscripts,"cm1"])
panel.abline(v=dat[subscripts,"cm2"])
}
)
Since I don't know what the dataframe 'mergeData' is I have used 'dat'.
Best regards
Frede Aakmann T??gersen
Scientist
Danish Institute of Agricultural Sciences
Research Centre Foulum
Dept. of Genetics and Biotechnology
Blichers All?? 20, P.O. BOX 50
DK-8830 Tjele
Phone: +45 8999 1900
Direct: +45 8999 1878
E-mail: FredeA.Tog...
2006 Jan 31
0
lattice: combining panel.xyplot with panel.abline - is this possible?
...3 2 4 4.5 1.2024161
13 3 3 4 4.5 0.1784666
14 3 4 4 4.5 -1.3260668
15 3 5 4 4.5 -0.2711263
I would like to plot y against time with a panel for each id, i.e. with something like
xyplot(y~time|id, data=dat,type='l') or
xyplot(currCow.mean~currCow.cm|cowid, data=mergeData, type='l',
panel=function(x,y,...){
panel.xyplot(x,y)
}
)
Then, I would additionally like to have two vertical lines in each panel, and these are defined by cm1 and cm2. My understanding of xyplot is that id will give a partitioning of data into subsets, so I expected to be able t...