0
這是我對我的矩陣代碼:計算殘差R中
>physician<-matrix(c(6,22,42,23,61,127,2,3,54,1,12,43,1,12,31),byrow=T,ncol=3)
>dimnames(physician)<-list(specialty=c("Internal","Surgery","Radiotherapy","Oncology","Gynecology"),surgery=c("R","CR","C"))
>physician
我想知道如何計算殘差輸出爲我的基質,所以我可以推斷出「專業」之間的關聯的性質和「手術」。謝謝
你能更具體嗎? – darkage
是的,你到底想要什麼? – Ansjovis86