The data looks like this:
1,Case,Iter,Fusion,Type,Tanks,AFVs,ADAs,IFVs,UAVS,Unknown,Total, Latency, Decoys
,FalseNeg, FalsePos
32,A2,1,UE_Battle_Bde,TRUTH,0,0,0,0,0,0,0,0,0
32,A2,1,UE_Battle_Bde,PERCEIVED,0,0,0,0,0,0,0,0,0,0,0
32,A2,1,UE_Battle_Bde,FREQUENCIES,0,0,0,0,0
32,A2,1,UA1,TRUTH,0,0,0,0,0,0,0,0,0
32,A2,1,UA1,PERCEIVED,0,0,0,0,0,0,0,0,0,0,0
32,A2,1,UA1,FREQUENCIES,0,0,0,0,0
35,A2,1,UE_Battle_Bde,TRUTH,0,0,0,0,0,0,0,0,0
35,A2,1,UE_Battle_Bde,PERCEIVED,0,0,0,0,0,0,0,0,0,0,0
35,A2,1,UE_Battle_Bde,FREQUENCIES,0,0,0,0,0

Within the time steps (32 and 35 shown here), I am matching rows that share the same columns titled Case, Fusion and Type. Then, within each line that has the same Time, Case, Fusion and Type I am averaging all the other columns (0s here).


In reply to Re: Re: Tabulating Data Across Multiple Large Files by reds
in thread Tabulating Data Across Multiple Large Files by reds

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.