search for: createperson

Displaying 2 results from an estimated 2 matches for "createperson".

Did you mean: create_person
1997 Nov 02
0
R-beta: A vector of lists == Data Frame?
...ied Statistics with S-plus" (Venables and Ripley, 1994) it seems that a data frame is more like a list of vectors (all of the same length) than a vector of lists. What is the most common R/S idiom for creating a vector of lists and then adding new lists to it? To be more specific, if "CreatePerson" is a function that returns a list characterising that person, how do I implement the following pseudo-code in R Person[ i ] <- CreatePerson( param1, param2 ) Where Person[ 1000 ] is a vector of lists of the type returned by the "CreatePerson" function? When I'm done, I w...
2012 Jul 21
3
Attributes in classes db/migrate or app/models
Hello, I''ve got some experience in Java, and recently, I''ve begun to practice with Rails. One of the things that has surprised to me, after I''ve read some books, it''s that classes hasn''t got attributes; the attributes are in the files db/migrate/*. After that, the ORM makes the mapping with de Database. But the attributes aren''t in the files