Martyn Sherriff wrote:

I am new to R and would be grateful if somebody could tell me how to access
the Bangdiwala statistic after an agreement plot.
Thanks,
Martyn


Martyn,
Since you didn't say so, I have to guess you are using package:vcd? If so, then ?agreementplot says:


<quote>
Value

Invisibly returned, a list with components

Bangdiwala      the unweighted agreement strength statistic
Bangdiwala.Weighted     the weighted statistic
weights         the weigtht vector used.
</quote>

So you should be able to do the following:

library(vcd)
data(SexualFun)
ap <- agreementplot(t(SexualFun))

ap$Bangdiwala

(Please read the posting guide.)

--sundar

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to