Displaying 2 results from an estimated 2 matches for "indexdate".
Did you mean:
indexdata
2012 Jun 13
1
what does .indexDate() do - R::xts
Dear R experts,
I am learning the very useful XTS package, but cannot figure out the
purpose of some commands.
in particular, the .indexDate() command does not work as expected.
say:
x <- timeBasedSeq('2010-01-01/2010-01-02 12:00')
x <- xts(1:length(x), x)
then i can subset on date as follows:
x['2010-01-01']
however the .indexDate() command does not work as expected; in
particular the following does not retur...
2006 May 08
0
testing named routes
...:index'', :action => ''index'', :requirements => { :index => /index(artist|date|title)\.html/ }, :index => ''new''
etc...
end
and my test:
opts = { :controller => "films", :action => "index", :index => "indexdate.html" }
assert_routing overviews_url(:controller => "films", :index => "indexdate.html"), opts
which gives me:
2) Error:
test_routes(FilmsControllerTest):
NoMethodError: You have a nil object when you didn''t expect it!
The error occured while evaluatin...