Displaying 3 results from an estimated 3 matches for "stop_date".
2011 Apr 20
3
[test message] Can R replicate this data manipulation in SAS?
...ides whether that constitutes
HAART or not.
To me, this is a pretty tricky data manipulation in SAS. Is there
any way to get the equivalent result in R?
Thanks,
Paul
**** SAS syntax for coding HAART in HIV patients;
**** Read in test data;
data haart;
input id book_class $ start_date :mmddyy. stop_date :mmddyy.;
format start_date stop_date mmddyy8.;
cards;
1004 NRTI 07/24/95 01/05/99
1004 NRTI 11/20/95 12/10/95
1004 NRTI 01/10/96 01/05/99
1004 PI 05/09/96 11/16/97
1004 NRTI 06/01/96 02/01/97
1004 NRTI 07/01/96 03/01/97
9999 PI 01/02/03 .
9999 NNRTI 04/05/06 07/08/09
;
run;
proc print...
2008 Jul 12
3
calculations on nested resources
Hi,
I can''t seem to find a solution to the folowing problem.
I have 3 resources that are all bound to eachother like this:
class Item < ActiveRecord::Base
belongs_to :item_category
// has a date and amount attr
end
class ItemCategory < ActiveRecord::Base
has_many :items
has_many :item_tops
// groups the items in categories
end
class ItemTop < ActiveRecord::Base
2009 May 05
3
Oracle-JRuby error
...-2.2.2/lib/active_record/dirty.rb:161:in
`field_changed?''
C:/jruby-1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/dirty.rb:135:in
`write_attribute_with_dirty''
C:/jruby-1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:216:in
`stop_date=''
C:/jruby-1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:2587:in
`attributes=''
C:/jruby-1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:2583:in
`each''
C:/jruby-1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active...