Dear R users... I need to change the S+ code below to R code.
I am wondering if there is a R statement equivalent for "assign" statement in S-plus. -------------------------------------------------------- prime <- function(x) { 1*(abs(x) < chuber) } assign("prime",prime,frame=1) --------------------------------------------------------- Any comments will be greatly appreciated. Kathryn Lord -- View this message in context: http://www.nabble.com/%22assign%22-statement-in-S-Plus-tp21149319p21149319.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.