1

I have a bunch of data points that depict the frequency (no unit) at different times (seconds). I have several of these for different parts of a cell. I need to be able to compute the derivatives of each point in each column for all the data using R. Is this possible? Can someone point me in the right direction?

Please let me know if I am not being specific enough.

Thanks

Rose Clan
  • 11
  • 1
  • A first attempt would use `diff(x) / diff(time)`, though that's length 1 shorter than the original data, and it is biased either left or right, not "centered" as gradients often are. – r2evans Aug 06 '20 at 18:15
  • [This question](https://stackoverflow.com/questions/11081069/calculate-the-derivative-of-a-data-function-in-r) has some useful answers. – Alexlok Aug 06 '20 at 19:00

0 Answers0