diff function calculate difference between successive data, hence for n data of x and y , the result of diff(y)./diff(x) is (n-1) data number. How can I get n data number of diff(y)./diff(x) ? 

Similar questions and discussions