[R] transforming column of a dataframe by var- and median-functions

2008-03-09 Thread Agrarimmobilien
Hello, I try to transform a data frame like ABC 112,5 22NA 311,0 4156 5223 61NA 7246 to the following dataframe, calculating the variance and median of the C-column,

[R] R-Commander - pie charts menu blinded out

2008-02-05 Thread Agrarimmobilien
Hello, I hope somebody can help me. I'm using the R-comander with library(Rmcdr). Using the menu, I added an new data-matrix . After I wanted to draw a pie chart, but the problem is, that the pie chart menu is blinded out. In the concerning variable column, there are no NA -Value (is.na) . Any

Re: [R] data.frame - how to calculate the number of rows

2007-12-27 Thread Agrarimmobilien
now it works again, length gave the same resultat as 'numrows'=as.numeric(table(df$A))) thanks for your help Macki - Original Message - From: "Henrique Dallazuanna" <[EMAIL PROTECTED]> To: "Agrarimmobilien" <[EMAIL PROTECTED]> Cc: Sent: Th

Re: [R] data.frame - how to calculate the number of rows

2007-12-26 Thread Agrarimmobilien
of this D, I got the following error message in german: <> <> has anybody an idea, what I can do ? On 26/12/2007, Agrarimmobilien <[EMAIL PROTECTED]> wrote: > Hello, > > I had to give some more information to my posting: > > as ouput there are m

Re: [R] data.frame - how to calculate the number of rows

2007-12-26 Thread Agrarimmobilien
Hello, I had to give some more information to my posting: as ouput there are more than one row, depending on the values of column A (transformierung to distinct values, here 3 and 4, but there are much more) >ABC > 1 3 6 5 > 2

[R] aggregation with two statistical functions - mean and variance

2007-12-24 Thread Agrarimmobilien
Hello, using the syntax aggregate(daten[,c(3,4)], list(A,B), mean) I'm getting the following data.frame: A BCD 1 351 6.16000 5 2 47131.24333 20 3 54126.81773 2 4 3 212.990