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 Dr. Martyn Sherriff Senior Lecturer, Dental Biomaterials Science, GKT Dental Institute, Floor 17, Guy's Tower, London Bridge, London SE1 9RT e-mail: martyn.sherriff at kcl.ac.uk Tel. +44(0)-2071-881822 Fax. +44(0)-2071-881823 Departmental Home Page: tinyurl.com/2eotw Personal Home Page: tinyurl.com/kgkd Youth Rugby: fullerians.demon.co.uk "The difference between winners and losers is that winners tell the jokes and the losers talk about the run of the ball." "It's not over until the fat man whistles."
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