In this report we test for the relationship between different parts of morphology in Iris flowers
Analyses are based on built-in data for three Iris species. We used linear regression to test for relationships.
#Plot the iris data for length and width
# if you don't want to show your code only the plot you can type:
#```{r echo = FALSE}
plot(x = iris$Petal.Length,
y = iris$Petal.Width,
xlab = "Petal length (cm)",
ylab = "Petal width (cm)")
We tested the relationship between petal length and petal width with linear regression
length.v.width <- lm(iris$Petal.Length ~ iris$Petal.Width)
model.summary<- summary (length.v.width)
#model.summary after it won't print the summary of the test
Petal width and petal length were highly correlated (r2 = 1).
#This is bad code, you can use eval to show the code but not run it.
plot(xlab= "no data")
```