title: How does glmnet's standardize argument handle dummy variables?
body: <p>In my dataset I have a number of continuous and dummy variables. For analysis with glmnet, I want the continuous variables to be standardized but not the dummy variables.</p>
  
  <p>I currently do this manually by first defining a dummy vector of columns that have only values of [0,1] and then using the <code>scale</code> command on all the non-dummy columns. Problem is, this isn't very elegant.</p>
  
  <p>But glmnet has a built in <code>standardize</code> argument. By default will this standardize the dummies too? If so, is there an elegant way to tell glmnet's <code>standardize</code> argument to skip dummies?</p>