MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

List Manipulation- Advanced beginner question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121470] List Manipulation- Advanced beginner question
  • From: Nguyen Van Falk <nvanfalk at gmail.com>
  • Date: Fri, 16 Sep 2011 05:48:20 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

I am trying to add multiple lists together and am looking for some
guidance. My data is in the form of multiple time series, with dates
that overlap one another. I need to merge the lists, add all of the
values together  for the dates that overlap and output a single list
that only has one entry for each date.

For example, if I have three values for September 15 (8,14,10), I only
want a single entry for September 15 in the final list with a value of
32. The data is in standard date spec form: { {{Date 1}, Value 1},
{{Date 2}, Value 2},  {{Date 3}, Value 3}, ....... {{Date n}, Value
n}, }.


Thanks,

NVF




  • Prev by Date: Re: Will it be a problem to include the mathematica plots in conference
  • Next by Date: Re: applying a real texture in Mathematica
  • Previous by thread: Nonlinearregress with symbolic partial differential equation and integration
  • Next by thread: Re: List Manipulation- Advanced beginner question