Question: So here is my RStudio code in R Markdown. ```{r} hurricanedata
So here is my RStudio code in R Markdown.
```{r}
hurricanedata <- read.csv("http://whitlockschluter.zoology.ubc.ca/wp-content/data/chapter11/chap11q21SoilLeadAndHurricanes.csv")
head(hurricanedata)
str(hurricanedata)
```{r, fig.width=4, fig.height=4}
hist(hurricanedata$LogRatio, right = FALSE, col = "firebrick", las = 1, main = "table")
```
```
The problem is that it indeed works but I have an error on the last line. It states error, unexpected token under las=1, main. It also mentions that I have Error attempt to use a zero length variable name. Please help me make my code correct.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
