Hi

I've records like this
df=
x       panel
4       1
93      2
21      3
83      4
75      1
87      2
87      3
78      4
50      1
76      2
86      3
65      4
84      1
40      2
39      3
26      4


i want to create histogram out of it . i want all the mid and count values
for panel wise

my code is 
histoutput = ddply(df,.(df[2]),hist)

i'm not able to get the required result.

please help me
using for loop takes a lot of time if there are more records

-----
Thanks in Advance
        Arun
--
View this message in context: 
http://r.789695.n4.nabble.com/help-in-ddply-tp4528064p4528064.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to