search for: allfirms

Displaying 1 result from an estimated 1 matches for "allfirms".

Did you mean: allfiles
2004 Jun 17
2
Question on lists and vectors of lists
...lename) and it will give me back two numbers x and y. I could say: l = think_one_firm("blah") print(l$x); print(l$y); and all would be fine. What I want to do is: To tuck away the returned lists into a vector or a data frame. At the end, I would like to endup with a data structure allfirms containing one 'row' for each firm. I guess this could be a data frame, or a matrix, or a vector of lists (if such a thing exists). In case it's a data frame, I would say allfirms$x[400] to access the 'x' value returned for the 400th firm. How would I do this? -- Ajay Shah...