I am trying to plot two variables: Eeff vs Neff using xyplot function of lattice package. I would like to know how to add an line to this scatter plot (which is abline function in normal R graphic system).
xyplot(Neff ~ Eeff, data = phuong,
xlab = "Energy efficiency (%)",
ylab = "Nitrogen efficiency (%)")
See Question&Answers more detail:os