Description Usage Arguments Value Examples
string2formula
add square brackets to expressions.
Reverse of formula2string. Convert par[2] <- par2, sigma[2] <- sigma_2_, sigma[2,3] <- sigma_2x2
1 |
x |
String without square brackets. |
String with square brackets.
1 2 3 | xx <- "par[1]*3+par[2]*par+rho1[1,2]+sigma1[2]"
xm <- formula2string(xx)
string2formula(xm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.