title: (list) object cannot be coerced to type 'double'
body: <p>I just started the package <code>SIS</code> in R. I use their test data set an get an error. I am quite sure there is a problem.</p>
  
  <pre><code>install.packages("SIS",dependencies=T)
  library(SIS)
  data(prostate.test)
  </code></pre>
  
  <p>I then try to use the function <code>SIS</code>, which has as input</p>
  
  <pre><code>SIS(x, y, family = c("gaussian","binomial","poisson","cox"),
      penalty=c("SCAD","MCP","lasso"), concavity.parameter =
      switch(penalty, SCAD=3.7, 3), tune = c("cv","aic","bic","ebic"),
      nfolds = 10, type.measure = c("deviance","class","auc","mse",
      "mae"), gamma.ebic = 1, nsis = NULL, iter = TRUE, iter.max =
      ifelse(greedy==FALSE,10,floor(nrow(x)/log(nrow(x)))), varISIS =
      c("vanilla","aggr","cons"), perm = FALSE, q = 1, greedy = FALSE,
      greedy.size = 1, seed = 0, standardize = TRUE)
  </code></pre>
  
  <p>where x is the design matrix, of dimensions n * p, without an intercept. Each row is an observation vector and y the response vector of dimension n * 1.  I format their test data (the last column is the response)</p>
  
  <pre><code>prostate.test-&gt;k
  k[,-dim(k)[2]]-&gt;k1
  k[,dim(k)[2]]-&gt;k11
  SIS(k1,k11)
  </code></pre>
  
  <p>then I get <code>Error in storage.mode(x) = "numeric" : 
    (list) object cannot be coerced to type 'double'</code></p>
  
  <p>Could somebody tell me how I can avoid that error?</p>