title: ZOIB package syntax, one response variable and one fixed variable - r
body: <p>I believe I am having a syntax issue within the zoib r package. I am trying to model how a one-inflated proportional response variable (proportion eggs fertilized) changes with lineage male values (also proportional). I do not have any other fixed or random effects. I have tried many different syntax styles, but get the same two errors as below.</p>
  <pre><code>```&gt;zoib2 &lt;- zoib(prop_Eggs_Fertilized ~ LineageMale | LineageMale, data= subset(Fish_Totals, Laid_Eggs == &quot;Y&quot;), n.response=1, joint = FALSE, zero.inflation = FALSE, one.inflation = TRUE, random = 0, EUID= 1:nrow(d), link.mu = &quot;cloglog&quot;, link.x0 = &quot;cloglog&quot;, link.x1 = &quot;cloglog&quot;)```
  </code></pre>
  <blockquote>
  <blockquote>
  <p>[1] &quot;<strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><em>&quot; [1] &quot;</em> List of parameter for which the posterior samples are generated
  <em>&quot; [1] &quot;</em> b: regression coeff in the linear predictor for the mean of beta dist'n <em>&quot; [1] &quot;</em> d: regression coeff in the linear predictor for
  the sum of the two      <em>&quot; [1] &quot;</em>    shape parameters in the beta
  distribution                            <em>&quot; [1] &quot;</em> b0: regression coeff
  in the linear predictor for Prob(y=0)              <em>&quot; [1] &quot;</em> b1:
  regression coeff in the linear predictor for Prob(y=1)              <em>&quot;
  [1]
  &quot;</em></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong>&quot; Error in fixed1(y[, i], n, xmu.1, p.xmu, xsum.1, p.xsum, x1.1, p.x1,
  prior1[,  :    object 'x1.1' not found</p>
  </blockquote>
  </blockquote>
  <p>OR</p>
  <pre><code>```&gt; zoib2 &lt;- zoib(prop_Eggs_Fertilized ~ LineageMale + 1, data= subset(Fish_Totals, Laid_Eggs == &quot;Y&quot;), n.response=1, joint = FALSE, zero.inflation = FALSE, one.inflation = TRUE, random = 0, EUID= 1:nrow(d), link.mu = &quot;cloglog&quot;, link.x0 = &quot;cloglog&quot;, link.x1 = &quot;cloglog&quot;)```
  </code></pre>
  <blockquote>
  <blockquote>
  <p>Error in zoib(prop_Eggs_Fertilized ~ LineageMale + 1, data = subset(Fish_Totals,  :    please re-specify the model In addition:
  Warning messages: 1: In zoib(prop_Eggs_Fertilized ~ LineageMale + 1,
  data = subset(Fish_Totals,  :   The right side of the model should
  have at least two parts; 2: In zoib(prop_Eggs_Fertilized ~ LineageMale</p>
  </blockquote>
  <ul>
  <li>1, data = subset(Fish_Totals,  :   or two link functions, one for the mean of beta distribution 3: In zoib(prop_Eggs_Fertilized ~
  LineageMale + 1, data = subset(Fish_Totals,  :   alpha/(alpha+beta)
  and one for the sum (alpha+beta)</li>
  </ul>
  </blockquote>
  <p>TIA for your help.</p>