R is not only a great programming tool for analysing statistics-based data; its graphing capabilities are wide-ranging and in many cases rival traditional packages such as SPSS and STATA. In the case of functions, we see that we can use […]
Continue reading »Tag: rstudio
Differentiation, One-Dimensional, and Multi-Dimensional Integration in R
The following illustrates how one can calculate first-order derivatives, one-dimensional and multi-dimensional integrals using the R software: Differentiation fx = expression(x^2+2*x+3, ‘x’) D(fx , ‘x’) 2 * x + 2 fy = expression((z^3)+(2*z^2)+3, ‘z’) D(fy , ‘z’) 3 * […]
Continue reading »