>beetles</span>)
<span class='co'>## log transform the bettle data</span>
<span class='no'>beetles</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/Log.html'>log</a></span>(<span class='no'>beetles</span> + <span class='fl'>1</span>)
<span class='fu'><a href='https://rdrr.io/r/utils/data.html'>data</a></span>(<span class='no'>plants</span>)
<span class='co'>## fit the model</span>
<span class='no'>bp.sym</span> <span class='kw'>&lt;-</span> <span class='fu'>coca</span>(<