search for: jan_data2

Displaying 2 results from an estimated 2 matches for "jan_data2".

2010 Sep 02
0
extract month data automatically
...Pooraka_data$Month=="2",4] mar_data1 <- Pooraka_data[Pooraka_data$Month=="3",4] apr_data1 <- Pooraka_data[Pooraka_data$Month=="4",4] ... then i try: p0_mn <- function(dt) {  p0 <- sum(dt==0)/length(dt)    mn <- mean(dt)    c(p0=p0, mn=mn) } rbind(p0_mn(jan_data2),p0_mn(feb_data1), p0_mn(mar_data1),p0_mn(apr_data1),p0_mn(may_data1),p0_mn(jun_data1),p0_mn(jul_data1), p0_mn(aug_data1),p0_mn(sep_data1),p0_mn(oct_data1),p0_mn(nov_data1),p0_mn(dec_data1)) ) > head(Pooraka_data,20); tail(Pooraka_data,20)    Year Month Day Amount 1  1901     1   1    0.0 2 ...
2008 May 09
7
histogram
Dear R-expert, For histogram function, can we get the table of bin and frequency like in excel, together with the histogram? Therefore, we can check the number of data included. Thank you so much for your attention and help. ____________________________________________________________________________________ [[elided Yahoo spam]]