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 "NA"s. 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 functions for calculating derivatives of expressions. [attribution pruned to fool Gmane]
?diff ? ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.