Displaying 3 results from an estimated 3 matches for "conplete".
Did you mean:
complete
2010 Feb 20
2
Extending Rails
...ess my Models, like "User.all".
I tried to add a class in the lib/ folder but then ruby complains that
e.g. "User.all" with "NameError: uninitialized constant "
Is there a way to inherit my Rails functionality in a ruby class in
the /lib folder? Or am I going in the conplete wrong direction?
Thanks and all the best!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, s...
2004 Jul 11
2
Interpreting Results of Bootstrapping
I tried to bootstrap the correlation between two
variables x1 and x2. The resulting distribution has
two distinct peaks, how should I interprete it?
The original code is attached.
Y. C. Tao
----------------
library(boot);
my.correl<-function(d, i) cor(d[i,1], d[i,2])
x1<-c(-2.612,-0.7859,-0.5229,-1.246,1.647,1.647,0.1811,-0.07097,0.8711,0.4323,0.1721,2.143,
2004 Jul 12
0
Where does R search when source() ?
...781,0.5434,-0.4957,
| > >
| >
| 0.02557,-1.406,-0.5053,-0.7345,-1.314,0.3178,-0.2108,
| > > 0.4186,-0.03347);
| > >
| > > b<-boot(cbind(x1, x2), my.correl, 2000)
| > > hist(b$t, breaks=50)
| >
| > [The above rearranged to have 7 values in each
| > conplete line]
| >
| >
| >
| >
| --------------------------------------------------------------------
| > E-Mail: (Ted Harding) <Ted.Harding at nessie.mcc.ac.uk>
| > Fax-to-email: +44 (0)870 167 1972
| > Date: 11-Jul-04
| > Time: 10:40:34
| > ------------------------------...