title: using glmer for nested data
body: <p>I have data on the diversity of pathogens infecting a particular host species across latitudes. The design involved collecting 20 individuals at 3 sites within 4 locations of different latitudes, therefore I have 20 individuals, nested within 3 sites, nested within 4 locations.</p>
  
  <p>Given that my pathogen diversity data is count data with many zeros, which is why I have been exploring using using a GLMM with the <code>lme4::glmer</code> command in R to analyze the data. For the analysis I want to treat latitude as a numeric fixed factor and site as a random factor nested with location.</p>
  
  <p>For my full model I have set up my command as follows:</p>
  
  <pre><code>glmer(pathogen.richness~latitude+(site|location),data=my.data,
        family="poisson")
  </code></pre>
  
  <p>Is this the correct syntax for what I described?</p>
  
  <p>Thanks!</p>