Re: [R] concatenating text within a function

2016-10-01 Thread David Winsemius
> On Oct 1, 2016, at 7:45 AM, L... L... wrote: > > Dear all, I have the following variables: > fc<- quote(sqrt(2) * pi ^ (-0.1e1 / 0.2e1) * (x / theta) ^ alpha * > alpha / x * exp(-(x / theta) ^ (2 * alpha) / 2)) > and > d2 <- D(D(fc, "alpha"), "alpha") > I would like to create a func

[R] concatenating text within a function

2016-10-01 Thread L... L...
Dear all, I have the following variables: fc <- quote(sqrt(2) * pi ^ (-0.1e1 / 0.2e1) * (x / theta) ^ alpha * alpha / x * exp(-(x / theta) ^ (2 * alpha) / 2)) and d2 <- D(D(fc, "alpha"), "alpha") I would like to create a function formed by the product of fc and d2. I tried: fcd2 <- func