search for: kaom

Displaying 7 results from an estimated 7 matches for "kaom".

Did you mean: kam
2006 Oct 05
1
Aggregate Values for All Levels of a Factor
...3 green 4.0 4 orange NA Is this possible. I've read as much documentation as I can find, but am unable to find the solution. It seems like something people would need to do. So I would assume it must be built in somewhere or do I need to write my own version of aggregate? Thanks in advance, Kaom -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFJYrLaaZgZdCbWv4RApNoAJ9jqKXne3IlQnd+PprS+7Kz1l4oRACfeu5I Nv/xYWVsSGJD5+fdCP+02jk= =b5TI -----END PGP SIGNATURE-----
2007 Sep 08
1
ggplot legend consolidation
...l other legends\nand place a\nsingle one here") ------------------------------- END CODE See how there are 3 legends when there only needs to be one? I would like to remove the 3 legends and place them with a single legend in the space in the lower right. Thanks for your help. Regards, Kaom Te Charles Schwab Investment Management (CSIM) 120 Kearny Street, 14th Floor San Francisco, CA 94108 E-mail: kaom.te at schwab.com <mailto:kaom.te at schwab.com> WARNING: All email sent to or from the Charles Schwab corporate email system is subject to archiving, monitoring and/or review...
2008 Oct 20
1
passing a list where names arguments are expected
hi, say i have a function f and i'd like to to call it like this: 1) f(list(a=...,b=...)) but i can't do it, because f is defined as: 2) f<-function(a=NULL,b=NULL){...} is there a way that i can approximate 1), such as mapping list(a=,...b=...) to "list(a=,...b=...)" and then replacing "list" by "f", and then evaluating the expression? thanks.
2007 May 12
0
How to Derive an S4 Class from a data.frame?
...rame", + data.frame(col1 = c(1,2,3), + col2 = c("four", "five", "six")), + mysize = 12) An object of class "MyDataFrame" NULL data frame with 0 rows Slot "mysize": [1] 12 > > Anyone have any suggestions? Regards, Kaom Te -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGResKaaZgZdCbWv4RAh9mAJ9O+PWekZDtqhhyoCn64Di5IWZvgACfQqW4 apYvfKs8OVnn5tkq867pgKQ= =EP0J -----END PGP SIGNATURE-----
2008 Oct 20
3
Trying to pass arrays as arguments to a function
I'd like to avoid looping through an array in order to change values in the array as it takes too long. I red from an earlier post it can be done by "do.call" but never got it to work. The Idea is to change the value of "y" according to values in "x". Wherever "x" holds the value 3, the corresponding value in "y" should be set to 1. So I
2008 Oct 26
3
Process dataframes from list
Hi all, I have roughly fifty dataframes and a dataframe with the names of the fifty dataframes. I want to perform the same set of manipulations on all fifty dataframes, but can't find a way to batch process from a list with the dataframe names using a loop. Is there a way to read the file names from the dataframe with the names and then call the referenced dataframe? This would save me a
2008 Oct 20
3
The evaluation of optional function arguments
Dear R-helpers, I've got two functions; callTimes() calls times(), passing it an optional argument (bar) by name (bar=harry). times() then believes it has been passed a name, rather than a value ? but I want the value, not the name. Worse, if I evaluate the name, it is evaluated in the environment times() was defined, not where it is called. How can I call times(), defining its optional