Skip to content
Prev 156847 / 398506 Next

plot error

HI there,

why these lines of code are correct
plot(count~spray, data = InsectSprays)
plot(InsectSprays$count)

but this return an error:
plot(count, data = InsectSprays);

"data" method is not implemented in plot?!
Thanx, Gianandrea