Re: [R] question about calculating derivatives for vectors

2011-03-29 Thread Hans W Borchers
Mingwei Min mm809 at cam.ac.uk writes: Hi all, I am trying to calculating derivatives for vectors using R. I have a numerical vector, which is in time series manner and contains NAs. I want to know the changing rate throughout the whole time range. I am wondering if there is function in R

[R] question about calculating derivatives for vectors

2011-03-28 Thread Mingwei Min
Hi all, I am trying to calculating derivatives for vectors using R. I have a numerical vector, which is in time series manner and contains NAs. I want to know the changing rate throughout the whole time range. I am wondering if there is function in R can do this. In R references I only found

Re: [R] question about calculating derivatives for vectors

2011-03-28 Thread Ben Bolker
Mingwei Min mm809 at cam.ac.uk writes: I am trying to calculating derivatives for vectors using R. I have a numerical vector, which is in time series manner and contains NAs. I want to know the changing rate throughout the whole time range. I am wondering if there is function in R can do