Dear all, I was asked to send the following question: We have some (raw) observations and would like to get the first and second derivatives in R. Any comment would be appreciated. Thanks, Mahmoud