[R] difference between <- and =

Thomas Petzoldt thpe at hhbio.wasser.tu-dresden.de
Fri Aug 29 18:31:19 CEST 2003


Levi Larkey schrieb:
> Hi,
> 
> I'm somewhat new to R and I'm trying to figure out the difference 
> between the operators <- and =.

<- is an assignement operator
=  is primarily used for named arguments

Some thoughts about the use of = as assignement operator can be found on:

http://developer.r-project.org/equalAssign.html

Thomas




More information about the R-help mailing list