0

I have been reading the "R Language Definition" PDF file downloaded from here. And on page 11 I read this:

page 11 of the pdf file

I wonder what is the difference between the attr and the attr<-. Thanks a lot.

Forester
  • 135
  • 5

1 Answers1

1

"attr" get specific attributes of an object.

"attr<-" an object, the new value of the attribute, or NULL to remove the attribute.

iamericfletcher
  • 2,529
  • 6
  • 17