[R] Can a data.frame column contain lists/arrays?

2007-02-12 Thread Christian Convey
I'd like to have a data.frame structured something like the following: d - data.frame ( x=list( c(1,2), c(5,2), c(9,1) ), y=c( 1, -1, -1) ) The reason is this: 'd' is the training data for a machine learning algorithm. d$x is the independent data, and d$y is the dependent data. In

[R] Newbie: how to get unique x unique x aggregate chart?

2006-11-15 Thread Christian Convey
I'm very new to R, so please forgive me if I just missed the answer in existing documentation... I have a data set with at least three columns, X, Y, and Z. I want to produce a chart where one axis shows all the unique values of X, and the other axis shows all the unique values of Y. Each cell

Re: [R] Newbie: how to get unique x unique x aggregate chart?

2006-11-15 Thread Christian Convey
it with appropriate values of z. Then pass that to heatmap or image. Hope that helps--feel free to tell me if I've answered the wrong question, Jeff. On Nov 15, 2006, at 8:30 AM, Christian Convey wrote: I'm very new to R, so please forgive me if I just missed the answer in existing documentation

Re: [R] Newbie: how to get unique x unique x aggregate chart?

2006-11-15 Thread Christian Convey
That did it! Thanks Marc. - Christian On 11/15/06, Marc Schwartz [EMAIL PROTECTED] wrote: On Wed, 2006-11-15 at 15:03 -0500, Christian Convey wrote: Thanks, let me try to clarify my question with an example. Suppose I have the following data: Gender, Major, Course-Grade F, Psy