| par_delete | R Documentation |
This function deletes all parenthesis from a character vector that has a numeric value inside. This is applicable as THETA(n), ETA(n), DADT(n) is not always allowed in R coding
par_delete(vect, excfun = TRUE)
vect |
the vector that should be scanned for parenthesis |
excfun |
exclude functions from deleting parenthesis (taken from the globally defined function list in the package) |
a vector with the stripped parenthesis
Richard Hooijmaijers
par_delete(c("LOG(1)","ETA(1)","EXP(2)/ETA(3)+THETA(4)"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.