search for: vadeaths_flat_df

Displaying 3 results from an estimated 3 matches for "vadeaths_flat_df".

2009 Feb 02
1
Broke ggplot...
...t maybe it is because the caffeine has worn off or maybe it is late in the day.   I thought I was beginning to understand ggplot, but I have encountered a silly little issue.   For some reason the following does not produce a histogram with fill due to the Person's characteristics: (Note that VADeaths_flat_df$Data works fine...)     VADeaths_df<-data.frame(VADeaths) VADeaths_flat_tmp1<-data.frame(Data=as.numeric(as.character(VADeaths_df$Rural.Male)), Person="Rural.Male") VADeaths_flat_tmp2<-data.frame(Data=as.numeric(as.character(VADeaths_df$Rural.Female)), Person="Rural.Female&q...
2009 Feb 04
1
In qplot, is it possible to switch the location of axis_h and strip_h?
...ed a plot where I would like to have the strip_h on the bottom and the axis_h on the top of the facet plot.   Is that possible?       P.S. I figured out how to not show the x-axis ticks, while still showing the x-lablel. There is probably a better way, but here is what I found that seems to work: VADeaths_flat_df = stack(as.data.frame(VADeaths)) names(VADeaths_flat_df) = c('Data','Person')   counts <- ddply(VADeaths_flat_df, .(cut(Data, breaks=fullseq(range(Data), 20)), Person), nrow) names(counts) <- c("bin", "person", "n") qplot(person, n, data = counts...
2009 Feb 04
0
Two issues with ggplot2 - grid.gedit doesn't work from source file & grid.gedit effects are not preserved
...eting (1).  Navigate to the location of the output and open TestCode.pdf.  Notice that the PDF does not preserve the requested RED font.  Is this expected?  Is there a work around?   Should a different publishing type be used to preserve the grid.gedit change?   # source("C:/TestCode.R") VADeaths_flat_df = stack(as.data.frame(VADeaths)) names(VADeaths_flat_df) = c('Data','Person')    counts <- ddply(VADeaths_flat_df, .(cut(Data, breaks=fullseq(range(Data), 20)), Person), nrow) names(counts) <- c("bin", "person", "n") qplot(person, n, data = coun...