[R] gplot data manipulation question

vamshi999 vamshi999 at gmail.com
Sat Aug 27 08:55:02 CEST 2011


i have this data with me...i am only copying part of data here... 
date                  time
"2011-05-23"	"04:31:17"
"2011-05-23"	"04:31:20"
"2011-05-23"	"04:31:22"
"2011-05-23"	"04:31:25"
"2011-05-23"	"04:31:27"
"2011-05-23"	"04:31:18"
"2011-05-23"	"04:31:20"
"2011-05-23"	"04:31:22"
"2011-05-23"	"04:31:25"
"2011-05-23"	"04:31:27"
"2011-05-23"	"04:31:26"
"2011-05-23"	"04:31:28"
"2011-05-28"	"08:16:14"
"2011-05-28"	"08:16:58"
"2011-05-28"	"08:16:22"
"2011-05-28"	"08:16:24"
"2011-05-28"	"08:16:27"
"2011-05-28"	"08:16:29"
"2011-05-28"	"08:16:32"
"2011-05-28"	"08:16:19"
"2011-05-28"	"08:16:21"
"2011-05-28"	"08:16:24"
"2011-05-28"	"08:16:26"

and other data hours.1 -[1] 4.5   3.4

hours.1 data is the total no.of hours of data on those particular dates. i
have the data on 2011-05-23 for 4.5 hours and data on 2011-05-28 for 3.4
hours. 

for representing the count data using gglots i am using the following
command 

 ggplot(dat,aes(factor(date))+ geom_bar(position="dodge"). 

now i am looking for representing the normalized data. i want to represent
the table(data)/hours.1 output with ggplot. i can use the barplot function,
but the graphics are good in and labeling x-axis is easy in ggplots. 

i would appreciate if someone can reply asap.. 
thank you .. 

--
View this message in context: http://r.789695.n4.nabble.com/gplot-data-manipulation-question-tp3772664p3772664.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list