search for: time_span

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

2008 Sep 30
0
Root-Mean-Square(RMS) Difference
...als # (saved in seperate file by write.table) testfit1$residuals # modeled.residuals# (saved in seperate file by write.table) I am interested to to see climatology of RMS difference (all Jan months, all Feb months, all March months,.............,all Dec months), So I am computing like following: time_span <- file[(file$mo==1),] # for 'Jan' month (similarly for other months) time_span sub_seaobs <- (time_span$observed. residual) sub_seaobs sub_seatm3 <- (time_span$modeled.residual) sub_seatm3 sqrt(sum((sub_seaobs-sub_seatm3)^2)/n) # 'n' is number of observation in particular...
2007 Mar 13
6
Easy Date question - newb
All I want to do is find the objects that were created today under the ''created_on'' column. I''ve tried many ways, here is one example using the chronic gem. @products = Product.find_all_by_created_on(Chronic.parse(''today'')) I must be missing something right in front of me .... Thanks for any help.