search for: apr_data1

Displaying 1 result from an estimated 1 matches for "apr_data1".

Did you mean: acr_data
2010 Sep 02
0
extract month data automatically
...t monthly data automatically using a code.  Given are my sample data. I know how to do one by one: jan_data1 <- Pooraka_data[Pooraka_data$Month=="1",4] feb_data1 <- Pooraka_data[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_data...