HI,
May be this helps:
Please use ?dput() to show the example dataset
dat1 <- read.table(text="Categories Variable Frequencies
1 0.009 1003
1 0.867 1200
1 0.567 987
1 0.765 134
1 0.445 890
2 0.007 899
2 0.768 707
2 0.789 865
2 0.544 678
2 0.987 889",sep="",
() function:
?aggregate
David Carlson
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of Nandini
Jayakumar
Sent: Tuesday, December 24, 2013 4:36 AM
To: r-help@r-project.org
Subject: [R] Mean: category wise within a data frame
Hello all
I
Hello all
I have a table a sample of which is as follows:
Categories
Variable (x)
3 matches
Mail list logo