how to calculate dissimilarity in R without using function? -


मेरे पास निम्न के रूप में डेटा है:

  वर्ग atrribute1 attribute2 attribute3 1 21362 97 437 1 312312 3123 341 2 9 7 9 7 7227 112 3 8398 333 333   

मैंने trity1,2,3 पर आधारित class की असमानता गणना करने की कोशिश की और एक 3x3 असमानता मैट्रिक्स उत्पादन करने के लिए मान लीजिए।

मैंने ऑनलाइन जाँच की है बहुत सी कार्य है, लेकिन कोई भी इस तरह के डेटा से निपटने में नहीं है क्या कोई मदद कर सकता है?

आप प्रत्येक वर्ग के सभी टिप्पणियों में औसत विशेषता मानों की गणना कर सकते हैं और फिर गणना कर सकते हैं वर्गों के बीच जोड़ों की दूरी:

  # एकत्रित डेटा एकत्रित करने के लिए बस (। ~ वर्ग, डेटा = दिनांक, माध्य) # वर्ग atrribute1 attribute2 attribute3 # 1 1 166837 1610 389 # 2 2 97987 7227 112 # 3 3 8398 333 333 # गणना की दूरी पर दूरी (कुल (~ वर्ग, डेटा = दिनांक, माध्य) [2: 4], डायग = टी, ऊपरी = टी) # 1 2 3 # 1 0.00 69079.30 158444.16 # 2 69079.30 0.00 89854.13 # 3 158444.16 89854.13 0.00    

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -