Displaying 2 results from an estimated 2 matches for "dife".
Did you mean:
die
2006 Mar 03
3
Pluralisation issue?
...;m having trouble with rails and a table named ''dives''. It seems to
work fine if I try it with another table name. I''ve generated the
scaffold with the script and have not made any modifications to it. When
I try to run the dives controller it starts looking for ''dife.rb'' and
fives me ''uninitialized constant Dife''.
Is this a known issue?
I''m using rails 10. and ruby 1.8.4
Thanks,
David
2009 Feb 13
0
lists on a script
...12):nn]);
if (xor((prsup/prinf)>s,(prinf/prsup)>s)) {ind4<-c(ind4,m)}};
crit3<<-ind4;
So far so good (aparently). I mean, the "crit3" set it's ok. But, the next
paragraph:
ind5<-integer();
for (k in ind4){
print(k); #to know when the error happens
dife<-numeric();
l<-length(foo[[k]]);
print(l);
print(foo[[K]]) #to know why the error happens
for (i in 9:(l-8)){
minf<-median(foo[[k]][(i-8):(i-1)]);
msup<-median(foo[[k]][(i+1):(i+8)]);
dife[i]<-abs(ceiling((msup-minf)))};
st<-which(dife==max(abs(dife),na.rm=T));...