Displaying 3 results from an estimated 3 matches for "charid".
Did you mean:
charit
2010 Aug 30
4
different interface to by (tapply)?
...and
having the right names for the columns. ?I don't know how to do this
quickly in the R way. ?(Doing it slowly, e.g., with a for loop over
the list of vectors, is easy, but would not make a nice function for
me to use often.)
for example, lets say my by() output is currently
by( indf, indf$charid, function(x) c(m=mean(x), s=sd(x)) )
$`A`
[1] 2 3
$`B`
[2] 4 5
then the revised by() would instead produce
charid ?m ?s
A ? ? ? ? ?2 ?3
B ? ? ? ? ?4 ?5
working with data frames is often more intuitive than working with the
output of by(). the R wizards are probably chuckling now about how
easy...
2011 Mar 25
1
[LLVMdev] Named metadata to represent language specific logic
...; union U { int a; int b:3; int c:3; char d; }
%union.U = type { i32 }, !union;
!union = metadata { metadata !U.a, metadata !U.bc, metadata !U.d };
!U.a = metadata { metadata !intID, metadata !"align", i8 4 };
!U.bc = metadata { metadata !U.b, metadata !U.c };
!U.b = metadata { metadata !charID, metadata !"align", i8 4, metadata
!"size", i8 3 };
!U.c = metadata { metadata !charID, metadata !"align", i8 4, metadata
!"size", i8 3, metadata !"offset", i8 3 };
!U.d = metadata { metadata !charID, metadata !"align", i8 4 };
;=========...
2007 Jun 30
1
HABTM ReadOnlyRecord
...table called characters_learning_abls that is a
habtm relation between characters and learning_abls.
The characters_learning_abls table looks like this:
**
character_id int(11) unsigned
learning_abls_id int(11) unsigned
amount double
**
Why cant i update this table though the
**
Character.find(charId).learning_abls.find(ablId).update_attributes({:amount
=> 10}) **
Best regards, Emil
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group....