Displaying 2 results from an estimated 2 matches for "ecd_rhythm".
2011 Jan 18
2
ggplot2, geom_hline and facet_grid
...to do Bland-Altman style plots for each rhythm type
Using ggplot2, when I use geom_hline with facet_grid I get an extra set of empty panels.
I can't get it to do it with the "Diamonds" data supplied with the package so here is a (much abbreviated) example:
> lvexs
cvd_basestudy ecd_rhythm fixed_time variable_time
1 CBP05J02 AF 30.9000 29.4225
2 CBP05J02 AF 33.1700 32.0350
3 CBP05J02 AF 32.5700 30.2775
4 CBP05J02 AF 32.0550 33.7275
5 CBP05J02 SINUS 30.9175 28.3475
6 C...
2011 Apr 28
1
Extract complete rows by group and maximum
...ll the data for the maximum line?
(dput output from first 5 rows of my actual dataframe follows)
Any help would be much appreciated. Thanks in advance
Sandy Small
structure(list(cvd_basestudy = c("study1", "study2", "study2",
"study3", "study3"), ecd_rhythm = structure(c(5L, 5L, 5L, 5L,
5L), .Label = c("AF", "FLUTTER", "PACED AF", "SCRAP", "SINUS",
"UNSURE"), class = "factor"), cvd_frame_mode = structure(c(2L,
2L, 2L, 2L, 2L), .Label = c("fixed_time", "variable_time&q...