, and some others, but I think
I'm barking up the wrong tree. Any pointers would be most
appreciated.
--
--Ed L Cashin| PGP public key:
[EMAIL PROTECTED]| http://noserose.net/e/pgp/
__
[EMAIL PROTECTED] mailing list
https
Gabor Grothendieck [EMAIL PROTECTED] writes:
...
R f - function(x) paste(as.character(substitute(x)),x)
R z - 3
R f(z)
[1] z 3
Fantastic. Works like a charm.
--
--Ed L Cashin| PGP public key:
[EMAIL PROTECTED]| http://noserose.net/e/pgp
a character that is very
unlikely to occur in a factor level.
I definitely want to be cautious. Instead of the bell character I
think I'll use the field separator character, \034, just because
this is the first time I've been able to use it for it's intended
purpose! ;)
--
--Ed L Cashin
Douglas Bates [EMAIL PROTECTED] writes:
Ed L Cashin [EMAIL PROTECTED] writes:
...
I think I need to look at the source of split when I have more time.
?split is probably a better place to start.
I've read that, so I think I need more nitty gritty.
[1] If you really want to be cautious you
...
: 3
: 2
: 43
a b c
31 3 2 43
...
merge(b)
Error in as.data.frame.default(x) : can't coerce by into a data.frame
Any help is most appreciated.
--
--Ed L Cashin| PGP public key
= )))
$14
a b c
1 1 4 31
11 1 4 41
$23
a b c
2 2 3 32
21 2 3 42
$32
a b c
3 3 2 33
31 3 2 43
$41
a b c
4 4 1 34
41 4 1 44
$410
a b c
12 41 0 0
--
--Ed L Cashin| PGP public key:
[EMAIL PROTECTED
Ed L Cashin [EMAIL PROTECTED] writes:
...
Is there a way to tell aggregate just do perform median on column runtime to
select the whole row?
Some helpful folks have emailed me requesting more info about what I'm
trying to do. Here's a simple R function to produce a data frame like
the one I
20
3 clean 7 10
It's more complicated in my case, because I have not just one a
column, but about eight columns that have to be the same. I can do
this with clumsy loops, but I wonder whether there's a better way.
--
--Ed L Cashin| PGP public key
Ed L Cashin [EMAIL PROTECTED] writes:
Hi. I am having trouble thinking of an easy way to grab rows out of a
data frame. I want to select the rows with a median value when the
rows are similar.
I'm still catching up on my R list reading, and I notice there is a
similar post to mine
Ed L Cashin [EMAIL PROTECTED] writes:
Ed L Cashin [EMAIL PROTECTED] writes:
Hi. I am having trouble thinking of an easy way to grab rows out of a
data frame. I want to select the rows with a median value when the
rows are similar.
I'm still catching up on my R list reading, and I notice
NNTP, since
gmane acts as a gateway for the R mailing list.
www.gmane.org
It has several anti-spam features in place already. So if you want to
switch, it's very easy. Just point your favorite news client to
news.gmane.org and start reading gmane.comp.lang.r.general.
--
--Ed L Cashin
Marc R. Feldesman [EMAIL PROTECTED] writes:
At 12:28 PM 3/17/2004, Ed L Cashin wrote:
I hope this response isn't indicative of the speed with which gmane
posts messages. I think this entire thread was more than 7 or 8
months ago, possibly longer.
Your hopes are fulfilled. The reason
12 matches
Mail list logo