matrix multiplication - multiply two non-na matrices in R, result is all-NA -


मेरे पास दो मैट्रिक्स हैं, ए और बी।

  sum (is.na (ए )) = 0 योग (is.na (B)) = 0  

लेकिन जब मैं उन्हें गुणा करता हूँ, परिणाम (एक 45x1 मैट्रिक्स) सभी एनए है

 < कोड> योग (is.na (A% *% B)) = 45  

कोई भी विचार? मैं अब डेटा अपलोड करने पर काम करूंगा, ताकि लोग रुचि ले सकें अगर लोग पुन: उत्पन्न कर सकें।


Comments

Popular posts from this blog

c# - Reactive Extensions ControlScheduler -

ios - How to determine if NSLayoutConstraint is horizontal or vertical? -

javascript - Enable/Disable form elements and changing the values of button at a time? -