title: Error in optim(start, nllh, ..., method = method) : non-finite value supplied by optim
body: <p>I run my codding like this
  But the error come out
  <br><code>Ozone&lt;-Z &lt;br&gt; Ozone &lt;br&gt; LonLatAlt&lt;-data.matrix(OzoneLotLatAlt_NSG1) &lt;br&gt; LonLatAlt &lt;br&gt; form.loc &lt;- loc ~ Long + Lat + Alt &lt;br&gt; form.scale &lt;- scale ~ 1 &lt;br&gt; form.shape &lt;- shape ~ 1 &lt;br&gt; dim(Ozone) &lt;br&gt; dim(LonLatAlt) &lt;br&gt; fit1 &lt;- fitspatgev(Z,scale(LonLatAlt,scale = FALSE),form.loc,form.scale,form.shape);fit1 &lt;br&gt; TIC(fit1)</code></p>
  <p>error</p>
  <pre><code>Error in optim(start, nllh, ..., method = method) :    non-finite value supplied by optim
  </code></pre>
  <p>how can i solve it?</p>
  <p>thank you</p>