Quantcast
Channel: DIAdem topics
Viewing all articles
Browse latest Browse all 3196

Create a new channel based on the comparsion of other two channels

$
0
0

Hi,

 

What I would like to do is to create a new channel based on the calculation of the other two channels.

 

if channel_1 >=12 AND channel_2 = 1, then channel_new = 1 else channel_new = 0.  But the bit I am stuck with is that I want Diadem to do this calculation for every single element in the channels being compared.  I tried to use a for loop but it takes very long for Diadem to do that.  So just wondering if there are functions in Diadem could perform the calculation in a quicker manner?

Thanks a lot

Regards,

Ahmed

 


Viewing all articles
Browse latest Browse all 3196

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>