Posted By

reboltutorial on 04/23/10



Versions (?)

Apply a function to a serie

 / Published in: R


  1. change-all: func [
  2. "Change each value in the series by applying a function to it"
  3. series [series!]
  4. fn [function!] "Function that takes one arg"
  5. ][
  6. forall series [change series fn first series]
  7. ]

Report this snippet  

You need to login to post a comment.