[R] specific matrix element tranformation

R. Michael Weylandt michael.weylandt at gmail.com
Sat Aug 18 08:03:42 CEST 2012


Please do include context.

"name assignment" can mean a few things:

i) Adding a "name" attribute can be done with names(x) <- _whatever_
ii) Assigning to an object name should be done outside the function,
not within it:

x <- myLongFunc(...)

Cheers,
Michael

On Fri, Aug 17, 2012 at 9:04 PM, bantex <bantexmutation at hotmail.com> wrote:
> Thanks David. I have actually 1 more question. How do I assign a name to the
> output created by this function?
>
> Cheers,
> B
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/specific-matrix-element-tranformation-tp4640550p4640680.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.




More information about the R-help mailing list