Re: [R] densities from a list with data.frames

2008-04-11 Thread Antje
Probably, I should read emails more carefully... sorry!!! Of course, this solves my problem. Thank you very much! Charilaos Skiadas schrieb: > Did you try Richie's suggestion? The x[,1] part will pick out the first > column of the data frame. Seems to do exactly what you asked for. > > Haris S

Re: [R] densities from a list with data.frames

2008-04-11 Thread Charilaos Skiadas
Did you try Richie's suggestion? The x[,1] part will pick out the first column of the data frame. Seems to do exactly what you asked for. Haris Skiadas Department of Mathematics and Computer Science Hanover College On Apr 11, 2008, at 7:57 AM, Antje wrote: > Of course, I know, but I cannot app

Re: [R] densities from a list with data.frames

2008-04-11 Thread Antje
Of course, I know, but I cannot apply the function "density" to a data frame (which is the element of the list) but to a vector coming from a data frame. That's my problem I'd like to solve... [EMAIL PROTECTED] schrieb: >> I have a list which consists of data frames (all data frames have the

Re: [R] densities from a list with data.frames

2008-04-11 Thread Richard . Cotton
> I have a list which consists of data frames (all data frames have the same > amount and type of columns but different length). > Now, I'd like to calculate for each data frame in the list the > density function > of the values of the fist column ($V1). > > This list could be an example: > >

[R] densities from a list with data.frames

2008-04-11 Thread Antje
Hi there, I have a list which consists of data frames (all data frames have the same amount and type of columns but different length). Now, I'd like to calculate for each data frame in the list the density function of the values of the fist column ($V1). This list could be an example: l <- lis