My code won't knit in R Studio
<p>I am new to R studio and my professor gave us unknittable code. I have no idea how to fix it. Can someone please explain what the error message means and how I can fix it?</p>

<p>my code: </p>

<pre><code>```{r}
PlotSpecies &lt;- function(s, title="Species") {
s.table &lt;- table(s)
par(las=2)
barplot(s.table, names.arg=names(s.table), 
      horiz=TRUE, cex.names=0.5, main=title)
}
```

Error message: Error in parse(text + x, srcfile = src):
&lt;text&gt;:11:24: unexpected symbol 10: EW &lt;- rep(species,                                  endemic.woodland) 11: PlotSpecies(EW, title="Endemic ^ Calls: 
&lt;Anonymous&gt; ... evaluate -&gt; parse_all -&gt; parse_all.character -&gt; parse                                                  Execution halted
</code></pre>