title: delta- lognormal GLM
body: <p>I am trying to model a distribution using a delta-lognormal GLM. My data are abundance (continuous variable with approximately 10%  zeros ) and a series of explanatory variables, but so far I am trying with one at a time.</p>
  
  <pre><code>head(data.file)
  
  DENSITY    DEPTH  LONGITUDE LATITUDE  ...(ncol=8)
  
  14.029843    172   9.325000  41.97000    
   8.557391    251   9.367333  42.33000  
  17.235731    251   9.367333  42.33000    
  37.262910    146   9.159500  42.30300    
  19.829688    185   9.238333  42.31900   
  ... (nrow=12000)
  </code></pre>
  
  <p>I have only found one package that provides this kind of analysis, <code>fishMod</code>. I tried the <code>deltaLN()</code> command with the following result.</p>
  
  <pre><code>deltaLN(DENSITY ~ DEPTH, ~DEPTH, data=data.file)
  </code></pre>
  
  <blockquote>
    <p>Error in deltaLN(DENSITY ~ DEPTH, ~DEPTH, data=data.file) : dims [product 12000] do not match the length of object [0]</p>
  </blockquote>
  
  <p>Any idea what this error stands for and how to amend it? 
  Otherwise, do you know about some other package which provides the delta-lognormal GLM?</p>