title: R - converting image color values to integer values
body: <p>I am using <code>readJPEG</code> function to read a <code>jpeg</code> image which results in an R matrix with values between 0 and 1.  </p>
  
  <p>Is there a way to convert these to integer values between 0 and 255?</p>