Displaying 1 result from an estimated 1 matches for "exprtext".
Did you mean:
exprtest
2010 Aug 02
1
Convert an expression to a function
Hi John,
Here is my code practicing. Please give me some advises. Thank you.
Wu Gong
# Extract the function string
f.str <- sub("y~","",exprtext)
# Get arglist from the text
sp1 <- paste("\\",c(getGroupMembers(Arith),"(",")"),sep="")
sp2 <- getGroupMembers(Math)
sps <- paste(c(sp1,sp2),sep="",collapse="|")
agl <- gsub("^[0123456789]+$","",strsplit(f....