Displaying 3 results from an estimated 3 matches for "prab".
Did you mean:
grab
2008 Apr 03
3
Overloading and wrapping an association method
Hi all:
For example I have:
class Color < ActiveRecord::Base
belongs_to :ball
end
class Ball < ActiveRecord::Base
has_many :colors
end
What I want to do is to write a method that:
1. takes the result of Ball#colors, which is an array of Color objects
2. do something with the array
3. return the result
but I want to name my method Ball#colors, i.e. I want to overload the
generated
2004 May 04
1
spdep question
...I am trying to use package spdep for fitting an SAR model with errorsarlm.
However, I am not sure how to make a valid nb object out of my
neighborhood. As far as I have seen, there is no documentation for
nb.object.
I have done the following:
class(pschmid$nb) <- "nb"
# pschmid is a prab object as generated from function prabinit, package
# prabclus, and the neighborhood looks as follows:
> unclass(pschmid$nb)
[[1]]
[1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
[[2]]
[1] 1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
[[3]]
[1] 1...
2012 Feb 10
0
[LLVMdev] Paulo Coutinho left a message for you...
...ge exchange system. To find out what's in the message, just follow this link:
http://us1.badoo.com/pcmnac/in/GUikHjCbJWY/?lang_id=3&m=63&mid=4f347a7e000000000003000027ee8a5b
Some more patiently waiting folks:
Alysson (San Francisco, CA, United States)
Amb (San Francisco, United States)
Prab (New Delhi, India)
Italo (Campina Grande, Brazil)
http://us1.badoo.com/pcmnac/in/GUikHjCbJWY/?lang_id=3&m=63&mid=4f347a7e000000000003000027ee8a5b
If the link in this message does not work, try copying and pasting it into your browser.
This email is part of our delivery procedure for the...