search for: a__1

Displaying 1 result from an estimated 1 matches for "a__1".

Did you mean: __1
2006 Aug 15
0
Help with workaround for: Function '`[`' is not in thederivatives table
...paste(Ident, "\\[", Subsc, "\\]", sep = "") > repl <- "\\1__\\2" > E <- expression(A[1] * exp(A[2]*X) + A[3]) > Es <- deparse(E[[1]]) > Es [1] "A[1] * exp(A[2] * X) + A[3]" > Ess <- gsub(patn, repl, Es) > Ess [1] "A__1 * exp(A__2 * X) + A__3" > Ex <- parse(text = Ess)[[1]] > Ex A__1 * exp(A__2 * X) + A__3 OK, the calls to `[` have been replaced by variables with two underscores in the middle. We hope this works - there is a strong assumption here on just how complicated your indices are, for examp...