title: Use of $ and %% operators in R
body: <p>I have been working with R for about 2 months and have had a little bit of trouble getting a hold of how the <code>$</code> and <code>%%</code> terms.</p>
  
  <p>I understand I can use the <code>$</code> term to pull a certain value from a function (e.g. <code>t.test(x)$p.value</code>), but I'm not sure if this is a universal definition.  I also know it is possible to use this to specify to pull certain data.</p>
  
  <p>I'm also curious about the use of the <code>%%</code> term, in particular, if I am placing a value in between it (e.g. %x%)  I am aware of using it as a modulator or remainder e.g. <code>7 %% 5</code> returns <code>2</code>.  Perhaps I am being ignorant and this is not real?</p>
  
  <p>Any help or links to literature would be greatly appreciated.</p>
  
  <p>Note:  I have been searching for this for a couple hours so excuse me if I couldn't find it!</p>