Skip to content
Prev 165418 / 398506 Next

"assign" statement in S-Plus

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