Naively, I would think all of the following should work, but only one does.
> jjplot(Sepal.Length ~ Petal.Length, data=iris)
Error in rhs[[1]] : object of type 'symbol' is not subsettable
Calls: jjplot -> .formula.apply -> stopifnot
> jjplot(Sepal.Length ~ point() + Petal.Length, data=iris)
WORKS
> jjplot(Sepal.Length ~ Petal.Length + point(), data=iris)
Error in eval(expr, envir, enclos) : could not find function "point"
Calls: jjplot -> .formula.apply -> eval -> eval
The ":" and "+" operators seem naturally to be symmetric, but looking at
?jjplot seems to imply they're not .... this seems like a potential stumbling
block for a beginner. If they have to be asymmetric, more error messages might
help.
Original issue reported on code.google.com by brenocon@gmail.com on 18 Aug 2010 at 6:13
Original issue reported on code.google.com by
brenocon@gmail.com
on 18 Aug 2010 at 6:13