I
2012-Dec-09 13:03 UTC
[R] How can I cite the result of a symbolic calculation when defining a function?
For example,> library(orthopolynom)> A<- chebyshev.s.polynomials( 2, normalized=FALSE)and A is a list of the Chebyshev polynomials with degree 0, 1 and 2. I want to define a function s.t.f(x)=T0(x)+T1(x)+2*T2(x)where T0,T1,T2 are the Chebyshev polynomials with degree 0, 1 and 2, respectively. Or > D(expression(sin(x^2)), "x")cos(x^2) * (2 * x)I want to define the first order derivative function of sin(x^2). Is there any way I can cite the outcomes directly instead of copy and paste the results manually? [[alternative HTML version deleted]]