title: How to figure out the parameters from mppm in R
body: <p>I am working using the <strong>spatstat</strong> library in <strong>R</strong>.</p>
  <p>I have several point pattern objects built from my own <code>dataset</code>. The point patterns contain only the x and y coordinates of the points in them. I wanted to fit the point patterns to a <strong>Gibbs process</strong> with <strong>Strauss interaction</strong> to build a model and simulate similar point patterns. I was able to use <strong>ppm</strong> function for that purpose if I work with one point pattern at a time. I used <strong>rmhmodel</strong> function on the ppm object returned from the <code>ppm</code> function. The <code>rmhmodel</code> function gave me the parameters <code>beta</code>, <code>gamma</code> and <code>r</code>, which I needed to use in <strong>rStrauss</strong> function further to simulate new point patterns. FYI, I am not using the <strong>simulate</strong> function directly as I want the new simulated point pattern to have flexible number of points that simulate does not give me.</p>
  <p>Now, if I want to work with all the point patterns I have, I can build a <code>hyperframe</code> of point patterns as described in the <strong>replicated point pattern</strong> chapter of the <code>Baddeley</code> textbook, but it requires <strong>mppm</strong> function instead of ppm function to fit the model and <code>mppm</code> is not working with <code>rmhmodel</code> when I am trying to figure out the model parameters <code>beta</code>, <code>gamma</code> and <code>r</code>.</p>
  <p><strong>How can I extract the fitted <code>beta</code>, <code>gamma</code> and <code>r</code> from a <code>mppm</code> object?</strong></p>