Re: [R] adding labels to tapply results

2008-09-29 Thread Dieter Menne
eric lee gmail.com> writes: > How do I get labels onto the output from tapply? I need the labels to merge > the output with another data frame. Thanks. > > eric > > d <- data.frame(cbind(x=1:3, y=1:10)) > a <- with(d, tapply(y, x, sum)) > By taking the warning seriously. > d <- data.frame

Re: [R] adding labels to tapply results

2008-09-29 Thread Greg Snow
Healthcare [EMAIL PROTECTED] 801.408.8111 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of eric lee > Sent: Monday, September 29, 2008 6:46 AM > To: r-help@r-project.org > Subject: [R] adding labels to tapply results > &

[R] adding labels to tapply results

2008-09-29 Thread eric lee
Hi, How do I get labels onto the output from tapply? I need the labels to merge the output with another data frame. Thanks. eric d <- data.frame(cbind(x=1:3, y=1:10)) a <- with(d, tapply(y, x, sum)) [[alternative HTML version deleted]] __ R